You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by jt...@apache.org on 2006/03/09 01:19:58 UTC

svn commit: r384386 [1/2] - in /db/derby/site/trunk: build/site/ build/site/binaries/ build/site/integrate/ build/site/integrate/plugin_help/ build/site/papers/ src/documentation/content/xdocs/ src/documentation/content/xdocs/binaries/ src/documentatio...

Author: jta
Date: Wed Mar  8 16:19:55 2006
New Revision: 384386

URL: http://svn.apache.org/viewcvs?rev=384386&view=rev
Log:
DERBY-1092 Added Susan Cline's "Using JPOX JDO with Derby" paper and zip
to the the Integration section. Adding it to the navigation causes all pages
on this tab to be modified.

Added:
    db/derby/site/trunk/build/site/binaries/jpox_derby.zip   (with props)
    db/derby/site/trunk/build/site/integrate/JPOX_Derby.html   (with props)
    db/derby/site/trunk/src/documentation/content/xdocs/binaries/jpox_derby.zip   (with props)
    db/derby/site/trunk/src/documentation/content/xdocs/integrate/JPOX_Derby.xml   (with props)
Modified:
    db/derby/site/trunk/build/site/derby_proposal.html
    db/derby/site/trunk/build/site/integrate/DerbyTomcat5512JPetStor.html
    db/derby/site/trunk/build/site/integrate/JPetStoreGeronimo.html
    db/derby/site/trunk/build/site/integrate/JPetStoreWebSphere.html
    db/derby/site/trunk/build/site/integrate/Readme.html
    db/derby/site/trunk/build/site/integrate/db_torque.html
    db/derby/site/trunk/build/site/integrate/derby_plugin.html
    db/derby/site/trunk/build/site/integrate/func_spec_plugins.html
    db/derby/site/trunk/build/site/integrate/index.html
    db/derby/site/trunk/build/site/integrate/misc.html
    db/derby/site/trunk/build/site/integrate/plugin_help/derby_app.html
    db/derby/site/trunk/build/site/integrate/plugin_help/ij.html
    db/derby/site/trunk/build/site/integrate/plugin_help/ij2.html
    db/derby/site/trunk/build/site/integrate/plugin_help/ij_toc.html
    db/derby/site/trunk/build/site/integrate/plugin_help/java_project.html
    db/derby/site/trunk/build/site/integrate/plugin_help/nature.html
    db/derby/site/trunk/build/site/integrate/plugin_help/nature_toc.html
    db/derby/site/trunk/build/site/integrate/plugin_help/properties.html
    db/derby/site/trunk/build/site/integrate/plugin_help/remove_nature.html
    db/derby/site/trunk/build/site/integrate/plugin_help/resources.html
    db/derby/site/trunk/build/site/integrate/plugin_help/server_toc.html
    db/derby/site/trunk/build/site/integrate/plugin_help/start_server.html
    db/derby/site/trunk/build/site/integrate/plugin_help/start_toc.html
    db/derby/site/trunk/build/site/integrate/plugin_help/stop_server.html
    db/derby/site/trunk/build/site/integrate/plugin_help/sysinfo.html
    db/derby/site/trunk/build/site/integrate/plugin_howto.html
    db/derby/site/trunk/build/site/integrate/plugin_slides.html
    db/derby/site/trunk/build/site/linkmap.html
    db/derby/site/trunk/build/site/papers/fortune_tut.html
    db/derby/site/trunk/src/documentation/content/xdocs/integrate/index.xml
    db/derby/site/trunk/src/documentation/content/xdocs/site.xml

Added: db/derby/site/trunk/build/site/binaries/jpox_derby.zip
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/binaries/jpox_derby.zip?rev=384386&view=auto
==============================================================================
Binary file - no diff available.

Propchange: db/derby/site/trunk/build/site/binaries/jpox_derby.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: db/derby/site/trunk/build/site/derby_proposal.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/derby_proposal.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/derby_proposal.html (original)
+++ db/derby/site/trunk/build/site/derby_proposal.html Wed Mar  8 16:19:55 2006
@@ -228,6 +228,9 @@
 <a href="binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/DerbyTomcat5512JPetStor.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/DerbyTomcat5512JPetStor.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/DerbyTomcat5512JPetStor.html (original)
+++ db/derby/site/trunk/build/site/integrate/DerbyTomcat5512JPetStor.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menupage">

Added: db/derby/site/trunk/build/site/integrate/JPOX_Derby.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/JPOX_Derby.html?rev=384386&view=auto
==============================================================================
--- db/derby/site/trunk/build/site/integrate/JPOX_Derby.html (added)
+++ db/derby/site/trunk/build/site/integrate/JPOX_Derby.html Wed Mar  8 16:19:55 2006
@@ -0,0 +1,1204 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.7">
+<meta name="Forrest-skin-name" content="pelt">
+<title>Using JPOX JDO with Derby</title>
+<link type="text/css" href="../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../skin/profile.css" rel="stylesheet">
+<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<div class="breadtrail">
+<a href="http://www.apache.org/">apache</a> &gt; <a href="http://db.apache.org/">db</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<div class="header">
+<div class="grouplogo">
+<a href="http://db.apache.org/derby"><img class="logoImage" alt="Apache Derby" src="../images/derby-logo-web.png" title="Derby is a zero-admin Java RDBMS"></a>
+</div>
+<div class="projectlogoA1">
+<a href="http://db.apache.org"><img class="logoImage" alt="Apache DB Project" src="../images/db-logo-white.png" title="Apache DB creates and maintains database solutions."></a>
+</div>
+<ul id="tabs">
+<li>
+<a class="base-not-selected" href="../index.html">Home</a>
+</li>
+<li>
+<a class="base-not-selected" href="../derby_comm.html">Community</a>
+</li>
+<li>
+<a class="base-not-selected" href="../manuals/index.html">Manuals</a>
+</li>
+<li>
+<a class="base-not-selected" href="../papers/index.html">Papers</a>
+</li>
+<li class="current">
+<a class="base-selected" href="../integrate/index.html">Integration</a>
+</li>
+</ul>
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<div id="level2tabs"></div>
+<script type="text/javascript"><!--
+document.write("<text>Last Published:</text> " + document.lastModified);
+//  --></script>
+</div>
+<div class="breadtrail">
+             
+             &nbsp;
+           </div>
+<div id="menu">
+<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Integration</div>
+<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
+<div class="menuitem">
+<a href="../integrate/index.html">Index</a>
+</div>
+<div class="menuitem">
+<a href="http://wiki.apache.org/db-derby/UsesOfDerby">UsesOfDerby</a>
+</div>
+<div class="menuitem">
+<a href="../binaries/HOWTO_CJDBC_Derby_v0.2.pdf">C-JDBC (PDF)</a>
+</div>
+<div class="menuitem">
+<a href="../binaries/HOWTO_CJDBC_Derby_v0.2.sxw">C-JDBC (SXW)</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/DOTS_Derby.htm">DOTS Derby</a>
+</div>
+<div class="menuitem">
+<a href="../binaries/UsingDotsDerbySystemTest.pdf">DOTS System</a>
+</div>
+<div class="menuitem">
+<a href="../binaries/DerbyCodeCoverageUsingEmma.pdf">EMMA</a>
+</div>
+<div class="menuitem">
+<a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
+</div>
+<div class="menupage">
+<div class="menupagetitle">JPOX JDO</div>
+</div>
+<div class="menuitem">
+<a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/DerbyTomcat5512JPetStor.html">Tomcat Demo</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/db_torque.html">Torque</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/JPetStoreWebSphere.html">WebSphere Demo</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2', '../skin/')" id="menu_1.2Title" class="menutitle">Eclipse Plug-ins</div>
+<div id="menu_1.2" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/derby_plugin.html">10.1 Core</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/func_spec_plugins.html">1.0 UI Functional Spec</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_howto.html">10.1 Core and 1.1 UI</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/Readme.html">Building 1.1 UI</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_slides.html">Derby Plug-ins Slides and Lab</a>
+</div>
+<div onclick="SwitchMenu('menu_1.2.6', '../skin/')" id="menu_1.2.6Title" class="menutitle">10.1 Core and 1.1 UI Documentation</div>
+<div id="menu_1.2.6" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/plugin_help/start_toc.html">Getting Started</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/java_project.html">Creating an Eclipse Project</a>
+</div>
+<div onclick="SwitchMenu('menu_1.2.6.3', '../skin/')" id="menu_1.2.6.3Title" class="menutitle">Derby Nature</div>
+<div id="menu_1.2.6.3" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/plugin_help/nature_toc.html">Adding or Removing</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/nature.html">Adding the Derby Nature</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/remove_nature.html">Removing the Derby Nature</a>
+</div>
+</div>
+<div onclick="SwitchMenu('menu_1.2.6.4', '../skin/')" id="menu_1.2.6.4Title" class="menutitle">Network Server</div>
+<div id="menu_1.2.6.4" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/plugin_help/server_toc.html">Starting and Stopping</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/start_server.html">Starting the Server</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/stop_server.html">Stopping the Server</a>
+</div>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/properties.html">Derby Properties</a>
+</div>
+<div onclick="SwitchMenu('menu_1.2.6.6', '../skin/')" id="menu_1.2.6.6Title" class="menutitle">ij</div>
+<div id="menu_1.2.6.6" class="menuitemgroup">
+<div class="menuitem">
+<a href="../integrate/plugin_help/ij_toc.html">Using ij</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/ij.html">SQL commands</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/ij2.html">SQL scripts</a>
+</div>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/derby_app.html">Building a Java App</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/sysinfo.html">Running sysinfo</a>
+</div>
+<div class="menuitem">
+<a href="../integrate/plugin_help/resources.html">Derby Manuals</a>
+</div>
+</div>
+</div>
+<div class="searchbox">
+<hr>
+<form action="http://www.google.com/search" method="get">
+<input value="db.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="18" name="q" id="query" type="text" value="Search the site with google">&nbsp; 
+                  <input attr="value" name="Search" value="Search" type="submit">
+</form>
+</div>
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<div id="credit2"></div>
+</div>
+<div id="content">
+<div class="trail">
+<text>Font size:</text> 
+	          &nbsp;<input value="Reset" class="resetfont" title="Reset text" onclick="ndeSetTextSize('reset'); return false;" type="button">      
+	          &nbsp;<input value="-a" class="smallerfont" title="Shrink text" onclick="ndeSetTextSize('decr'); return false;" type="button">
+	          &nbsp;<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
+</div>
+<h1>Using JPOX JDO with Derby</h1>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#Overview">Overview</a>
+</li>
+<li>
+<a href="#Step+1.+Prerequisites">Step 1. Prerequisites</a>
+</li>
+<li>
+<a href="#Step+2.+Download+sample+code+and+configuration+files">Step 2. Download sample code and configuration files</a>
+</li>
+<li>
+<a href="#Step+3.+Examine%2FCreate+the+Database+schema">Step 3. Examine/Create the Database schema</a>
+</li>
+<li>
+<a href="#Step+4.+Write+the+classes+used+to+persist+the+data">Step 4. Write the classes used to persist the data</a>
+</li>
+<li>
+<a href="#Step+5.++Create+the+JDO+meta-data+mapping+file">Step 5.  Create the JDO meta-data mapping file</a>
+</li>
+<li>
+<a href="#Step+6.+Create+a+log4j.properties+file+to+be+used+by+JPOX">Step 6. Create a log4j.properties file to be used by JPOX</a>
+</li>
+<li>
+<a href="#Step+7.+Enhancing+the+JPOX+classes">Step 7. Enhancing the JPOX classes</a>
+</li>
+<li>
+<a href="#Step+8.+Code+the+class+which+makes+the+JPOX+JDO+queries">Step 8. Code the class which makes the JPOX JDO queries</a>
+</li>
+<li>
+<a href="#Step+9.+Code+the+application+class+which+calls+the+business+logic+class">Step 9. Code the application class which calls the business logic class</a>
+</li>
+<li>
+<a href="#Step+10.+Compile+all+classes%2C+enhance+the+persistence+capable+ones+and+run+the+application">Step 10. Compile all classes, enhance the persistence capable ones and run the application</a>
+</li>
+<li>
+<a href="#Resources+and+Acknowledgements">Resources and Acknowledgements</a>
+</li>
+</ul>
+</div> 
+
+
+<a name="N1000C"></a><a name="Overview"></a>
+<h2 class="boxed">Overview</h2>
+<div class="section">
+<p>
+This paper gives a concrete example of using JPOX JDO to persist and retrieve 
+data to and from Apache Derby.  Java Data Objects (JDO) is a specification for 
+persisting Java objects. JPOX JDO 1.1 is the reference implementation for the 
+JDO 2.0 specification. The JDO 2.0 API is provided by the Apache JDO project
+and is required to run JPOX JDO 1.1. The JDO 2.0 API conforms to the JDO 2.0
+specification.
+</p>
+<p>Apache Derby, a subproject of the Apache DB project, is a standards compliant database, written and implemented entirely in Java.  </p>
+<p>The steps below show how to use the bottom-up approach to designing an 
+application which persists Derby data using JPOX Java Data Objects.  The 
+bottom-up approach means the database schema has already been defined. We 
+will need to provide an object to relational mapping file and the Java 
+classes (objects) which will be made persistence capable.  
+(The alternate approach, called top-down, is to define the Java classes 
+and then generate the database schema based on the mapping file between 
+database and object classes.)
+</p>
+<p>
+The section, <em>Download sample code and configuration files</em>, contains a 
+zip file which includes a populated Derby database and SQL to create the 
+database schema (if desired), Java source files, the JPOX JDO meta-data file 
+and the application classes to issue the JPOX queries.  This is not a detailed 
+explanation of either JPOX or Derby, but should be used as a "cookbook" on how 
+to use the two together. 
+</p>
+</div>
+
+
+<a name="N10022"></a><a name="Step+1.+Prerequisites"></a>
+<h2 class="boxed">Step 1. Prerequisites</h2>
+<div class="section">
+<p>
+The following software needs to be downloaded and installed prior to using the
+source files provided in the download zip file, <span class="codefrag">jpox_derby.zip</span>. 
+</p>
+<table class="ForrestTable" cellspacing="1" cellpadding="4">
+
+<tr>
+
+<th colspan="1" rowspan="1">Software</th>
+<th colspan="1" rowspan="1">Minimum Release Level Required</th>
+<th colspan="1" rowspan="1">Release Used in this Example</th>
+<th colspan="1" rowspan="1">Download Location</th>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">Java JDK or SDK</td> 
+<td colspan="1" rowspan="1">1.4.2</td>
+<td colspan="1" rowspan="1">1.4.2</td>
+<td colspan="1" rowspan="1">Sun or IBM</td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">Apache Derby</td>
+<td colspan="1" rowspan="1">10.1</td>
+<td colspan="1" rowspan="1">10.1.2</td>
+<td colspan="1" rowspan="1"><a href="http://db.apache.org/derby/derby_downloads.html">Apache Derby</a></td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">Apache JDO</td>
+<td colspan="1" rowspan="1">2.0-snapshot7.jar</td> 
+<td colspan="1" rowspan="1">2.0-rc1</td>
+<td colspan="1" rowspan="1"><a href="http://db.apache.org/jdo/releases/release-2.0-rc1.cgi">Apache JDO, 2.0 RC1</a></td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">JPOX JDO "Core"</td> 
+<td colspan="1" rowspan="1">1.1.0-beta 5</td>  
+<td colspan="1" rowspan="1">1.1.0-rc-1</td>
+<td colspan="1" rowspan="1">JPOX "core" <a class="external" href="http://www.jpox.org/docs/download.html">jpox.org</a></td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">JPOX JDO Enhancer</td>
+<td colspan="1" rowspan="1">1.1.0-beta 5</td>
+<td colspan="1" rowspan="1">1.1.0-rc-1</td>
+<td colspan="1" rowspan="1">JPOX Enhancer <a class="external" href="http://www.jpox.org/docs/download.html">jpox.org</a></td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">Apache Jakarta Byte Code Engineering Library (BCEL)</td>
+<td colspan="1" rowspan="1">5.1</td>
+<td colspan="1" rowspan="1">5.1</td>
+<td colspan="1" rowspan="1"><a class="external" href="http://jakarta.apache.org/site/downloads/downloads_bcel.cgi/">BCEL</a>(Used by JPOX during the enhancement of the Java classes.)</td>
+
+</tr>
+
+<tr>
+
+<td colspan="1" rowspan="1">Apache Log4j</td>
+<td colspan="1" rowspan="1">1.2.8</td>
+<td colspan="1" rowspan="1">1.2.12</td>
+<td colspan="1" rowspan="1"><a class="external" href="http://logging.apache.org/site/binindex.cgi">Apache Log4j</a></td>
+
+</tr>
+
+</table>
+</div>
+
+
+<a name="N100F8"></a><a name="Step+2.+Download+sample+code+and+configuration+files"></a>
+<h2 class="boxed">Step 2. Download sample code and configuration files</h2>
+<div class="section">
+<p>
+This paper will list each step required to get the sample application up and running, including partial code listings.  However, to get the most
+out of this paper download the file, <a href="../binaries/jpox_derby.zip">jpox_derby.zip</a> to follow along with each step or to view the entire source and configuration files.
+</p>
+<p>
+After downloading the <span class="codefrag">jpox_derby.zip</span> file unzip it to a
+convenient directory.  The examples that follow assume it was unzipped 
+to the C:/ directory on a windows machine.
+</p>
+</div>
+
+
+<a name="N1010C"></a><a name="Step+3.+Examine%2FCreate+the+Database+schema"></a>
+<h2 class="boxed">Step 3. Examine/Create the Database schema</h2>
+<div class="section">
+<p>
+As mentioned above, using the bottom-up approach means we need to 
+define our database schema first.  The schema shown below consists of five tables for a simple airlines reservation system. The data directory
+contained in the zip file contains the airlinesDB already populated
+with these tables and data.  However, if you would like to run the SQL 
+at a later time to create the database, the airlinesDB.sql file contained
+in the zip file can be used to do so. 
+</p>
+<p>
+<strong>SQL for Derby database tables</strong>
+</p>
+<p class="code-block">CREATE TABLE APP.CITIES
+(
+CITY_ID          INTEGER NOT NULL CONSTRAINT cities_pk PRIMARY KEY,
+CITY_NAME        VARCHAR(24) NOT NULL,
+COUNTRY          VARCHAR(26) NOT NULL,
+AIRPORT          VARCHAR(26),
+LANGUAGE         VARCHAR(16),
+COUNTRY_ISO_CODE CHAR(2) 
+);
+
+CREATE TABLE APP.FLIGHTS
+(
+FLIGHT_ID      CHAR(6) NOT NULL,
+SEGMENT_NUMBER INTEGER NOT NULL,
+ORIG_AIRPORT   CHAR(3),
+DEPART_TIME    TIME,
+DEST_AIRPORT   CHAR(3),
+ARRIVE_TIME    TIME,
+MEAL           CHAR(1) CONSTRAINT MEAL_CONSTRAINT 
+CHECK (meal IN ('B', 'L', 'D', 'S')),
+FLYING_TIME    DOUBLE PRECISION,
+MILES          INTEGER,
+AIRCRAFT       VARCHAR(6),
+DEPART_DATE	 DATE,
+CONSTRAINT FLIGHTS_PK Primary Key (FLIGHT_ID)
+);
+
+CREATE INDEX DESTINDEX ON APP.FLIGHTS (DEST_AIRPORT) ;
+
+CREATE INDEX ORIGINDEX ON APP.FLIGHTS (ORIG_AIRPORT) ;
+
+CREATE TABLE APP.USERS 
+(
+FIRSTNAME VARCHAR(40) NOT NULL,
+LASTNAME VARCHAR (40) NOT NULL,
+USERNAME VARCHAR(20) NOT NULL CONSTRAINT username_pk PRIMARY KEY, 
+PASSWORD VARCHAR(20) NOT NULL,
+PASSWORD_VERIFY VARCHAR(20),
+EMAIL VARCHAR(30) NOT NULL
+);
+
+CREATE TABLE APP.USER_CREDIT_CARD
+(
+ID INT NOT NULL GENERATED ALWAYS AS IDENTITY CONSTRAINT user_cc_pk PRIMARY KEY,
+USERNAME varchar(20) NOT NULL,
+LASTNAME varchar(40),
+CREDIT_CARD_TYPE varchar(15) NOT NULL,
+CREDIT_CARD_NUMBER varchar(20) NOT NULL,
+CREDIT_CARD_DISPLAY varchar(25) NOT NULL
+);
+  
+ALTER TABLE APP.USER_CREDIT_CARD ADD CONSTRAINT USERNAME_FK
+Foreign Key (username) REFERENCES APP.USERS (username);
+
+CREATE TABLE APP.FLIGHTHISTORY
+(
+ID INT NOT NULL GENERATED ALWAYS AS IDENTITY CONSTRAINT user_fh_pk PRIMARY KEY,
+USERNAME       VARCHAR(20) NOT NULL,
+FLIGHT_ID      CHAR(6) NOT NULL,
+ORIG_AIRPORT   CHAR(3) NOT NULL,
+DEST_AIRPORT   CHAR(3) NOT NULL,
+MILES     	 INTEGER,
+AIRCRAFT       VARCHAR(6),
+DEPARTURE_DATE VARCHAR(25),
+CREDIT_CARD_TYPE varchar(15) NOT NULL,
+CREDIT_CARD_DISPLAY varchar(25) NOT NULL
+);
+   
+ALTER TABLE APP.FLIGHTHISTORY ADD CONSTRAINT USERNAME_FH_FK
+Foreign Key (username) REFERENCES APP.USERS (username);
+</p>
+</div>
+
+
+<a name="N1011E"></a><a name="Step+4.+Write+the+classes+used+to+persist+the+data"></a>
+<h2 class="boxed">Step 4. Write the classes used to persist the data</h2>
+<div class="section">
+<p>
+Once you have created the database schema you will need to code one class for
+each corresponding database table you want to persist using JPOX.  The Java
+class needs to consist of setters and getters with a default constructor to 
+match the database table. 
+</p>
+<p>
+Here's the class that corresponds to the APP.CITIES table above.  The only 
+constraint on the Java class to be persisted is it must have a default 
+constructor, which can be private if you want it to be.  The source code for all five java classes that correspond to the database schema shown above is in  
+<span class="codefrag">jpox_derby.zip</span>.
+</p>
+<p>
+<strong>Partial listing of CityBean.Java</strong>
+</p>
+<p class="code-block">
+public class CityBean {
+	
+	private int cityId;
+
+	private String cityName;
+
+	private String country;
+
+	private String airport;
+
+	private String language; 
+
+	private String countryCode; 
+
+	public CityBean() {
+		cityId = 0;
+		cityName = "";
+		country = "";
+		airport = "";
+		language = "";
+		countryCode = "";
+	}
+
+	public CityBean(int city_id, String city, String ctry, String air) {
+		cityId = city_id;
+		cityName = city;
+		country = ctry;
+		airport = air;
+	}
+
+	public CityBean(int cityId, String cityName, String country,
+			String airport, String language, String countryCode) {
+		this.cityId = cityId;
+		this.cityName = cityName;
+		this.country = country;
+		this.airport = airport;
+		this.language = language;
+		this.countryCode = countryCode;
+	}
+
+	public String getAirport() {
+		return airport;
+	}
+
+	public void setAirport(String airport) {
+		this.airport = airport;
+	}
+
+        // create getters and setters for all other member variables
+
+        ...
+
+}
+</p>
+</div>
+
+
+<a name="N10136"></a><a name="Step+5.++Create+the+JDO+meta-data+mapping+file"></a>
+<h2 class="boxed">Step 5.  Create the JDO meta-data mapping file</h2>
+<div class="section">
+<p>
+By convention this file is usually referred to as <span class="codefrag">package.jdo</span>.
+Take a look at the partial listing of the <span class="codefrag">package.jdo</span> file I am using to map 
+the Derby database tables to the Java classes. (The full package.jdo is available in the download.)
+</p>
+<p>
+<strong>Partial listing of package.jdo</strong>
+</p>
+<p class="code-block">
+
+&lt;?xml version="1.0"?&gt;
+&lt;!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects 
+Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd"&gt;
+ &lt;jdo&gt;
+  &lt;package name="org.apache.derby.demo.beans.view"&gt;
+   &lt;class name="CityBean" identity-type="application" table="CITIES"&gt;
+    &lt;field name="cityId" primary-key="true"&gt;
+     &lt;column name="CITY_ID" jdbc-type="INTEGER"/&gt;
+    &lt;/field&gt;
+    &lt;field name="cityName"&gt;
+     &lt;column name="CITY_NAME" length="24" jdbc-type="VARCHAR"/&gt;
+    &lt;/field&gt;
+    &lt;field name="country"&gt;
+     &lt;column name="COUNTRY" length="26" jdbc-type="VARCHAR"&gt;&lt;/column&gt;
+    &lt;/field&gt;
+    &lt;field name="airport"&gt;
+     &lt;column name="AIRPORT" length="26" jdbc-type="VARCHAR" allows-null=""&gt;
+     &lt;/column&gt;
+    &lt;/field&gt;
+    &lt;field name="language"&gt;
+     &lt;column name="LANGUAGE" length="16" jdbc-type="VARCHAR" allows-null=""&gt;
+     &lt;/column&gt;
+    &lt;/field&gt;
+    &lt;field name="countryCode"&gt;
+     &lt;column name="COUNTRY_ISO_CODE" length="2" jdbc-type="CHAR" allows-null=""&gt;
+     &lt;/column&gt;
+    &lt;/field&gt;
+   &lt;/class&gt;
+   &lt;class name="FlightsBean" identity-type="application" table="FLIGHTS"&gt;
+    &lt;field name="flightId" primary-key="true"&gt;
+  
+    ...
+
+   &lt;class name="FlightHistoryBean" identity-type="application" 
+     table="FLIGHTHISTORY" detachable="true"&gt;   
+    &lt;field name="id" primary-key="true" value-strategy="autoassign"&gt;         
+     &lt;column name="id"  jdbc-type="INTEGER"/&gt;
+    &lt;/field&gt;
+
+    ... 
+
+   &lt;/class&gt;
+  &lt;/package&gt;
+  &lt;package name="org.apache.derby.demo.beans.model"&gt;
+   &lt;class name="UserBean" identity-type="application" table="USERS" 
+    detachable="true"&gt;
+
+   ... 
+
+   &lt;class name="UserCreditCardBean" identity-type="application" 
+    table="USER_CREDIT_CARD"&gt;      
+
+  ...
+
+   &lt;/class&gt;
+  &lt;/package&gt;
+ &lt;/jdo&gt;
+</p>
+<p>
+The package name refers to the package of the Java class, the class 
+to the Java Class and the table attribute in the class element is the 
+name of the database table.  Some of the interesting things to note 
+are the use of primary keys and the autoassign attribute for the 
+FlightHistoryBean (FlightHistory table).  Here is the section showing
+the FlightHistoryBean to FlightHistory table mapping:
+</p>
+<p class="code-block">
+   &lt;class name="FlightHistoryBean" identity-type="application" 
+     table="FLIGHTHISTORY" detachable="true"&gt;   
+    &lt;field name="id" primary-key="true" value-strategy="autoassign"&gt;         
+     &lt;column name="id"  jdbc-type="INTEGER"/&gt;
+    &lt;/field&gt;
+</p>
+<p>
+Referring back to the first part of the create table statement of the FlightHistory table above:
+</p>
+<p class="code-block">
+CREATE TABLE APP.FLIGHTHISTORY
+(
+id int not null generated always as identity constraint user_fh_pk primary key,
+USERNAME       VARCHAR(20) NOT NULL,
+...
+</p>
+<p>
+notice how the id column is the primary key which is generated as an identity
+column.  To map this to the persistence class the value-strategy must be
+autoassign.  
+</p>
+<p>
+This meta-data file, <span class="codefrag">package.jdo</span>, needs to be at a level in the 
+source tree that includes all classes it references.  For instance, the 
+<span class="codefrag">package.jdo</span> below references classes in the <span class="codefrag">org.apache.derby.demo.beans.view</span> and <span class="codefrag">org.apache.derby.demo.beans.model</span> 
+packages, so the <span class="codefrag">package.jdo</span> file would need to be at the level 
+of <span class="codefrag">org.apache.derby.demo.beans</span> to ensure that it can have 
+access to the <span class="codefrag">view</span> and <span class="codefrag">model</span> packages below the 
+beans package.
+</p>
+<p>
+For this reason I just put my <span class="codefrag">package.jdo</span> at the top level of all 
+of the packages I'm using.
+</p>
+</div>
+
+
+<a name="N10180"></a><a name="Step+6.+Create+a+log4j.properties+file+to+be+used+by+JPOX"></a>
+<h2 class="boxed">Step 6. Create a log4j.properties file to be used by JPOX</h2>
+<div class="section">
+<p>
+JPOX uses Apache Log4j to report output and errors.  Therefore a 
+<span class="codefrag">log4j.properties</span> file is required.  A sample one is shown below which includes JPOX specific categories. The file to be used for the JPOX output is called jpox.log.  Check this log for messages if you have problems during enhancement or runtime.
+</p>
+<p>
+<strong>log4j.properties file required by JPOX</strong>
+</p>
+<p class="code-block">
+# Define the destination and format of our logging
+log4j.appender.A1=org.apache.log4j.FileAppender
+log4j.appender.A1.File=jpox.log
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
+
+# JPOX Categories
+log4j.category.JPOX.JDO=INFO, A1
+log4j.category.JPOX.Cache=INFO, A1
+log4j.category.JPOX.MetaData=INFO, A1
+log4j.category.JPOX.General=INFO, A1
+log4j.category.JPOX.Utility=INFO, A1
+log4j.category.JPOX.Transaction=INFO, A1
+log4j.category.JPOX.RDBMS=DEBUG, A1
+
+log4j.category.JPOX.Enhancer=INFO, A1
+log4j.category.JPOX.SchemaTool=INFO, A1
+</p>
+</div>
+
+<a name="N10194"></a><a name="Step+7.+Enhancing+the+JPOX+classes"></a>
+<h2 class="boxed">Step 7. Enhancing the JPOX classes</h2>
+<div class="section">
+<p>
+After all of the Java classes representating the objects corresponding
+to the database tables have been written, they first need to be
+compiled and then they need to be "enhanced", which makes them 
+persistence-capabable.  JPOX provides a helper class to do this for you which is contained in the jar file <span class="codefrag">jpox-enhancer-*.jar.</span> and is called <span class="codefrag">org.jpox.enhancer.JPOXEnhancer</span>.
+</p>
+<p>
+We'll differ the compilation and enhancement step until we are ready
+to configure our environment after we've coded the business logic
+class and application class.
+</p>
+</div>
+
+
+<a name="N101A6"></a><a name="Step+8.+Code+the+class+which+makes+the+JPOX+JDO+queries"></a>
+<h2 class="boxed">Step 8. Code the class which makes the JPOX JDO queries</h2>
+<div class="section">
+<p>
+Here is the class that contains the business logic specific to our trivialized
+airlines reservation application. Also shown is a properties file that is read upon startup to set some JPOX and JDO properties.  Although these properties
+are required to configure JPOX appropriately to work with Derby, they can be set
+from within the application, versus using a properties file as I've done here.  The complete source for this class is available in the download.
+</p>
+<p>
+<strong>Partial listing of JPoxJDO.java containing the JPOX queries</strong>
+</p>
+<p class="code-block">
+package org.apache.derby.demo.persistence;
+
+import javax.jdo.JDOHelper;
+import javax.jdo.PersistenceManager;
+import javax.jdo.PersistenceManagerFactory;
+import javax.jdo.Query;
+import javax.jdo.Transaction;
+
+...
+
+public class JPoxJDO {
+
+  private static final String JPOX_CONFIG = "jpox.properties";
+  private static Properties prop;
+  private boolean isInitialized = false;
+  private PersistenceManager pm;
+
+  public JPoxJDO() {
+    if (isInitialized) {
+      return;
+    }
+    else {
+      initialize();
+    }
+		
+  }
+
+  private void initialize() {
+
+    System.out.println("JpoxJDO, initialize called");
+    getDatasourceProps();
+    pm = createPersistenceManager();
+    isInitialized = true;
+    return;
+  }
+
+  // load all of the various JPOX properties from a properties file
+
+  private void getDatasourceProps() {
+    InputStream is = this.getClass().getResourceAsStream(JPOX_CONFIG);
+
+    prop = new Properties();
+    try {
+      prop.load(is);
+    } catch (IOException exception) {
+      throw new RuntimeException("jpox.properties not found.",
+					exception);
+    }
+  }
+
+  // create the PersistenceManager using the JDO Helper class
+  // the persistencemanage is used for all JPOX transactions
+
+  private static PersistenceManager createPersistenceManager() {
+
+  PersistenceManagerFactory pmf = JDOHelper
+				.getPersistenceManagerFactory(prop);
+
+  return pmf.getPersistenceManager();
+
+  }
+
+  // close the persistence manager.
+
+  public void shutdown() {
+    if (pm != null) {
+    pm.close();
+    }
+
+  }
+
+  // If the username is in the APP.USERS table retrieve
+  // the database row, which in JPOX is the class UserBean
+
+  public UserBean getUserPassword(String userName) {
+
+    UserBean userBean;
+
+    Transaction txn = pm.currentTransaction();
+    try {
+      txn.begin();
+      // this represents the equivalent of the SQL query:
+      // select username, password from APP.USERS where username = ?
+      Query query = pm.newQuery(UserBean.class, "userName == username");
+      query.declareParameters("String username");
+      query.setUnique(true);
+      userBean = (UserBean) query.execute(userName.trim());
+      pm.retrieve(userBean);
+      if (userBean == null) {
+        userBean = new UserBean();
+      }
+      txn.commit();
+    } finally {
+      if (txn.isActive()) {
+        txn.rollback();
+      }
+    }
+    return userBean;
+  }
+
+  // Insert a row into the APP.USERS table by first creating a
+  // UserBean, then using JPOX to persist the UserBean to Derby.
+
+  public int insertUser(String firstName, String lastName, String userName,
+			String email, String password) {
+
+  ...
+
+
+  // insert a row into the UserCreditCard table by first
+  // creating a UserCreditCardBean and then using JPOX
+  // to persist the data
+
+  public int insertUserCreditCard(String lastname, String userName,
+    String creditCardType, String creditCardNum, String creditCardDisplay) {
+
+    int success = 0;
+    UserCreditCardBean userCCBean = new UserCreditCardBean(lastname.trim(),
+      userName.trim(), creditCardType.trim(), creditCardNum.trim(),
+				creditCardDisplay.trim());
+
+    Transaction txn = pm.currentTransaction();
+    try {
+      txn.begin();
+      pm.makePersistent(userCCBean);
+      txn.commit();
+      success = 1;
+    } finally {
+      if (txn.isActive()) {
+        txn.rollback();
+        success = 0;
+      }
+    }
+    return success;
+  }
+
+  // query for the Destination Airports of a City based on
+  // the Origin Airport of a flight
+  // return the data in the form of the JPOX enhanced class,
+  // CityBean
+
+  public CityBean[] destAirports(String origAirport) {
+
+  ...
+
+  // query for all Cities in the APP.CITIES table
+  // returning an Array of CityBeans
+
+  public CityBean[] cityList() {
+
+  ...
+
+  // return an array of FlightsBean which include a specific
+  // ORIG_AIRPORT and DEST_AIRPORT
+
+  public FlightsBean[] origDestFlightList(String origAirport,
+    String destAirport, Date startDate) {
+
+  ...
+
+  // return the rows in the FlightHistory table based on the Username
+  // in the form of an array of FlightHistoryBeans
+
+  public FlightHistoryBean[] fetchFlightHistory(String userName) {
+
+   ...
+
+  // insert into the UserFlightHistory table by creating
+  // the FlightHistoryBean and persisting it to Derby
+
+  public int insertUserFlightHistory(String userName, FlightsBean flightsBean,
+    String creditCardType, String creditCardDisplay) {
+
+  ...
+}
+</p>
+<p>
+Notice the use of the <span class="codefrag">javax.jdo.Query and javax.jdo.Transaction</span>
+classes to create the queries and transactions used by JPOX.
+</p>
+<p>
+Here is the properties file, <span class="codefrag">jpox.properties</span>, used by the <span class="codefrag">JPoxJDO.java</span> 
+class to set properties for JDO and JPOX. The Derby JDBC Embedded Driver is used for the JDBC Driver and the Derby Connection URL points to the
+relative path to the <span class="codefrag">airlinesDB</span> database under the data directory.
+</p>
+<p>
+<strong>Properties file to set the JPOX properties</strong>
+</p>
+<p class="code-block">
+javax.jdo.PersistenceManagerFactoryClass=org.jpox.PersistenceManagerFactoryImpl
+org.jpox.autoCreateSchema=false
+org.jpox.validateTables=false
+org.jpox.validateConstraints=false
+javax.jdo.option.NontransactionalRead=true
+javax.jdo.option.ConnectionDriverName=org.apache.derby.jdbc.EmbeddedDriver
+javax.jdo.option.ConnectionURL=jdbc:derby:data/airlinesDB
+javax.jdo.option.ConnectionUserName=APP
+javax.jdo.option.ConnectionPassword=mine
+</p>
+<p>
+Prior to running the sample application below make sure the <span class="codefrag">jpox.properties</span> file is in the directory where the <span class="codefrag">JPoxJDO</span> class is since the <span class="codefrag">jpox.properties</span> file
+is read at run time to initialize the <span class="codefrag">JPoxJDO</span> class.
+</p>
+</div>
+
+
+<a name="N101E0"></a><a name="Step+9.+Code+the+application+class+which+calls+the+business+logic+class"></a>
+<h2 class="boxed">Step 9. Code the application class which calls the business logic class</h2>
+<div class="section">
+<p>
+The <span class="codefrag">DerbyJPox.java</span> class calls the methods of the <span class="codefrag">JPoxJDO.java</span> class as you might in a sample application.
+</p>
+<p>
+<strong>Partial Listing of DerbyJPox.java application class</strong>
+</p>
+<p class="code-block">
+package org.apache.derby.demo.application;
+
+public class DerbyJPox {
+
+  public static void main(String[] args) {
+  JPoxJDO jpoxJDO = new JPoxJDO();
+  UserBean userBean = jpoxJDO.getUserPassword("apacheu");
+
+  ...
+
+  // Note, the user table has a primary key on username ... this insert
+  // will only work once.
+
+  int success = jpoxJDO.insertUser("Susan", "Cline", "slc",
+                 "slc@mycomp.org", "mypass");
+  ...
+
+  CityBean[] cityBeans = jpoxJDO.destAirports("ATH");
+  ...
+
+  FlightsBean flightsBean = new FlightsBean("AA1134", 1, "ATH", new Time(0), "AMS", 
+    new Time(1), "B", 12.00, "1200", "B747", new Date());
+  int success2 = jpoxJDO.insertUserFlightHistory("slc", flightsBean,
+				"visa", "4728-xxxx-xxxx-xxxx-4567");
+  ...
+
+  FlightHistoryBean[] flightHistoryBeans = jpoxJDO.fetchFlightHistory("slc");
+  ...
+  jpoxJDO.shutdown();
+  ...
+  }
+}
+
+</p>
+</div>
+
+
+<a name="N101F7"></a><a name="Step+10.+Compile+all+classes%2C+enhance+the+persistence+capable+ones+and+run+the+application"></a>
+<h2 class="boxed">Step 10. Compile all classes, enhance the persistence capable ones and run the application</h2>
+<div class="section">
+<p>
+The instructions below show how to compile all classes and enhance the persistence-capable classes assuming the download file, <span class="codefrag">jpox_derby.zip</span> was unzipped to the C:/ directory on a windows machine.
+</p>
+<p>
+
+<strong>Directory structure after unzipping <span class="codefrag">jpox_derby.zip</span></strong>
+</p>
+<p class="code-block">
+C:\JPOX_Derby
+|
++ --- data 
+|     |
+|     + --- airlinesDB.sql
+|     + --- airlinesDB
+|
++ --- src (the java source files)
+|     |
+|     + --- package.jdo
+|     + --- log4j.properties
+|     + --- org
+|           |
+|           + --- apache
+|                 |
+|                 + --- derby
+|                       |
+|                       + --- demo
+|                             |
+|                             + --- application
+|                             |     |
+|                             |     + --- DerbyJPox.java
+|                             |     |
+|                             + --- beans
+|                             |     |
+|                             |     + --- model
+|                             |     |     |
+|                             |     |     + --- UserBean.java
+|                             |     |     + --- UserCreditCardBean.java
+|                             |     |  
+|                             |     + --- view
+|                             |     |     |
+|                             |     |     + --- CityBean.java
+|                             |     |     + --- FlightHistoryBean.java
+|                             |     |     + --- FlightsBean.java
+|                             |     |
+|                             + --- persistence
+|                             |     |
+|                             |     + --- JPoxJDO.java
+|                             |     + --- jpox.properties 
+|     
+|
+|
+</p>
+<p>
+To make this example more straightforward, complete the following steps before proceeding to the next step.
+</p>
+<ul>
+
+<li>Create a <span class="codefrag">lib</span> and a <span class="codefrag">bin</span> directory under the <span class="codefrag">\JPOX_Derby</span> directory.</li>
+
+<li>Copy these six jar files to the <span class="codefrag">lib</span> directory.
+<ul>
+
+<li>bcel-5.1.jar</li>
+
+<li>derby.jar</li>
+
+<li>jdo2-api-2.0-rc1.jar</li>
+
+<li>jpox-1.1.0-rc-1.jar</li>
+
+<li>jpox-enhancer-1.1.0-rc-1.jar</li>
+
+<li>log4j-1.2.12.jar</li>
+
+</ul>
+
+</li>
+
+<li>
+Copy the <span class="codefrag">log4j.properties</span> file that is in the <span class="codefrag">\JPOX_Derby\</span><strong>src</strong> directory to the <span class="codefrag">\JPOX_Derby\</span><strong>bin</strong> directory.
+</li>
+
+<li>
+Copy the <span class="codefrag">package.jdo</span> file that is in the <span class="codefrag">\JPOX_Derby\</span><strong>src</strong> directory to the <span class="codefrag">\JPOX_Derby\</span><strong>bin</strong> directory.
+</li>
+
+</ul>
+<p>Referring to the above directory structure as an example, first compile the classes that we will later make persistence capable.  The compiled
+classes need to go into the bin directory you just created. </p>
+<p>
+<strong>Note:</strong> In all of these examples make sure there are no spaces in the value for the classpath specified by the <span class="codefrag">-cp</span> flag in the <span class="codefrag">java</span> command.  The spaces have been added for readability.</p>
+<p>
+
+<strong>Compiling the Java Data Objects</strong>
+
+</p>
+<p class="code-block">
+C:\JPOX_Derby&gt;javac -d bin src\org\apache\derby\demo\beans\model\*.java 
+src\org\apache\derby\demo\beans\view\*.java
+</p>
+<p>
+<strong>Enhancing these classes using the JPOXEnhancer class</strong>
+</p>
+<p class="code-block">
+
+C:\JPOX_Derby&gt;java -Dlog4j.configuration=file:src\log4j.properties -cp 
+lib\bcel-5.1.jar;lib\jpox-enhancer-1.1.0-rc-1.jar;lib\jpox-1.1.0-rc-1.jar;
+lib\jdo2-api-2.0-rc1.jar;lib\log4j-1.2.12.jar;bin 
+org.jpox.enhancer.JPOXEnhancer src\package.jdo
+
+</p>
+<p>
+<strong>The output from enhancing these five classes</strong>
+</p>
+<p class="code-block">
+JPOX Enhancer (version 1.1.0-rc-1) : Enhancement of classes
+
+ENHANCED (PersistenceCapable) : org.apache.derby.demo.beans.view.CityBean
+ENHANCED (PersistenceCapable) : org.apache.derby.demo.beans.view.FlightsBean
+ENHANCED (PersistenceCapable) : org.apache.derby.demo.beans.view.FlightHistoryBe
+an
+ENHANCED (PersistenceCapable) : org.apache.derby.demo.beans.model.UserBean
+ENHANCED (PersistenceCapable) : org.apache.derby.demo.beans.model.UserCreditCard
+Bean
+</p>
+<p>Next, we'll compile both the business logic class, <span class="codefrag">org.apache.derby.demo.persistence.JPoxJDO</span> and the application class, <span class="codefrag">org.apache.derby.demo.application.DerbyJPox</span>.  When compiling these two classes do not recompile the classes you just enhanced.  Doing so, will "remove" the enhancement and cause the application to fail at runtime.
+</p>
+<p>
+
+<strong>Compiling the business logic and application class</strong>
+
+</p>
+<p class="code-block">
+C:\JPOX_Derby&gt;javac -d bin -cp lib\jdo2-api-2.0-rc1.jar;lib\jpox-1.1.0-rc-1.jar;
+bin src\org\apache\derby\demo\persistence\*.java 
+src\org\apache\derby\demo\application\*.java
+</p>
+<p>
+We need to do one last step prior to running the application class.
+Copy the <span class="codefrag">jpox.properties</span> file from the <span class="codefrag">C:\JPOX_Derby\</span><strong>src</strong><span class="codefrag">\org\apache\derby\demo\persistence</span> directory 
+to the <span class="codefrag">C:\JPOX_Derby\</span><strong>bin</strong><span class="codefrag">\org\apache\derby\demo\persistence</span> directory.
+</p>
+<p>Now we're ready to run the sample application.  Use the command below to run the <span class="codefrag">DerbyJPox.java</span> class.</p>
+<p>
+
+<strong>Run the application class, <span class="codefrag">DerbyJPox</span></strong>
+
+</p>
+<p class="code-block">
+C:\JPOX_Derby&gt;java -cp lib\jdo2-api-2.0-rc1.jar;lib\jpox-1.1.0-rc-1.jar;
+lib\derby.jar;lib\log4j-1.2.12.jar;bin 
+org.apache.derby.demo.application.DerbyJPox
+</p>
+<p>The output from running the application class, DerbyJPox.java is shown below.</p>
+<p>
+
+<strong>Output from DerbyJPox</strong>
+
+</p>
+<p class="code-block">
+JpoxJDO, initialize called
+Issuing JPOX queries against the Derby DB, airlinesDB
+***********************************************************
+Query 1: The UserBean corresponding to the username apacheu is:
+firstname: apache lastname: user email: apacheu@mycompany.com
+***********************************************************
+Insert 1: Create a new user by calling JPoxJDO.insertUser(
+"Susan", "Cline", "slc", "slc@mycomp.org", "mypass")
+Successfully inserted the user 'slc' into the database.
+***********************************************************
+Query 2: Find the destination cities of flights from Athens.
+Dest City: Amsterdam
+Dest City: Cairo
+Dest City: Istanbul
+Dest City: Lagos
+Dest City: London
+Dest City: Paris
+***********************************************************
+Insert 2: Create a FlightsHistoryBean by calling
+JPoxJDO.insertUserFlightHistory
+("slc", myFlightsBean, "visa", "4728-xxxx-xxxx-xxxx-4567")
+Successfully inserted a row into the FlightHistory table.
+***********************************************************
+Query 3: Select the row from the FlightHistory table based on username slc
+by calling JPoxJDO.fetchFlightHistory("slc")
+Flight: AA1134 Orig Airport: ATH Dest: AMS Credit Crd: 4728-xxxx-xxxx-xxxx-4567
+***********************************************************
+Shutting down JPOX persistence manager.
+***********************************************************
+</p>
+</div>
+
+
+<a name="N102C9"></a><a name="Resources+and+Acknowledgements"></a>
+<h2 class="boxed">Resources and Acknowledgements</h2>
+<div class="section">
+<p>
+The <a href="http://db.apache.org/derby/">Derby</a> web site and <a class="external" href="http://wiki.apache.org/db-derby/">wiki</a> are the best sources of information about Derby.
+</p>
+<p>For in-depth information about JPOX see the <a class="external" href="http://www.jpox.org/index.jsp">JPOX</a> web site.  
+
+Apache JDO provides the JD0 2.0 API which is available from the <a href="http://db.apache.org/jdo">Apache JDO</a> web site.  JPOX JDO provides the reference implementation of the JDO 2.0 specification via the JPOX JDO 1.1 release.  </p>
+<p>The <a class="external" href="http://www.jpox.org/docs/1_1/tutorials/tutorial.html">JPOX 1.1 Tutorial</a> is vital to get up to speed with JPOX JDO.
+</p>
+<p>Many thanks to <strong>Michelle Caisse</strong> and <strong>Craig Russell</strong> of the Apache JDO project in helping me with my "newbie" questions on configuring JPOX with Derby and general JDO questions.</p>
+<p>Susan Cline wrote this paper and would appreciate any feedback 
+in the form of suggestions, corrections or questions about it by posting to the
+<a class="external" href="mailto:derby-user@db.apache.org">derby-user</a> mailing list.
+</p>
+</div>
+
+
+<p>
+<em>Last updated: March 8, 2006</em>
+</p>
+
+
+</div>
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("<text>Last Published:</text> " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         2004-2006 Apache Software Foundation</div>
+<div id="feedback">
+    Send feedback about the website to:
+  <a id="feedbackto" href="mailto:derby-dev@db.apache.org?subject=Feedback%C2%A0integrate/JPOX_Derby.html">derby-dev@db.apache.org</a>
+</div>
+</div>
+</body>
+</html>

Propchange: db/derby/site/trunk/build/site/integrate/JPOX_Derby.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: db/derby/site/trunk/build/site/integrate/JPetStoreGeronimo.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/JPetStoreGeronimo.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/JPetStoreGeronimo.html (original)
+++ db/derby/site/trunk/build/site/integrate/JPetStoreGeronimo.html Wed Mar  8 16:19:55 2006
@@ -83,6 +83,9 @@
 <div class="menuitem">
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
+<div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
 <div class="menupage">
 <div class="menupagetitle">Geronimo Demo</div>
 </div>

Modified: db/derby/site/trunk/build/site/integrate/JPetStoreWebSphere.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/JPetStoreWebSphere.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/JPetStoreWebSphere.html (original)
+++ db/derby/site/trunk/build/site/integrate/JPetStoreWebSphere.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/Readme.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/Readme.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/Readme.html (original)
+++ db/derby/site/trunk/build/site/integrate/Readme.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/db_torque.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/db_torque.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/db_torque.html (original)
+++ db/derby/site/trunk/build/site/integrate/db_torque.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/derby_plugin.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/derby_plugin.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/derby_plugin.html (original)
+++ db/derby/site/trunk/build/site/integrate/derby_plugin.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/func_spec_plugins.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/func_spec_plugins.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/func_spec_plugins.html (original)
+++ db/derby/site/trunk/build/site/integrate/func_spec_plugins.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/index.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/index.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/index.html (original)
+++ db/derby/site/trunk/build/site/integrate/index.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">
@@ -264,6 +267,15 @@
 	     Integration</a></em></td>
 
 </tr>
+
+
+<tr>
+   
+<td colspan="1" rowspan="1">JPOX JDO</td>
+   <td colspan="1" rowspan="1"><em><a href="JPOX_Derby.html">Using JPOX JDO with Derby</a></em></td>
+
+</tr>
+
 
 <tr>
    

Modified: db/derby/site/trunk/build/site/integrate/misc.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/misc.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/misc.html (original)
+++ db/derby/site/trunk/build/site/integrate/misc.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/derby_app.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/derby_app.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/derby_app.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/derby_app.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/ij.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/ij.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/ij.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/ij.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/ij2.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/ij2.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/ij2.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/ij2.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/ij_toc.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/ij_toc.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/ij_toc.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/ij_toc.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/java_project.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/java_project.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/java_project.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/java_project.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/nature.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/nature.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/nature.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/nature.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/nature_toc.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/nature_toc.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/nature_toc.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/nature_toc.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/properties.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/properties.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/properties.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/properties.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/remove_nature.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/remove_nature.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/remove_nature.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/remove_nature.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/resources.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/resources.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/resources.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/resources.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/server_toc.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/server_toc.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/server_toc.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/server_toc.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/start_server.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/start_server.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/start_server.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/start_server.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/start_toc.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/start_toc.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/start_toc.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/start_toc.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/stop_server.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/stop_server.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/stop_server.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/stop_server.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_help/sysinfo.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_help/sysinfo.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_help/sysinfo.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_help/sysinfo.html Wed Mar  8 16:19:55 2006
@@ -85,6 +85,9 @@
 <a href="../../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_howto.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_howto.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_howto.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_howto.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/integrate/plugin_slides.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/integrate/plugin_slides.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/integrate/plugin_slides.html (original)
+++ db/derby/site/trunk/build/site/integrate/plugin_slides.html Wed Mar  8 16:19:55 2006
@@ -84,6 +84,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Modified: db/derby/site/trunk/build/site/linkmap.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/linkmap.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/linkmap.html (original)
+++ db/derby/site/trunk/build/site/linkmap.html Wed Mar  8 16:19:55 2006
@@ -228,6 +228,9 @@
 <a href="binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">
@@ -939,6 +942,12 @@
 <ul>
 <li>
 <a href="integrate/../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>jonas</em>
+</li>
+</ul>
+      
+<ul>
+<li>
+<a href="integrate/JPOX_Derby.html">JPOX JDO</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>jpox</em>
 </li>
 </ul>
       

Modified: db/derby/site/trunk/build/site/papers/fortune_tut.html
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/build/site/papers/fortune_tut.html?rev=384386&r1=384385&r2=384386&view=diff
==============================================================================
--- db/derby/site/trunk/build/site/papers/fortune_tut.html (original)
+++ db/derby/site/trunk/build/site/papers/fortune_tut.html Wed Mar  8 16:19:55 2006
@@ -228,6 +228,9 @@
 <a href="../binaries/DerbyAndRedHatAppServer.pdf">JOnAS (PDF)</a>
 </div>
 <div class="menuitem">
+<a href="../integrate/JPOX_Derby.html">JPOX JDO</a>
+</div>
+<div class="menuitem">
 <a href="../integrate/JPetStoreGeronimo.html">Geronimo Demo</a>
 </div>
 <div class="menuitem">

Added: db/derby/site/trunk/src/documentation/content/xdocs/binaries/jpox_derby.zip
URL: http://svn.apache.org/viewcvs/db/derby/site/trunk/src/documentation/content/xdocs/binaries/jpox_derby.zip?rev=384386&view=auto
==============================================================================
Binary file - no diff available.

Propchange: db/derby/site/trunk/src/documentation/content/xdocs/binaries/jpox_derby.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream