Modified: cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/rop-setup.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/rop-setup.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/rop-setup.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/rop-setup.html Fri 
Oct  6 07:40:21 2017
@@ -9,4 +9,4 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;14.&nbsp;ROP Setup</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="introduction-to-rop.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part3.html">Part&nbsp;III.&nbsp;Cayenne Framework - Remote 
Object Persistence </a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" 
href="implementing-rop-server.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="rop-setup"></a>Chapter&nbsp;14.&nbsp;ROP Setup</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="section"><a href="rop-setup.html#rop-system-requirem
 ents">System Requirements</a></span></dt><dt><span class="section"><a 
href="rop-setup.html#rop-jar-files-dependencies">Jar Files and 
Dependencies</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="rop-system-requirements"></a>System 
Requirements</h2></div></div></div></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="rop-jar-files-dependencies"></a>Jar Files and 
Dependencies</h2></div></div></div></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="introduction-to-rop.html">Prev</a>&nbsp;</td><td width="20%" 
align="center"><a accesskey="u" href="cayenne-guide-part3.html">Up</a></td><td 
width="40%" align="right">&nbsp;<a accesskey="n" 
href="implementing-rop-server.html">Next</a></td></tr><tr><td width="40%" 
align="left" valign="top">Chapter&nbsp;13.&nbsp;Introduction to 
ROP&nbsp;</td><td width="20%" align
 ="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" 
align="right" valign="top">&nbsp;Chapter&nbsp;15.&nbsp;Implementing ROP 
Server</td></tr></table></div></body></html>
\ No newline at end of file
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;14.&nbsp;ROP Setup</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="introduction-to-rop.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part3.html">Part&nbsp;III.&nbsp;Cayenne Framework - Remote 
Object Persistence </a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" 
href="implementing-rop-server.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="rop-setup"></a>Chapter&nbsp;14.&nbsp;ROP Setup</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="section"><a href="rop-setup.html#rop-system-requirem
 ents">System Requirements</a></span></dt><dt><span class="section"><a 
href="rop-setup.html#rop-jar-files-dependencies">Jar Files and 
Dependencies</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="rop-system-requirements"></a>System 
Requirements</h2></div></div></div></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="rop-jar-files-dependencies"></a>Jar Files and 
Dependencies</h2></div></div></div></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="introduction-to-rop.html">Prev</a>&nbsp;</td><td width="20%" 
align="center"><a accesskey="u" href="cayenne-guide-part3.html">Up</a></td><td 
width="40%" align="right">&nbsp;<a accesskey="n" 
href="implementing-rop-server.html">Next</a></td></tr><tr><td width="40%" 
align="left" valign="top">Chapter&nbsp;13.&nbsp;Introduction to 
ROP&nbsp;</td><td width="20%" align
 ="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" 
align="right" valign="top">&nbsp;Chapter&nbsp;15.&nbsp;Implementing ROP 
Server</td></tr></table></div></body></html>
\ No newline at end of file

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/service-collections.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/service-collections.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- 
cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/service-collections.html 
(original)
+++ 
cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/service-collections.html 
Fri Oct  6 07:40:21 2017
@@ -9,10 +9,10 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Appendix&nbsp;B.&nbsp;Service 
Collections</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="configuration-properties.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="expressions-bnf.html">Next</a></td></tr></table><hr></div><div 
class="appendix"><div class="titlepage"><div><div><h1 class="title"><a 
name="service-collections"></a>Appendix&nbsp;B.&nbsp;Service 
Collections</h1></div></div></div><p>Note that the collection keys below are
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Appendix&nbsp;B.&nbsp;Service 
Collections</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="configuration-properties.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="expressions-bnf.html">Next</a></td></tr></table><hr></div><div 
class="appendix"><div class="titlepage"><div><div><h1 class="title"><a 
name="service-collections"></a>Appendix&nbsp;B.&nbsp;Service 
Collections</h1></div></div></div><p>Note that the collection keys below are
                 defined as constants in <code 
class="code">org.apache.cayenne.configuration.Constants</code>
                 interface.</p><p>
-        </p><div class="table"><a name="d0e4094"></a><p 
class="title"><b>Table&nbsp;B.1.&nbsp;Service Collection Keys Present in 
ServerRuntime and/or ClientRuntime</b></p><div class="table-contents"><table 
frame="void"><col width="42%"><col width="25%"><col width="33%"><thead><tr>
+        </p><div class="table"><a name="d0e4780"></a><p 
class="title"><b>Table&nbsp;B.1.&nbsp;Service Collection Keys Present in 
ServerRuntime and/or ClientRuntime</b></p><div class="table-contents"><table 
frame="void"><col width="42%"><col width="25%"><col width="33%"><thead><tr>
                     <th>Collection Property</th>
                     <th>Type</th>
                     <th>Description</th>

Modified: cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/setup.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/setup.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/setup.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/setup.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Setup</th><th></th></tr><tr><td width="20%" 
align="left"><a accesskey="p" 
href="cayenne-guide-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part1.html">Part&nbsp;I.&nbsp;Object Relational Mapping 
with Cayenne</a></th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="cayenne-mapping-structure.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="setup"></a>Chapter&nbsp;1.&nbsp;Setup</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="section"><a href="setup.html#system-requirements">System 
Requirements</a><
 /span></dt><dt><span class="section"><a 
href="setup.html#running-cayennemodeler">Running 
CayenneModeler</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="system-requirements"></a>System Requirements</h2></div></div></div><p>
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Setup</th><th></th></tr><tr><td width="20%" 
align="left"><a accesskey="p" 
href="cayenne-guide-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part1.html">Part&nbsp;I.&nbsp;Object Relational Mapping 
with Cayenne</a></th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="cayenne-mapping-structure.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="setup"></a>Chapter&nbsp;1.&nbsp;Setup</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="section"><a href="setup.html#system-requirements">System 
Requirements</a><
 /span></dt><dt><span class="section"><a 
href="setup.html#running-cayennemodeler">Running 
CayenneModeler</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="system-requirements"></a>System Requirements</h2></div></div></div><p>
             </p><div class="itemizedlist"><ul class="itemizedlist" 
type="disc"><li class="listitem"><p><span class="italic">Java</span>: Cayenne 
runtime framework and
                         CayenneModeler GUI tool are written in 100% Java, and 
run on any
                         Java-compatible platform. Minimal required JDK version 
depends on the
@@ -19,9 +19,13 @@
                                     <th>Java Version</th>
                                     <th>Status</th>
                                 </tr><tr>
+                                    <td>4.1</td>
+                                    <td>Java 1.8 or newer</td>
+                                    <td>Development</td>
+                                </tr><tr>
                                     <td>4.0</td>
                                     <td>Java 1.7 or newer</td>
-                                    <td>Alpha (in development)</td>
+                                    <td>Beta</td>
                                 </tr><tr>
                                     <td>3.1</td>
                                     <td>Java 1.5 or newer</td>
@@ -75,14 +79,14 @@
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;plugin&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;groupId&gt;</span>org.apache.cayenne.plugins<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/groupId&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;artifactId&gt;</span>cayenne-modeler-maven-plugin<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/artifactId&gt;</span>
-            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B1<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
+            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B2<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;/plugin&gt;</span>
     <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;/plugins&gt;</span>
 <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;/build&gt;</span></pre><p>
         </p><p>And then can be run as
             </p><pre class="screen"><code class="prompt">$</code> mvn 
cayenne-modeler:run</pre><p>
         </p><p>
-        </p><div class="table"><a name="d0e171"></a><p 
class="title"><b>Table&nbsp;1.2.&nbsp;modeler plugin parameters</b></p><div 
class="table-contents"><table frame="void"><col width="14%"><col 
width="7%"><col width="79%"><thead><tr>
+        </p><div class="table"><a name="d0e182"></a><p 
class="title"><b>Table&nbsp;1.2.&nbsp;modeler plugin parameters</b></p><div 
class="table-contents"><table frame="void"><col width="14%"><col 
width="7%"><col width="79%"><thead><tr>
                     <th>Name</th>
                     <th>Type</th>
                     <th>Description</th>

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/starting-cayenne.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/starting-cayenne.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/starting-cayenne.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/cayenne-guide/starting-cayenne.html 
Fri Oct  6 07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;5.&nbsp;Starting Cayenne</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="including-cayenne-in-project.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part2.html">Part&nbsp;II.&nbsp;Cayenne 
Framework</a></th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="persistent-objects-objectcontext.html">Next</a></td></tr></table><hr></div><div
 class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="starting-cayenne"></a>Chapter&nbsp;5.&nbsp;Starting 
Cayenne</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="starting-cayenne.html#start
 ing-serverruntime">Starting and Stopping 
ServerRuntime</a></span></dt><dt><span class="section"><a 
href="starting-cayenne.html#d0e1518">Merging Multiple 
Projects</a></span></dt><dt><span class="section"><a 
href="starting-cayenne.html#webapps">Web 
Applications</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="starting-serverruntime"></a>Starting and Stopping 
ServerRuntime</h2></div></div></div><p>In runtime Cayenne is accessed via
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;5.&nbsp;Starting Cayenne</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="including-cayenne-in-project.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="cayenne-guide-part2.html">Part&nbsp;II.&nbsp;Cayenne 
Framework</a></th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="persistent-objects-objectcontext.html">Next</a></td></tr></table><hr></div><div
 class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="starting-cayenne"></a>Chapter&nbsp;5.&nbsp;Starting 
Cayenne</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="starting-cayenne.html#start
 ing-serverruntime">Starting and Stopping 
ServerRuntime</a></span></dt><dt><span class="section"><a 
href="starting-cayenne.html#d0e1529">Merging Multiple 
Projects</a></span></dt><dt><span class="section"><a 
href="starting-cayenne.html#webapps">Web 
Applications</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="starting-serverruntime"></a>Starting and Stopping 
ServerRuntime</h2></div></div></div><p>In runtime Cayenne is accessed via
                 <code 
class="code">org.apache.cayenne.configuration.server.ServerRuntime</code>. 
ServerRuntime is
             created by calling a convenient builder:
             </p><pre class="programlisting">ServerRuntime runtime = 
ServerRuntime.builder()
@@ -33,7 +33,7 @@ ServerRuntime runtime = ServerRuntime.bu
             a runtime object has the same scope as the application, this may 
not be always
             necessary, however in some cases it is essential, and is generally 
considered a good
             practice. E.g. in a web container hot redeploy of a webapp will 
cause resource leaks and
-            eventual OutOfMemoryError if the application fails to shutdown 
CayenneRuntime.</p></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e1518"></a>Merging 
Multiple Projects</h2></div></div></div><p>ServerRuntime requires at least one 
mapping project to run. But it can also take multiple
+            eventual OutOfMemoryError if the application fails to shutdown 
CayenneRuntime.</p></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e1529"></a>Merging 
Multiple Projects</h2></div></div></div><p>ServerRuntime requires at least one 
mapping project to run. But it can also take multiple
             projects and merge them together in a single configuration. This 
way different parts of
             a database can be mapped independently from each other (even by 
different software
             providers), and combined in runtime when assembling an 
application. Doing it is as easy

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch01.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch01.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch01.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch01.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Prerequisites</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="getting-started-rop-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part1.html">Part&nbsp;I.&nbsp;Prerequisites</a></th><td
 width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-rop-part2.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e24"></a>Chapter&nbsp;1.&nbsp;Prerequisites</h2></div></div></div><p>This
 tutorial starts where "Getting Started with Cayenne" left
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Prerequisites</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="getting-started-rop-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part1.html">Part&nbsp;I.&nbsp;Prerequisites</a></th><td
 width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-rop-part2.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e24"></a>Chapter&nbsp;1.&nbsp;Prerequisites</h2></div></div></div><p>This
 tutorial starts where "Getting Started with Cayenne" left
         off. If you have gone through the previous tutorial, and have the 
"tutorial" project open in
         Eclipse, you can go directly to the 
         next step. If not, here are the compressed instructions to prepare you 
for work

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch02.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch02.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch02.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch02.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Chapter&nbsp;2.&nbsp;Starting Client 
Project</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-rop-part2.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e52"></a>Chapter&nbsp;2.&nbsp;Starting Client 
Project</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch02.html#create-rop-client-p
 roject">Create an ROP Client Project in Eclipse</a></span></dt><dt><span 
class="section"><a href="ch02.html#create-client-java-classes">Create Client 
Java Classes</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="create-rop-client-project"></a>Create an ROP Client Project in 
Eclipse</h2></div></div></div><p>Creation of a new Eclipse project has been 
discussed in some details in "Getting
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;2.&nbsp;Starting Client 
Project</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-rop-part2.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e52"></a>Chapter&nbsp;2.&nbsp;Starting Client 
Project</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch02.html#create-rop-client-p
 roject">Create an ROP Client Project in Eclipse</a></span></dt><dt><span 
class="section"><a href="ch02.html#create-client-java-classes">Create Client 
Java Classes</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="create-rop-client-project"></a>Create an ROP Client Project in 
Eclipse</h2></div></div></div><p>Creation of a new Eclipse project has been 
discussed in some details in "Getting
             Started with Cayenne" guide, so we will omit the screenshots for 
the common
             parts.</p><p>In Eclipse select "File &gt; New &gt; Other..." and 
then "Maven &gt; Maven Project".
             Click "Next". On the following screen check "Create a simple 
project" checkbox and click

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch03.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch03.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch03.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch03.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Chapter&nbsp;3.&nbsp;Setting up Hessian Web 
Service</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="ch02.html">Prev</a>&nbsp;</td><th width="60%" align="center"><a 
accesskey="u" href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote 
Object Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch04.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e111"></a>Chapter&nbsp;3.&nbsp;Setting up Hessian Web 
Service</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch03.html#setting-up-dependencies">
 Setting up Dependencies</a></span></dt><dt><span class="section"><a 
href="ch03.html#client-classes-on-server">Client Classes on the 
Server</a></span></dt><dt><span class="section"><a 
href="ch03.html#configuring-web-xml">Configuring 
web.xml</a></span></dt><dt><span class="section"><a 
href="ch03.html#running-rop-server">Running ROP 
Server</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="setting-up-dependencies"></a>Setting up 
Dependencies</h2></div></div></div><p>Now lets get back to the "tutorial" 
project that contains a web application and set up
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;3.&nbsp;Setting up Hessian Web 
Service</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="ch02.html">Prev</a>&nbsp;</td><th width="60%" align="center"><a 
accesskey="u" href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote 
Object Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch04.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e111"></a>Chapter&nbsp;3.&nbsp;Setting up Hessian Web 
Service</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch03.html#setting-up-dependencies">
 Setting up Dependencies</a></span></dt><dt><span class="section"><a 
href="ch03.html#client-classes-on-server">Client Classes on the 
Server</a></span></dt><dt><span class="section"><a 
href="ch03.html#configuring-web-xml">Configuring 
web.xml</a></span></dt><dt><span class="section"><a 
href="ch03.html#running-rop-server">Running ROP 
Server</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="setting-up-dependencies"></a>Setting up 
Dependencies</h2></div></div></div><p>Now lets get back to the "tutorial" 
project that contains a web application and set up
             dependencies. The only extra one that we don't have yet is 
resin-hessian.jar, just like
             the client, so let's add it (and the caucho repo declaration) to 
the pom.xml.</p><pre class="programlisting">&lt;project 
xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd"&gt;

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch04.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch04.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch04.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch04.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Chapter&nbsp;4.&nbsp;Porting Existing Code to Connect to a Web 
Service Instead of a Database</th><th></th></tr><tr><td width="20%" 
align="left"><a accesskey="p" href="ch03.html">Prev</a>&nbsp;</td><th 
width="60%" align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch05.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e158"></a>Chapter&nbsp;4.&nbsp;Porting Existing Code to Connect to a 
Web Service Instead of a Database</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl 
 class="toc"><dt><span class="section"><a 
href="ch04.html#starting-command-line-cliet">Starting Command Line 
Client</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="starting-command-line-cliet"></a>Starting Command Line 
Client</h2></div></div></div><p>One of the benefits of ROP is that the client 
code is no different from the server
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;4.&nbsp;Porting Existing Code to Connect to a Web 
Service Instead of a Database</th><th></th></tr><tr><td width="20%" 
align="left"><a accesskey="p" href="ch03.html">Prev</a>&nbsp;</td><th 
width="60%" align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" align="right">&nbsp;<a 
accesskey="n" href="ch05.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e158"></a>Chapter&nbsp;4.&nbsp;Porting Existing Code to Connect to a 
Web Service Instead of a Database</h2></div></div></div><div 
class="toc"><p><b>Table of Contents</b></p><dl 
 class="toc"><dt><span class="section"><a 
href="ch04.html#starting-command-line-cliet">Starting Command Line 
Client</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="starting-command-line-cliet"></a>Starting Command Line 
Client</h2></div></div></div><p>One of the benefits of ROP is that the client 
code is no different from the server
             code - it uses the same ObjectContext interface for access, same 
query and commit API.
             So the code below will be similar to the code presented in the 
first Cayenne
                 Getting Started Guide, although with a few ROP-specific parts 
required to bootstrap the

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch05.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch05.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch05.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/ch05.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Chapter&nbsp;5.&nbsp;Adding BASIC 
Authentication</th><th></th></tr><tr><td width="20%" align="left"><a 
accesskey="p" href="ch04.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" 
align="right">&nbsp;</td></tr></table><hr></div><div class="chapter"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="d0e199"></a>Chapter&nbsp;5.&nbsp;Adding BASIC 
Authentication</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch05.html#securing-rop-server-app">Securing ROP Server 
Application</a></span></dt><
 dt><span class="section"><a href="ch05.html#configuring-jetty">Configuring 
Jetty for BASIC Authentication</a></span></dt><dt><span class="section"><a 
href="ch05.html#running-client">Running Client with Basic 
Authentication</a></span></dt></dl></div><p>You probably don't want everybody 
in the world to connect to your service and access (and
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;5.&nbsp;Adding BASIC 
Authentication</th><th></th></tr><tr><td width="20%" align="left"><a 
accesskey="p" href="ch04.html">Prev</a>&nbsp;</td><th width="60%" 
align="center"><a accesskey="u" 
href="getting-started-rop-part2.html">Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</a></th><td width="20%" 
align="right">&nbsp;</td></tr></table><hr></div><div class="chapter"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="d0e199"></a>Chapter&nbsp;5.&nbsp;Adding BASIC 
Authentication</h2></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="ch05.html#securing-rop-server-app">Securing ROP Server 
Application</a></span></dt><
 dt><span class="section"><a href="ch05.html#configuring-jetty">Configuring 
Jetty for BASIC Authentication</a></span></dt><dt><span class="section"><a 
href="ch05.html#running-client">Running Client with Basic 
Authentication</a></span></dt></dl></div><p>You probably don't want everybody 
in the world to connect to your service and access (and
         update!) arbitrary data in the database. The first step in securing 
Cayenne service is
         implementing client authentication. The easiest way to do it is to 
delegate the
         authentication task to the web container that is running the service. 
HessianConnection used

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part1.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part1.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part1.html
 (original)
+++ 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part1.html
 Fri Oct  6 07:40:21 2017
@@ -9,4 +9,4 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Part&nbsp;I.&nbsp;Prerequisites</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="index.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="ch01.html">Next</a></td></tr></table><hr></div><div class="part"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop-part1"></a>Part&nbsp;I.&nbsp;Prerequisites</h1></div></div></div><div
 class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="chapter"><a href="ch01.html">1. 
Prerequisites</a></span></dt></dl></div></div><div class="navfooter"><hr><table 
width="100%" summary="Navigation footer"><tr><td width="40%" align="left"
 ><a accesskey="p" href="index.html">Prev</a>&nbsp;</td><td width="20%" 
 >align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a 
 >accesskey="n" href="ch01.html">Next</a></td></tr><tr><td width="40%" 
 >align="left" valign="top">Getting Started with Cayenne ROP (Remote Object 
 >Persistence)&nbsp;</td><td width="20%" align="center"><a accesskey="h" 
 >href="index.html">Home</a></td><td width="40%" align="right" 
 >valign="top">&nbsp;Chapter&nbsp;1.&nbsp;Prerequisites</td></tr></table></div></body></html>
\ No newline at end of file
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Part&nbsp;I.&nbsp;Prerequisites</th><th></th></tr><tr><td 
width="20%" align="left"><a accesskey="p" 
href="index.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="ch01.html">Next</a></td></tr></table><hr></div><div class="part"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop-part1"></a>Part&nbsp;I.&nbsp;Prerequisites</h1></div></div></div><div
 class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span 
class="chapter"><a href="ch01.html">1. 
Prerequisites</a></span></dt></dl></div></div><div class="navfooter"><hr><table 
width="100%" summary="Navigation footer"><tr><td width="40%" align="left"
 ><a accesskey="p" href="index.html">Prev</a>&nbsp;</td><td width="20%" 
 >align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a 
 >accesskey="n" href="ch01.html">Next</a></td></tr><tr><td width="40%" 
 >align="left" valign="top">Getting Started with Cayenne ROP (Remote Object 
 >Persistence)&nbsp;</td><td width="20%" align="center"><a accesskey="h" 
 >href="index.html">Home</a></td><td width="40%" align="right" 
 >valign="top">&nbsp;Chapter&nbsp;1.&nbsp;Prerequisites</td></tr></table></div></body></html>
\ No newline at end of file

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part2.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part2.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part2.html
 (original)
+++ 
cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/getting-started-rop-part2.html
 Fri Oct  6 07:40:21 2017
@@ -9,4 +9,4 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th 
align="center">Part&nbsp;II.&nbsp;Remote Object Persistence Quick 
Start</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="ch01.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="ch02.html">Next</a></td></tr></table><hr></div><div class="part"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop-part2"></a>Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="chapter"><a 
href="ch02.html">2. Starting Client Project</a></span></dt><dd><dl><dt><span 
class="section"><a href="ch02.html#create-rop-c
 lient-project">Create an ROP Client Project in 
Eclipse</a></span></dt><dt><span class="section"><a 
href="ch02.html#create-client-java-classes">Create Client Java 
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a 
href="ch03.html">3. Setting up Hessian Web 
Service</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch03.html#setting-up-dependencies">Setting up 
Dependencies</a></span></dt><dt><span class="section"><a 
href="ch03.html#client-classes-on-server">Client Classes on the 
Server</a></span></dt><dt><span class="section"><a 
href="ch03.html#configuring-web-xml">Configuring 
web.xml</a></span></dt><dt><span class="section"><a 
href="ch03.html#running-rop-server">Running ROP 
Server</a></span></dt></dl></dd><dt><span class="chapter"><a 
href="ch04.html">4. Porting Existing Code to Connect to a Web Service Instead 
of a Database</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch04.html#starting-command-line-cliet">Starting Command Line 
Client</a></span></dt></d
 l></dd><dt><span class="chapter"><a href="ch05.html">5. Adding BASIC 
Authentication</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch05.html#securing-rop-server-app">Securing ROP Server 
Application</a></span></dt><dt><span class="section"><a 
href="ch05.html#configuring-jetty">Configuring Jetty for BASIC 
Authentication</a></span></dt><dt><span class="section"><a 
href="ch05.html#running-client">Running Client with Basic 
Authentication</a></span></dt></dl></dd></dl></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="ch01.html">Prev</a>&nbsp;</td><td width="20%" 
align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" 
href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" 
valign="top">Chapter&nbsp;1.&nbsp;Prerequisites&nbsp;</td><td width="20%" 
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" 
align="right" valign="top">&nb
 sp;Chapter&nbsp;2.&nbsp;Starting Client 
Project</td></tr></table></div></body></html>
\ No newline at end of file
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Part&nbsp;II.&nbsp;Remote Object Persistence Quick 
Start</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="ch01.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="ch02.html">Next</a></td></tr></table><hr></div><div class="part"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop-part2"></a>Part&nbsp;II.&nbsp;Remote Object 
Persistence Quick Start</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="chapter"><a 
href="ch02.html">2. Starting Client Project</a></span></dt><dd><dl><dt><span 
class="section"><a href="ch02.html#create-rop-c
 lient-project">Create an ROP Client Project in 
Eclipse</a></span></dt><dt><span class="section"><a 
href="ch02.html#create-client-java-classes">Create Client Java 
Classes</a></span></dt></dl></dd><dt><span class="chapter"><a 
href="ch03.html">3. Setting up Hessian Web 
Service</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch03.html#setting-up-dependencies">Setting up 
Dependencies</a></span></dt><dt><span class="section"><a 
href="ch03.html#client-classes-on-server">Client Classes on the 
Server</a></span></dt><dt><span class="section"><a 
href="ch03.html#configuring-web-xml">Configuring 
web.xml</a></span></dt><dt><span class="section"><a 
href="ch03.html#running-rop-server">Running ROP 
Server</a></span></dt></dl></dd><dt><span class="chapter"><a 
href="ch04.html">4. Porting Existing Code to Connect to a Web Service Instead 
of a Database</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch04.html#starting-command-line-cliet">Starting Command Line 
Client</a></span></dt></d
 l></dd><dt><span class="chapter"><a href="ch05.html">5. Adding BASIC 
Authentication</a></span></dt><dd><dl><dt><span class="section"><a 
href="ch05.html#securing-rop-server-app">Securing ROP Server 
Application</a></span></dt><dt><span class="section"><a 
href="ch05.html#configuring-jetty">Configuring Jetty for BASIC 
Authentication</a></span></dt><dt><span class="section"><a 
href="ch05.html#running-client">Running Client with Basic 
Authentication</a></span></dt></dl></dd></dl></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="ch01.html">Prev</a>&nbsp;</td><td width="20%" 
align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" 
href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" 
valign="top">Chapter&nbsp;1.&nbsp;Prerequisites&nbsp;</td><td width="20%" 
align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" 
align="right" valign="top">&nb
 sp;Chapter&nbsp;2.&nbsp;Starting Client 
Project</td></tr></table></div></body></html>
\ No newline at end of file

Modified: cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/index.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/index.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/index.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial-rop/index.html Fri Oct  6 
07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.M5)</th><th align="center">Getting Started with 
Cayenne ROP (Remote Object Persistence)</th><th></th></tr><tr><td width="20%" 
align="left">&nbsp;</td><th width="60%" align="center">&nbsp;</th><td 
width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-rop-part1.html">Next</a></td></tr></table><hr></div><div 
class="book"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop"></a>Getting Started with Cayenne ROP (Remote Object 
Persistence)</h1></div><div><p class="copyright">Copyright &copy; 2011-2017 
Apache Software Foundation and individual authors</p></div><div><div 
class="legalnotice"><a name="d0e12"></a><p 
class="legalnotice-title"><b>License</b></p><p>Licensed to the Apache Software 
Foun
 dation (ASF) under one or more contributor
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th align="center">Getting Started with 
Cayenne ROP (Remote Object Persistence)</th><th></th></tr><tr><td width="20%" 
align="left">&nbsp;</td><th width="60%" align="center">&nbsp;</th><td 
width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-rop-part1.html">Next</a></td></tr></table><hr></div><div 
class="book"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-rop"></a>Getting Started with Cayenne ROP (Remote Object 
Persistence)</h1></div><div><p class="copyright">Copyright &copy; 2011-2017 
Apache Software Foundation and individual authors</p></div><div><div 
class="legalnotice"><a name="d0e12"></a><p 
class="legalnotice-title"><b>License</b></p><p>Licensed to the Apache Software 
Foun
 dation (ASF) under one or more contributor
                 license agreements. See the NOTICE file distributed with this 
work for additional
                 information regarding copyright ownership. The ASF licenses 
this file to you under
                 the Apache License, Version 2.0 (the "License"); you may not 
use this file except in

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part1.html 
Fri Oct  6 07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Setting up the 
environment</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="index.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part2.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part1"></a>Chapter&nbsp;1.&nbsp;Setting up the 
environment</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part1.html#d0e25">Setup</a></span></dt></dl></div><div 
class="section"><div class="titlepage"><div><div
 ><h2 class="title"><a name="d0e25"></a>Setup</h2></div></div></div><p> The 
 >goal of this chapter of the tutorial is to install (or check that you already 
 >have
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;1.&nbsp;Setting up the 
environment</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="index.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part2.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part1"></a>Chapter&nbsp;1.&nbsp;Setting up the 
environment</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part1.html#d0e25">Setup</a></span></dt></dl></div><div 
class="section"><div class="titlepage"><div><div
 ><h2 class="title"><a name="d0e25"></a>Setup</h2></div></div></div><p> The 
 >goal of this chapter of the tutorial is to install (or check that you already 
 >have
         installed) a minimally needed set of software to build a Cayenne 
application. </p><div class="section"><div class="titlepage"><div><div><h3 
class="title"><a name="install-java"></a>Install Java</h3></div></div></div><p>
             Obviously, JDK has to be installed. Cayenne 4.0 requires JDK 1.7 
or newer.
         </p></div><div class="section"><div class="titlepage"><div><div><h3 
class="title"><a name="install-idea"></a>Install IntelliJ 
IDEA</h3></div></div></div><p>

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part2.html 
Fri Oct  6 07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;2.&nbsp;Learning mapping 
basics</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part3.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part2"></a>Chapter&nbsp;2.&nbsp;Learning mapping 
basics</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part2.html#d0e47">Starting a 
project</a></span></dt><dt><span class="section"><a href="gettin
 g-started-part2.html#d0e202">Getting started with Object Relational Mapping 
(ORM)</a></span></dt><dt><span class="section"><a 
href="getting-started-part2.html#d0e342">Creating Java 
Classes</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e47"></a>Starting a 
project</h2></div></div></div><p>
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;2.&nbsp;Learning mapping 
basics</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part1.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part3.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part2"></a>Chapter&nbsp;2.&nbsp;Learning mapping 
basics</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part2.html#d0e47">Starting a 
project</a></span></dt><dt><span class="section"><a href="gettin
 g-started-part2.html#d0e202">Getting started with Object Relational Mapping 
(ORM)</a></span></dt><dt><span class="section"><a 
href="getting-started-part2.html#d0e342">Creating Java 
Classes</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e47"></a>Starting a 
project</h2></div></div></div><p>
         The goal of this chapter is to create a new Java project in IntelliJ 
IDEA
         containing a basic Cayenne mapping. It presents an introduction to 
         CayenneModeler GUI tool, showing how to create the initial mapping 
@@ -45,7 +45,7 @@
         </p></div><div class="section"><div class="titlepage"><div><div><h3 
class="title"><a name="create-datanode"></a>Create a 
DataNode</h3></div></div></div><p>The next project object you will create is a 
<span class="bold"><strong>DataNode</strong></span>. DataNode is a descriptor 
of a single database your application
             will connect to. Cayenne mapping project can use more than one 
database, but for now,
             we'll only use one. With "project" selected on the left, click on 
"Create DataNode"
-            button <span class="inlinemediaobject"><img 
src="images/icon-node.png"></span> on the toolbar (or select "Project &gt; 
Create DataNode" from the menu.
+            button <span class="inlinemediaobject"><img 
src="images/icon-node.png"></span> on the toolbar (or select "Project &gt; 
Create DataNode" from the menu).
         </p><p>A new DataNode is displayed. Now you need to specify JDBC 
connection parameters. For
             an in-memory Derby database you can enter the following settings: 
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>JDBC Driver: 
org.apache.derby.jdbc.EmbeddedDriver</p></li><li class="listitem"><p>DB URL: 
jdbc:derby:memory:testdb;create=true</p></li></ul></div><p>
             </p><div class="note" style="margin-left: 0.5in; margin-right: 
0.5in;"><h3 class="title">Note</h3><p>We are creating an in-memory database 
here. So when
@@ -155,13 +155,13 @@
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;groupId&gt;</span>org.apache.cayenne<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/groupId&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;artifactId&gt;</span>cayenne-server<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/artifactId&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-comment">&lt;!-- Here specify the version of Cayenne you are actually 
using --&gt;</span>
-            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B1<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
+            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B2<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;/dependency&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; class="hl-comment">&lt;!--  
For java.time.* types you need to use this dependency--&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;dependency&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;groupId&gt;</span>org.apache.cayenne<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/groupId&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;artifactId&gt;</span>cayenne-java8<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/artifactId&gt;</span>
-            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B1<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
+            <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;version&gt;</span>4.0.B2<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/version&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;/dependency&gt;</span>
         <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;dependency&gt;</span>
             <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-tag">&lt;groupId&gt;</span>org.slf4j<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-tag">&lt;/groupId&gt;</span>
@@ -189,8 +189,8 @@
             result, all the errors should disappear. In tutorial for console 
output we use slf4j-simple logger
             implementation. Due to use SLF4J logger in Apache Cayenne, you can 
use your custom logger (e.g. log4j
             or commons-logging) through bridges.
-        </p><p><span class="inlinemediaobject"><img 
src="images/idea-generated-classes.png"></span></p><p>Now let's check the 
entity class pairs. Each one is made of a superclass (e.g. Artist)
-            and a subclass (e.g. Artist). You <span 
class="bold"><strong>should not</strong></span> modify the
+        </p><p><span class="inlinemediaobject"><img 
src="images/idea-generated-classes.png"></span></p><p>Now let's check the 
entity class pairs. Each one is made of a superclass (e.g. <code 
class="code">_Artist</code>)
+            and a subclass (e.g. <code class="code">Artist</code>). You <span 
class="bold"><strong>should not</strong></span> modify the
             superclasses whose names start with "_" (underscore), as they will 
be replaced on
             subsequent generator runs. Instead all custom logic should be 
placed in the subclasses
             in "<code class="code">org.example.cayenne.persistent</code>" 
package - those will never be overwritten by the

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part3.html 
Fri Oct  6 07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;3.&nbsp;Learning Cayenne 
API</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part2.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part4.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part3"></a>Chapter&nbsp;3.&nbsp;Learning Cayenne 
API</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl 
class="toc"><dt><span class="section"><a 
href="getting-started-part3.html#d0e414">Getting started with 
ObjectContext</a></span></dt><dt><span class="section"><a h
 ref="getting-started-part3.html#d0e485">Getting started with persistent 
objects</a></span></dt><dt><span class="section"><a 
href="getting-started-part3.html#d0e565">Selecting 
Objects</a></span></dt><dt><span class="section"><a 
href="getting-started-part3.html#d0e610">Deleting 
Objects</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e414"></a>Getting 
started with ObjectContext</h2></div></div></div><p>In this section we'll write 
a simple main class to run our application, and get a brief
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;3.&nbsp;Learning Cayenne 
API</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part2.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" 
href="getting-started-part4.html">Next</a></td></tr></table><hr></div><div 
class="chapter"><div class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part3"></a>Chapter&nbsp;3.&nbsp;Learning Cayenne 
API</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl 
class="toc"><dt><span class="section"><a 
href="getting-started-part3.html#d0e420">Getting started with 
ObjectContext</a></span></dt><dt><span class="section"><a h
 ref="getting-started-part3.html#d0e491">Getting started with persistent 
objects</a></span></dt><dt><span class="section"><a 
href="getting-started-part3.html#d0e571">Selecting 
Objects</a></span></dt><dt><span class="section"><a 
href="getting-started-part3.html#d0e616">Deleting 
Objects</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e420"></a>Getting 
started with ObjectContext</h2></div></div></div><p>In this section we'll write 
a simple main class to run our application, and get a brief
     introduction to Cayenne ObjectContext.</p><div class="section"><div 
class="titlepage"><div><div><h3 class="title"><a 
name="creating-main-class"></a>Creating the Main 
Class</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" 
type="disc"><li class="listitem"><p>In IDEA create a new class called "<code 
class="code">Main</code>" in the "<code class="code">org.example.cayenne</code>"
                     package.</p></li><li class="listitem"><p>Create a standard 
"main" method to make it a runnable
                     class:</p><pre class="programlisting"><span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-keyword">package</span> 
org.example.cayenne;
@@ -62,7 +62,7 @@ INFO: +++ Connecting: SUCCESS.
 INFO: setting DataNode 'datanode' as default, used by all unlinked 
DataMaps</pre><p>
             
             </p><div class="note" style="margin-left: 0.5in; margin-right: 
0.5in;"><h3 class="title">How to Configure Cayenne Logging</h3><p>Follow the 
instructions in the logging chapter to tweak verbosity of the logging 
output.</p></div><p>
-           </p></div></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e485"></a>Getting 
started with persistent objects</h2></div></div></div><p>In this chapter we'll 
learn about persistent objects, how to customize them and how to
+           </p></div></div><div class="section"><div 
class="titlepage"><div><div><h2 class="title"><a name="d0e491"></a>Getting 
started with persistent objects</h2></div></div></div><p>In this chapter we'll 
learn about persistent objects, how to customize them and how to
         create and save them in DB.</p><div class="section"><div 
class="titlepage"><div><div><h3 class="title"><a 
name="customizing-persistent-objects"></a>Inspecting and Customizing Persistent 
Objects</h3></div></div></div><p>Persistent classes in Cayenne implement a 
DataObject interface. If you inspect any of
             the classes generated earlier in this tutorial (e.g.
             <code class="code">org.example.cayenne.persistent.Artist</code>), 
you'll see that it extends a class with the name
@@ -164,7 +164,7 @@ INFO: === updated 2 rows.
 INFO: +++ transaction committed.
 </pre><p>So first Cayenne creates the needed tables (remember, we used
             "<code class="code">CreateIfNoSchemaStrategy</code>"). Then it 
runs a number of inserts, generating primary keys
-            on the fly. Not bad for just a few lines of 
code.</p></div></div><div class="section"><div class="titlepage"><div><div><h2 
class="title"><a name="d0e565"></a>Selecting 
Objects</h2></div></div></div><p>This chapter shows how to select objects from 
the database using <code class="code">ObjectSelect</code> query. </p><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
name="introducing-select-query"></a>Introducing 
ObjectSelect</h3></div></div></div><p>It was shown before how to persist new 
objects. Cayenne queries are used to access
+            on the fly. Not bad for just a few lines of 
code.</p></div></div><div class="section"><div class="titlepage"><div><div><h2 
class="title"><a name="d0e571"></a>Selecting 
Objects</h2></div></div></div><p>This chapter shows how to select objects from 
the database using <code class="code">ObjectSelect</code> query. </p><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
name="introducing-select-query"></a>Introducing 
ObjectSelect</h3></div></div></div><p>It was shown before how to persist new 
objects. Cayenne queries are used to access
             already saved objects. The primary query type used for selecting 
objects is <code class="code">ObjectSelect</code>.
             It can be mapped in CayenneModeler or created
             via the API. We'll use the latter approach in this section. We 
don't have too much data
@@ -173,24 +173,22 @@ INFO: === returned 2 rows. - took 18 ms.
         .where(Painting.NAME.likeIgnoreCase(<span 
xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-string">"gi%"</span>)).select(context); </pre><pre 
class="screen">INFO: SELECT t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID FROM 
PAINTING t0 WHERE UPPER(t0.NAME) LIKE UPPER(?)
       [bind: 1-&gt;NAME:'gi%'] - prepared in 6 ms.
 INFO: === returned 1 row. - took 18 ms.</pre><div class="itemizedlist"><ul 
class="itemizedlist" type="disc"><li class="listitem"><p>Select all paintings 
done by artists who were born more than a 100 years
-                    ago:</p></li></ul></div><pre 
class="programlisting">Calendar c = <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-keyword">new</span> GregorianCalendar();
-c.set(c.get(Calendar.YEAR) - <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">100</span>, <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">1</span>, <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">0</span>, <span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-number">0</span>);
-
-List&lt;Painting&gt; paintings3 = ObjectSelect.query(Painting.<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-keyword">class</span>)
-        .where(Painting.ARTIST.dot(Artist.DATE_OF_BIRTH).lt(c.getTime()))
+                    ago:</p></li></ul></div><pre 
class="programlisting">List&lt;Painting&gt; paintings3 = 
ObjectSelect.query(Painting.<span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-keyword">class</span>)
+        .where(Painting.ARTIST.dot(Artist.DATE_OF_BIRTH).lt(LocalDate.of(<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-number">1900</span>,<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-number">1</span>,<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-number">1</span>)))
         .select(context); </pre><pre class="screen">INFO: SELECT 
t0.GALLERY_ID, t0.NAME, t0.ARTIST_ID, t0.ID FROM PAINTING t0 JOIN ARTIST t1 ON 
(t0.ARTIST_ID = t1.ID)
       WHERE t1.DATE_OF_BIRTH &lt; ? [bind: 1-&gt;DATE_OF_BIRTH:'1911-01-01 
00:00:00.493'] - prepared in 7 ms.
-INFO: === returned 2 rows. - took 25 ms.</pre></div></div><div 
class="section"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e610"></a>Deleting Objects</h2></div></div></div><p>This chapter 
explains how to model relationship delete rules and how to delete individual
+INFO: === returned 2 rows. - took 25 ms.</pre></div></div><div 
class="section"><div class="titlepage"><div><div><h2 class="title"><a 
name="d0e616"></a>Deleting Objects</h2></div></div></div><p>This chapter 
explains how to model relationship delete rules and how to delete individual
         objects as well as sets of objects. Also demonstrated the use of 
Cayenne class to run a
         query.</p><div class="section"><div class="titlepage"><div><div><h3 
class="title"><a name="setup-delete-rules"></a>Setting Up Delete 
Rules</h3></div></div></div><p>Before we discuss the API for object deletion, 
lets go back to CayenneModeler and set
             up some delete rules. Doing this is optional but will simplify 
correct handling of the
             objects related to deleted objects.</p><p>In the Modeler go to 
"Artist" ObjEntity, "Relationships" tab and select "Cascade" for
             the "paintings" relationship delete rule:</p><p><span 
class="inlinemediaobject"><img src="images/modeler-deleterule.png"></span>
         </p><p>Repeat this step for other relationships:</p><div 
class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>For Gallery set "paintings" relationship to be "Nullify", 
as a painting can
-                    exist without being displayed in a gallery.</p></li><li 
class="listitem"><p>For Painting et both relationships rules to 
"Nullify".</p></li></ul></div><p>Now save the mapping.</p></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
name="deleting-objects"></a>Deleting Objects</h3></div></div></div><p>While 
deleting objects is possible via SQL, qualifying a delete on one or more IDs, a
+                    exist without being displayed in a gallery.</p></li><li 
class="listitem"><p>For Painting set both relationships rules to 
"Nullify".</p></li></ul></div><p>Now save the mapping.</p></div><div 
class="section"><div class="titlepage"><div><div><h3 class="title"><a 
name="deleting-objects"></a>Deleting Objects</h3></div></div></div><p>While 
deleting objects is possible via SQL, qualifying a delete on one or more IDs, a
             more common way in Cayenne (or ORM in general) is to get a hold of 
the object first, and
             then delete it via the context. Let's use utility class Cayenne to 
find an
-            artist:</p><pre class="programlisting">Artist picasso = 
ObjectSelect.query(Artist.<span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-keyword">class</span>).where(Artist.NAME.eq(<span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-string">"Pablo 
Picasso"</span>)).selectOne(context);</pre><p>Now let's delete the 
artist:</p><pre class="programlisting"><span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-keyword">if</span> (picasso != 
null) {
+            artist:</p><pre class="programlisting">Artist picasso = 
ObjectSelect.query(Artist.<span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-keyword">class</span>)
+            .where(Artist.NAME.eq(<span xmlns="http://www.w3.org/1999/xhtml"; 
class="hl-string">"Pablo Picasso"</span>)).selectOne(context);</pre><p>Now 
let's delete the artist:</p><pre class="programlisting"><span 
xmlns="http://www.w3.org/1999/xhtml"; class="hl-keyword">if</span> (picasso != 
null) {
     context.deleteObject(picasso);
     context.commitChanges();
 }</pre><p>Since we set up "Cascade" delete rule for the Artist.paintings 
relationships, Cayenne

Modified: 
cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html
URL: 
http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html?rev=1811298&r1=1811297&r2=1811298&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html 
(original)
+++ cayenne/site/cms/trunk/content/docs/4.0/tutorial/getting-started-part4.html 
Fri Oct  6 07:40:21 2017
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
   })();
-        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B1)</th><th 
align="center">Chapter&nbsp;4.&nbsp;Converting to Web 
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part3.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" 
align="right">&nbsp;</td></tr></table><hr></div><div class="chapter"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part4"></a>Chapter&nbsp;4.&nbsp;Converting to Web 
Application</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part4.html#d0e659">Converting to Web 
Application</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="
 title"><a name="d0e659"></a>Converting to Web 
Application</h2></div></div></div><p>This chapter shows how to work with 
Cayenne in a web application.</p><div class="section"><div 
class="titlepage"><div><div><h3 class="title"><a 
name="converting-to-webapp"></a>Converting Tutorial to a Web 
Application</h3></div></div></div><p>The web part of the web application 
tutorial is done in JSP, which is the least common
+        </script></head><body bgcolor="white" text="black" link="#0000FF" 
vlink="#840084" alink="#0000FF"><div xmlns:d="http://docbook.org/ns/docbook"; 
class="navheader"><table width="100%" summary="Navigation header"><tr><th 
class="versioninfo">v.4.0 (4.0.B2)</th><th 
align="center">Chapter&nbsp;4.&nbsp;Converting to Web 
Application</th><th></th></tr><tr><td width="20%" align="left"><a accesskey="p" 
href="getting-started-part3.html">Prev</a>&nbsp;</td><th width="60%" 
align="center">&nbsp;</th><td width="20%" 
align="right">&nbsp;</td></tr></table><hr></div><div class="chapter"><div 
class="titlepage"><div><div><h1 class="title"><a 
name="getting-started-part4"></a>Chapter&nbsp;4.&nbsp;Converting to Web 
Application</h1></div></div></div><div class="toc"><p><b>Table of 
Contents</b></p><dl class="toc"><dt><span class="section"><a 
href="getting-started-part4.html#d0e665">Converting to Web 
Application</a></span></dt></dl></div><div class="section"><div 
class="titlepage"><div><div><h2 class="
 title"><a name="d0e665"></a>Converting to Web 
Application</h2></div></div></div><p>This chapter shows how to work with 
Cayenne in a web application.</p><div class="section"><div 
class="titlepage"><div><div><h3 class="title"><a 
name="converting-to-webapp"></a>Converting Tutorial to a Web 
Application</h3></div></div></div><p>The web part of the web application 
tutorial is done in JSP, which is the least common
             denominator of the Java web technologies, and is intentionally 
simplistic from the UI
             perspective, to concentrate on Cayenne integration aspect, rather 
than the interface. A
             typical Cayenne web application works like this:</p><div 
class="itemizedlist"><ul class="itemizedlist" type="disc"><li 
class="listitem"><p>Cayenne configuiration is loaded when an application 
context is started, using


Reply via email to