blob: cfc191b42354a1b1fec5efd7ceecabba6db303aa [file] [log] [blame]
Title: Quick Start
<P>This chapter provides a step-by-step tutorial on writing a full database application with Cayenne. When you are done with it, you should have an understanding of the basics of object relational mapping with CayenneModeler and how to use Cayenne in standalone (command line or otherwise) and web applications. The tutorial uses the Eclipse IDE (since it is free and very common) and Derby database (since it supports embedded mode and thus requires zero setup), however it can be easily applied to any other database and/or IDE's.</P>
<P>Full tutorial source code in a form of Eclipse project is distributed with Cayenne (see <TT>&quot;src/tutorials/quick-start&quot;</TT> folder).</P>
<H3><A name="QuickStart-TutorialContents"></A>Tutorial Contents</H3>
<UL>
<LI><A href="tutorial-setup.html" title="Tutorial Setup">Setting up the environment...</A></LI>
</UL>
<UL>
<LI>Learning mapping basics
<UL>
<LI><A href="tutorial-starting-mapping-project.html" title="Tutorial Starting Mapping Project">Starting mapping project...</A></LI>
<LI><A href="tutorial-object-relational-mapping.html" title="Tutorial Object Relational Mapping">Getting started with Object Relational Mapping (ORM)...</A></LI>
<LI><A href="tutorial-generate-database-and-java-classes.html" title="Tutorial Generate Database and Java Classes">Creating database schema and Java classes...</A></LI>
</UL>
</LI>
</UL>
<UL>
<LI>Learning Cayenne API
<UL>
<LI><A href="tutorial-datacontext.html" title="Tutorial DataContext">Getting started with DataContext...</A></LI>
<LI><A href="tutorial-dataobjects.html" title="Tutorial DataObjects">Getting started with persistent objects...</A></LI>
<LI><A href="tutorial-mapping-query.html" title="Tutorial Mapping Query">Cleaning up the database on startup...</A></LI>
<LI><A href="tutorial-selectquery.html" title="Tutorial SelectQuery">Selecting objects...</A></LI>
<LI><A href="tutorial-delete.html" title="Tutorial Delete">Deleting objects...</A></LI>
</UL>
</LI>
</UL>
<UL>
<LI><A href="tutorial-webapp.html" title="Tutorial Webapp">Converting to web application...</A></LI>
</UL>