You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2017/10/14 14:31:14 UTC

svn commit: r1812183 - in /cayenne/site/cms/trunk/content/docs/4.1: tutorial-rop/ tutorial/ upgrade-guide/

Author: aadamchik
Date: Sat Oct 14 14:31:14 2017
New Revision: 1812183

URL: http://svn.apache.org/viewvc?rev=1812183&view=rev
Log:
post 4.1 docs update

Modified:
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch01.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch02.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch03.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch04.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch05.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part1.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part2.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/index.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part1.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part2.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part3.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part4.html
    cayenne/site/cms/trunk/content/docs/4.1/tutorial/index.html
    cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/ar01.html
    cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/index.html

Modified: cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch01.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch01.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch01.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch01.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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.1/tutorial-rop/ch02.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch02.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch02.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch02.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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-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></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.1/tutorial-rop/ch03.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch03.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch03.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch03.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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-depen
 dencies">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.1/tutorial-rop/ch04.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch04.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch04.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch04.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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.1/tutorial-rop/ch05.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch05.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch05.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/ch05.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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></sp
 an></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.1/tutorial-rop/getting-started-rop-part1.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part1.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part1.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part1.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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%" ali
 gn="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.1/tutorial-rop/getting-started-rop-part2.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part2.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part2.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/getting-started-rop-part2.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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#cre
 ate-rop-client-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></dl></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">&nbsp;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.1/tutorial-rop/index.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/index.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/index.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial-rop/index.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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 Soft
 ware Foundation (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.1/tutorial/getting-started-part1.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part1.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part1.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part1.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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.1/tutorial/getting-started-part2.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part2.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part2.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part2.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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.1 (4.1.M2-SNAPSHOT)</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 hre
 f="getting-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 
@@ -136,13 +136,12 @@
                     selected.</p></li><li class="listitem"><p>For the "Output Directory" select "<code class="code">src/main/java</code>" folder under your IDEA
                     project folder (this is a "peer" location to the <code class="code">cayenne-*.xml</code> location we
                     selected before).</p></li><li class="listitem"><p>Click on "Classes" tab and check the "Check All Classes" checkbox (unless it
-                    is already checked and reads "Uncheck all Classes").</p></li><li class="listitem"><p>Click "Generate"</p></li></ul></div><p>Now go back to IDEA - you
-            should see pairs of classes generated for each mapped entity. You probably also see that
-            there's a bunch of red squiggles next to the newly generated Java classes in IDEA.
-            This is because our project does not include Cayenne as a Maven dependency yet. Let's
-            fix it now by adding "cayenne-server" and "cayenne-java8" artifacts in the bottom of the <code class="code">pom.xml</code> file.
-            Also we should tell Maven compile plugin that our project needs Java 8.
-            The resulting POM should look like
+                    is already checked and reads "Uncheck all Classes").</p></li><li class="listitem"><p>Click "Generate"</p></li></ul></div><p>Now go back to IDEA - you should see pairs of classes generated for each mapped
+            entity. You probably also see that there's a bunch of red squiggles next to the newly
+            generated Java classes in IDEA. This is because our project does not include Cayenne as
+            a Maven dependency yet. Let's fix it now by adding "cayenne-server"
+            artifact in the bottom of the <code class="code">pom.xml</code> file. Also we should tell Maven
+            compile plugin that our project needs Java 8. The resulting POM should look like
             this:</p><pre class="programlisting"><span xmlns="http://www.w3.org/1999/xhtml" class="hl-tag">&lt;project</span> <span xmlns="http://www.w3.org/1999/xhtml" class="hl-attribute">xmlns</span>=<span xmlns="http://www.w3.org/1999/xhtml" class="hl-value">"http://maven.apache.org/POM/4.0.0"</span> <span xmlns="http://www.w3.org/1999/xhtml" class="hl-attribute">xmlns:xsi</span>=<span xmlns="http://www.w3.org/1999/xhtml" class="hl-value">"http://www.w3.org/2001/XMLSchema-instance"</span>
         <span xmlns="http://www.w3.org/1999/xhtml" class="hl-attribute">xsi:schemaLocation</span>=<span xmlns="http://www.w3.org/1999/xhtml" class="hl-value">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"</span><span xmlns="http://www.w3.org/1999/xhtml" class="hl-tag">&gt;</span>
     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-tag">&lt;modelVersion&gt;</span>4.0.0<span xmlns="http://www.w3.org/1999/xhtml" class="hl-tag">&lt;/modelVersion&gt;</span>
@@ -155,13 +154,7 @@
             <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.1.M1<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.1.M1<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.1.M2-SNAPSHOT<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>

Modified: cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part3.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part3.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part3.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part3.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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
+        </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.1 (4.1.M2-SNAPSHOT)</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="sect
 ion"><a href="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;

Modified: cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part4.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part4.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part4.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial/getting-started-part4.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</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
+        </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.1 (4.1.M2-SNAPSHOT)</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><h
 2 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

Modified: cayenne/site/cms/trunk/content/docs/4.1/tutorial/index.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/tutorial/index.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/tutorial/index.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/tutorial/index.html Sat Oct 14 14:31:14 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.1 (4.1.M1)</th><th align="center">Getting Started with Cayenne</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-part1.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="getting-started"></a>Getting Started with Cayenne</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 Foundation (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.1 (4.1.M2-SNAPSHOT)</th><th align="center">Getting Started with Cayenne</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-part1.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="getting-started"></a>Getting Started with Cayenne</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 Foundation (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.1/upgrade-guide/ar01.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/ar01.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/ar01.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/ar01.html Sat Oct 14 14:31:14 2017
@@ -1,6 +1,6 @@
 <html><head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-   <title xmlns:d="http://docbook.org/ns/docbook">Guide to 4.0 Features</title><link rel="stylesheet" type="text/css" href="css/cayenne-doc.css"><meta xmlns:d="http://docbook.org/ns/docbook" name="keywords" content="Cayenne 4.1 documentation"><meta xmlns:d="http://docbook.org/ns/docbook" name="description" content="User documentation for Apache Cayenne version 4.1"><link rel="home" href="index.html" title="Cayenne 4.0 New Features and Upgrade Guide"><link rel="up" href="index.html" title="Cayenne 4.0 New Features and Upgrade Guide"><link rel="prev" href="index.html" title="Cayenne 4.0 New Features and Upgrade Guide"><script xmlns:d="http://docbook.org/ns/docbook" type="text/javascript">
+   <title xmlns:d="http://docbook.org/ns/docbook">Guide to 4.1 Features</title><link rel="stylesheet" type="text/css" href="css/cayenne-doc.css"><meta xmlns:d="http://docbook.org/ns/docbook" name="keywords" content="Cayenne 4.1 documentation"><meta xmlns:d="http://docbook.org/ns/docbook" name="description" content="User documentation for Apache Cayenne version 4.1"><link rel="home" href="index.html" title="Cayenne 4.1 New Features and Upgrade Guide"><link rel="up" href="index.html" title="Cayenne 4.1 New Features and Upgrade Guide"><link rel="prev" href="index.html" title="Cayenne 4.1 New Features and Upgrade Guide"><script xmlns:d="http://docbook.org/ns/docbook" type="text/javascript">
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-7036673-1']);
   _gaq.push(['_trackPageview']);
@@ -9,124 +9,5 @@
     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.1 (4.1.M1)</th><th align="center">Guide to 4.0 Features</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;</td></tr></table><hr></div><div class="article"><div class="titlepage"><div><div><h1 class="title"><a name="d0e19"></a>Guide to 4.0 Features</h1></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="ar01.html#java-version">Java Version</a></span></dt><dt><span class="section"><a href="ar01.html#cayenne-configuration">Cayenne Configuration</a></span></dt><dt><span class="section"><a href="ar01.html#framework-api">Framework API</a></span><
 /dt><dt><span class="section"><a href="ar01.html#cayenne-modeler">CayenneModeler</a></span></dt><dt><span class="section"><a href="ar01.html#build-tools">Build Tools</a></span></dt></dl></div><p>This guide highlights the new features and changes introduced in Apache Cayenne 4.0. For a full list of changes consult
-		RELEASE-NOTES.txt included in Cayenne download. For release-specific upgrade instructions check UPGRADE.txt.</p><div class="section"><div class="titlepage"><div><div><h2 class="title"><a name="java-version"></a>Java Version</h2></div></div></div><p>Minimum required JDK version is 1.7 or newer. Cayenne 4.0 is fully tested with Java 1.7,
-			1.8. </p><p>The examples below often use Java 8 syntax. But those same examples should work without lambdas just as well.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a name="cayenne-configuration"></a>Cayenne Configuration</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e34"></a>ServerRuntimeBuilder</h3></div></div></div><p>Cayenne 3.1 introduced dependency injection and ServerRuntime. 4.0 provides a very convenient utility to create a custom runtime
-				with various extensions. This reduces the code needed to integrate Cayenne in your environment to just a few lines and no
-				boilerplate.
-				E.g.:</p><pre class="programlisting">ServerRuntime runtime = ServerRuntime.builder(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"myproject"</span>)
-        .addConfigs(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"cayenne-project1.xml"</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"cayenne-project2.xml"</span>)
-        .addModule(binder -&gt; binder.bind(JdbcEventLogger.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>).toInstance(myLogger))
-        .dataSource(myDataSource)
-        .build();</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e41"></a>Mapping-free ServerRuntime</h3></div></div></div><p>ServerRuntime can now be started without any ORM mapping at all. This is useful in situations when Cayenne is used as a stack to
-				execute raw SQL, in unit tests, etc.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e46"></a>DI Container Decorators</h3></div></div></div><p>In addition to overriding services in DI container, Cayenne now allows to supply
-				decorators. True to the "smallest-footprint" DI philosophy, decorator approach is
-				very simple and does not require proxies or class enhancement. Just implement the
-				decorated interface and provide a constructor that takes a delegate instance being
-				decorated:
-				</p><pre class="programlisting"><span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">public</span> <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span> MyInterfaceDecorator <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">implements</span> MyInterface {
-
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">private</span> MyInterface delegate;
-
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">public</span> MockInterface1_Decorator3(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@Inject</span> MyInterface delegate) {
-        <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">this</span>.delegate = delegate;
-    }
-
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-annotation">@Override</span>
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">public</span> String getName() {
-        <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">return</span> <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"&lt;"</span> + delegate.getName() + <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"&gt;"</span>;
-    }
-}
-
-Module module = binder -&gt;
-        binder.decorate(MyInterface.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>).before(MyInterfaceDecorator.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>);</pre><p>
-			</p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a name="framework-api"></a>Framework API</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e57"></a>Fluent Query API</h3></div></div></div><p>Fluent Query API is one of the most exciting new features in Cayenne 4.0. This syntax is "chainable" so you can write query
-				assembly and execution code on one line. The most useful fluent queries are ObjectSelect, SQLSelect and SelectById:</p><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="d0e62"></a>ObjectSelect</h4></div></div></div><p>A "chainable" analog of SelectQuery.
-					</p><pre class="programlisting">Artist a = ObjectSelect
-     .query(Artist.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>)
-     .where(Artist.ARTIST_NAME.eq(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"Picasso"</span>))
-     .selectOne(context);</pre></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="d0e69"></a>ColumnSelect</h4></div></div></div><p>
-					This query allows you directly access individual properties of Objects and use functions (including aggregate)
-					via type-safe API.
-					</p><pre class="programlisting">List&lt;String&gt; names = ObjectSelect
-	.columnQuery(Artist.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>, Artist.ARTIST_NAME)
-	.where(Artist.ARTIST_NAME.length().gt(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">6</span>))
-	.select(context);</pre><p>
-				</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="d0e77"></a>SQLSelect</h4></div></div></div><p>A "chainable" analog of SQLTemplate used specifically to run selecting raw
-					SQL:</p><pre class="programlisting">List&lt;Long&gt; ids = SQLSelect
-     .scalarQuery(Long.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"SELECT ARTIST_ID FROM ARTIST ORDER BY ARTIST_ID"</span>)
-     .select(context);</pre></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="d0e84"></a>SelectById</h4></div></div></div><p>There's really no good analog of SelectById in Cayenne prior to 4.0. Previously available ObjectIdQuery didn't support half of
-					the features of SelectById (e.g. caching consistent with other queries, prefetches, etc.)
-					:</p><pre class="programlisting">Artist a = SelectById
-     .query(Artist.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">3</span>)
-     .useLocalCache(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"g1"</span>)
-     .selectOne(context)</pre></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="objectcontext"></a>ObjectContext</h3></div></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="d0e94"></a>Callback-based Object Iterator</h4></div></div></div><p>ObjectContext now features a simpler way to iterate over large result sets, based on callback interface that can be
-					implemented with a
-					lambda:</p><pre class="programlisting">SelectQuery&lt;Artist&gt; q = <span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">new</span> SelectQuery&lt;Artist&gt;(Artist.<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">class</span>);
-
-context.iterate(q, (Artist a) -&gt; {
-    <span xmlns="http://www.w3.org/1999/xhtml" class="hl-comment">// do something with the object...</span>
-    ...
-});</pre></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e101"></a>Generics in Expressions and Queries</h3></div></div></div><p>We finished the work of "genericizing" Cayenne APIs started in 3.1. Now all APIs dealing with persistent objects (Expressions,
-				Queries, ObjectContext, etc.) support generics of Persistent object type or attribute property type.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e106"></a>Property API</h3></div></div></div><p>Persistent superclasses (_MyEntity) now contain a set of static Property&lt;T&gt; variables generated from the model. These
-				metadata objects make possible to create type-safe Expressions and other query parts.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e111"></a>Positional Parameter Bindings </h3></div></div></div><p>Expressions and SQLTemplate traditionally supported binding of parameters by name as a map. Cayenne 4.0 introduces a very easy
-				form of positional bindings. It works with the same named template format, only parameters are bound by position, left-to-right.
-				Here we showing a more complex example with the same parameter name being used more than once in the
-				query:</p><pre class="programlisting"><span xmlns="http://www.w3.org/1999/xhtml" class="hl-comment">// two distinct names, 3 positional parameters.</span>
-<span xmlns="http://www.w3.org/1999/xhtml" class="hl-comment">// "price" is set to 23, "maxPrice" - to 50</span>
-Expression e = ExpressionFactory.exp(
-     <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"price = $price or averagePrice = $price and maxPrice = $maxPrice"</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">23</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-number">50</span>);</pre><p>This
-				API is supported in Expressions, SQLTemplate as well as new SQLSelect and can be used interchnageably with named parameters with a
-				single template flavor.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e119"></a>Improved Transaction API</h3></div></div></div><p>Transaction factory is now setup via DI (instead of being configured in the Modeler). There's a utility method on ServerRuntime
-				to perform multiple operations as one
-				transaction:</p><pre class="programlisting">runtime.performInTransaction(() -&gt; {
-	<span xmlns="http://www.w3.org/1999/xhtml" class="hl-comment">// ... do some changes</span>
-	context.commitChanges();
-
-	<span xmlns="http://www.w3.org/1999/xhtml" class="hl-comment">// ... do more changes</span>
-	context.commitChanges();
-
-	<span xmlns="http://www.w3.org/1999/xhtml" class="hl-keyword">return</span> true;
-});</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e126"></a>Transparent Database Cryptography with "cayenne-crypto" Module</h3></div></div></div><p>Cayenne includes a new module called "cayenne-crypto" that enables transparent cryptography for designated data columns. This is
-				a pretty cool feature that allows to enable encryption/decryption of your sensitive data pretty much declaratively using your
-				regular DB storage. Encrypted values can be stored in (VAR)BINARY and (VAR)CHAR columns. Currently "cayenne-crypto" supports
-				AES/CBC/PKCS5Padding encryption (though other cyphers can be added). It also supports encrypted data compression. Here is an example
-				of building a crypto DI module that can be added to
-				ServerRuntime:</p><pre class="programlisting">Module cryptoExtensions = CryptoModule.extend()
-	.keyStore(<span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"file:///mykeystore"</span>, <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"keystorepassword"</span>.toCharArray(), <span xmlns="http://www.w3.org/1999/xhtml" class="hl-string">"keyalias"</span>)
-	.compress()
-	.module();</pre></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a name="cayenne-modeler"></a>CayenneModeler</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e136"></a>Improved UI</h3></div></div></div><p>CayenneModeler features a number of UI improvements. Attributes and relationships are now edited in the same view (no need to
-				switch between the tabs). Project tree allows to easily filter elements by type and quickly collapse the tree.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e141"></a>Dropped Support for Mapping Listeners</h3></div></div></div><p>Managing listeners in the DataMap XML model is counterproductive and confusing, so support for listeners was removed from both
-				the XML and the Modeler. If you previously had listeners mapped in the model, annotate their callback methods, and perform listener
-				registration in the code: </p><pre class="programlisting">runtime.getDataDomain().addListener(myListener);</pre><p>
-				or via DI: </p><pre class="programlisting">Module module = binder -&gt; ServerModule.contributeDomainListeners(myListener);</pre><p>
-				Entity callbacks on the other hand are managed in the Modeler as before.</p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a name="build-tools"></a>Build Tools</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e155"></a>cdbimport</h3></div></div></div><p>"cdbimport" has evolved from an experiment to a full-featured production tool that significantly reduces (and sometimes
-				eliminates) the need for manual maintenance of the DataMaps in CayenneModeler. Two improvements made this possible. First, smart
-				merge algorithm will ensure that custom changes to the model are not overridden on subsequent runs of "cdbimport". Second, the
-				mechanism for specifing DB reverse-engineering parameters, such as name filtering, is made much more powerful with many new options.
-				E.g. we started supporting filters by catalogs and schemas, table name filters can be added per catalog/schema or at the top level,
-				etc.
-			</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e160"></a>cgen</h3></div></div></div><p>As was mentioned above, cgen now includes Property&lt;T&gt; static variables for expression building. It is also made smarter about
-				its defaults for "destDir" and "superPkg".</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="d0e165"></a>Gradle Plugin</h3></div></div></div><p>
-				Cayenne now provides it's own Gradle Plugin that allows you easily integrate <code class="code">cdbimport</code>
-				and <code class="code">cgen</code> tools into your build process.
-				Here is example of it's usage:
-				</p><pre class="programlisting">
-buildscript {
-    repositories {
-        mavenCentral()
-    }
-    dependencies {
-        classpath group: 'org.apache.cayenne.plugins', name: 'cayenne-gradle-plugin', version: '4.1.M1'
-    }
-}
-
-apply plugin: 'org.apache.cayenne'
-
-cayenne.defaultDataMap 'datamap.map.xml'
-
-dependencies {
-    compile cayenne.dependency('server')
-    compile cayenne.dependency('java8')
-}</pre><p>
-			</p></div></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;</td></tr><tr><td width="40%" align="left" valign="top">Cayenne 4.0 New Features and Upgrade Guide&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;</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.1 (4.1.M2-SNAPSHOT)</th><th align="center">Guide to 4.1 Features</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;</td></tr></table><hr></div><div class="article"><div class="titlepage"><div><div><h1 class="title"><a name="d0e19"></a>Guide to 4.1 Features</h1></div></div><hr></div><p>This guide highlights the new features and changes introduced in Apache Cayenne 4.0. For a full list of changes consult
+		RELEASE-NOTES.txt included in Cayenne download. For release-specific upgrade instructions check UPGRADE.txt.</p><p>TODO</p></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;</td></tr><tr><td width="40%" align="left" valign="top">Cayenne 4.1 New Features and Upgrade Guide&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;</td></tr></table></div></body></html>
\ No newline at end of file

Modified: cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/index.html
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/index.html?rev=1812183&r1=1812182&r2=1812183&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/index.html (original)
+++ cayenne/site/cms/trunk/content/docs/4.1/upgrade-guide/index.html Sat Oct 14 14:31:14 2017
@@ -1,6 +1,6 @@
 <html><head>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-   <title xmlns:d="http://docbook.org/ns/docbook">Cayenne 4.0 New Features and Upgrade Guide</title><link rel="stylesheet" type="text/css" href="css/cayenne-doc.css"><meta xmlns:d="http://docbook.org/ns/docbook" name="keywords" content="Cayenne 4.1 documentation"><meta xmlns:d="http://docbook.org/ns/docbook" name="description" content="User documentation for Apache Cayenne version 4.1"><link rel="home" href="index.html" title="Cayenne 4.0 New Features and Upgrade Guide"><link rel="next" href="ar01.html" title="Guide to 4.0 Features"><script xmlns:d="http://docbook.org/ns/docbook" type="text/javascript">
+   <title xmlns:d="http://docbook.org/ns/docbook">Cayenne 4.1 New Features and Upgrade Guide</title><link rel="stylesheet" type="text/css" href="css/cayenne-doc.css"><meta xmlns:d="http://docbook.org/ns/docbook" name="keywords" content="Cayenne 4.1 documentation"><meta xmlns:d="http://docbook.org/ns/docbook" name="description" content="User documentation for Apache Cayenne version 4.1"><link rel="home" href="index.html" title="Cayenne 4.1 New Features and Upgrade Guide"><link rel="next" href="ar01.html" title="Guide to 4.1 Features"><script xmlns:d="http://docbook.org/ns/docbook" type="text/javascript">
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-7036673-1']);
   _gaq.push(['_trackPageview']);
@@ -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.1 (4.1.M1)</th><th align="center">Cayenne 4.0 New Features and Upgrade Guide</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="ar01.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="upgrade-guide"></a>Cayenne 4.0 New Features and Upgrade Guide</h1></div><div><p class="copyright">Copyright &copy; 2011-2017 Apache Software Foundation and individual authors</p></div><div><div class="legalnotice"><a name="d0e11"></a><p class="legalnotice-title"><b>License</b></p><p>Licensed to the Apache Software Foundation (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.1 (4.1.M2-SNAPSHOT)</th><th align="center">Cayenne 4.1 New Features and Upgrade Guide</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="ar01.html">Next</a></td></tr></table><hr></div><div class="book"><div class="titlepage"><div><div><h1 class="title"><a name="upgrade-guide"></a>Cayenne 4.1 New Features and Upgrade Guide</h1></div><div><p class="copyright">Copyright &copy; 2011-2017 Apache Software Foundation and individual authors</p></div><div><div class="legalnotice"><a name="d0e11"></a><p class="legalnotice-title"><b>License</b></p><p>Licensed to the Apache Software Foundation (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
@@ -17,4 +17,4 @@
                 http://www.apache.org/licenses/LICENSE-2.0</p><p>Unless required by applicable law or agreed to in writing, software distributed
                 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
                 CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
-                language governing permissions and limitations under the License.</p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="article"><a href="ar01.html">Guide to 4.0 Features</a></span></dt><dd><dl><dt><span class="section"><a href="ar01.html#java-version">Java Version</a></span></dt><dt><span class="section"><a href="ar01.html#cayenne-configuration">Cayenne Configuration</a></span></dt><dt><span class="section"><a href="ar01.html#framework-api">Framework API</a></span></dt><dt><span class="section"><a href="ar01.html#cayenne-modeler">CayenneModeler</a></span></dt><dt><span class="section"><a href="ar01.html#build-tools">Build Tools</a></span></dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ar01.html">Next</a></td>
 </tr><tr><td width="40%" align="left" valign="top">&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right" valign="top">&nbsp;Guide to 4.0 Features</td></tr></table></div></body></html>
\ No newline at end of file
+                language governing permissions and limitations under the License.</p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="article"><a href="ar01.html">Guide to 4.1 Features</a></span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left">&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ar01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right" valign="top">&nbsp;Guide to 4.1 Features</td></tr></table></div></body></html>
\ No newline at end of file