cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Cayenne Documentation > Tutorial
Date Sun, 20 Dec 2009 16:47:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=CAYDOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/CAYDOC/Tutorial">Tutorial</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~andrus">Andrus
Adamchik</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <h2><a name="Tutorial-Tutorial"></a>Tutorial</h2>

<p>This is a step-by-step tutorial showing how to write a database application with
Cayenne. When you are done with it, you should have an understanding of the basics of object-relational
mapping using CayenneModeler and how to use the Cayenne framework in standalone (command-line
or otherwise) and web applications. The tutorial uses Maven, Eclipse IDE and Derby database,
however it can be easily recreated with another database, IDE or build system of choice.</p>

<p>Full tutorial source code in a form of Eclipse project is distributed with Cayenne
(see <tt>"src/tutorials/quick-start"</tt> folder).</p>

<h3><a name="Tutorial-Sections"></a>Sections</h3>

<ol>
	<li><a href="/confluence/display/CAYDOC/Tutorial+Setup" title="Tutorial Setup">Setting
up the environment...</a></li>
	<li>Learning mapping basics
	<ol>
		<li><a href="/confluence/display/CAYDOC/Tutorial+Starting+Mapping+Project" title="Tutorial
Starting Mapping Project">Starting mapping project...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+Object+Relational+Mapping" title="Tutorial
Object Relational Mapping">Getting started with Object Relational Mapping (ORM)...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+Generate+Database+and+Java+Classes"
title="Tutorial Generate Database and Java Classes">Creating database schema and Java classes...</a></li>
	</ol>
	</li>
	<li>Learning Cayenne API
	<ol>
		<li><a href="/confluence/display/CAYDOC/Tutorial+DataContext" title="Tutorial DataContext">Getting
started with DataContext...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+DataObjects" title="Tutorial DataObjects">Getting
started with persistent objects...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+Mapping+Query" title="Tutorial
Mapping Query">Cleaning up the database on startup...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+SelectQuery" title="Tutorial SelectQuery">Selecting
objects...</a></li>
		<li><a href="/confluence/display/CAYDOC/Tutorial+Delete" title="Tutorial Delete">Deleting
objects...</a></li>
	</ol>
	</li>
	<li><a href="/confluence/display/CAYDOC/Tutorial+Webapp" title="Tutorial Webapp">Converting
to web application...</a></li>
</ol>

     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/CAYDOC/Tutorial">View Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=10576&revisedVersion=19&originalVersion=18">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/CAYDOC/Tutorial?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message