The starting point of this tutorial is a web application that was created in the Quick Start tutorial. If you went through the Quick Start tutorial already ignore these instructions and proceed to the next chapter. If you skipped it and want to start with Remote Object Persistence right away, below is a brief overview of the setup prerequisites.
Setup from Scratch
- Install Eclipse with JettyLauncher plugin, Jetty web container and Derby database. See these two pages for details: Tutorial Setup, Tutorial Webapp.
- Import "cayenne-tutorial" project to Eclipse. It is located under "src/tutorials/quick-start" folder in Cayenne distribution.
- Start CayenneModeler and add derby.jar to the modeler CLASSPATH. Open "cayenne-tutorial/src/cayenne.xml" in CayenneModeler and generate a database schema (skip the Java class generation part, just do the database).
Next Step: Remote Object Persistence Tutorial Client Project