openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r841236 [35/35] - in /websites/staging/openjpa/trunk/content: ./ artifacts/ css/ images/ images/datacache-plugin/
Date Sun, 09 Dec 2012 13:13:50 GMT
Added: websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html
==============================================================================
--- websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html (added)
+++ websites/staging/openjpa/trunk/content/using-criteria-api-in-daytrader.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,305 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Using Criteria API in DayTrader
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/using-criteria-api-in-daytrader.html">Using Criteria API in DayTrader
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="UsingCriteriaAPIinDayTrader-UsingCriteriaAPIinDayTrader"></a></p>
+<h1 id="using-criteria-api-in-daytrader">Using Criteria API in DayTrader</h1>
+<p>A current DayTrader project implementation in Apache Geronimo contains
+several JPQL queries. These can easily be converted to JPA Criteria API
+queries. A sample with this conversion can be created to run on either the
+Apache Geronimo server or the WebSphere Application Server with the
+built-in Derby database.</p>
+<p><a name="UsingCriteriaAPIinDayTrader-DownloadingDayTrader"></a></p>
+<h2 id="downloading-daytrader">Downloading DayTrader</h2>
+<p>You must have Subversion installed in order to download the DayTrader implementation.Subversion can be downloaded from&nbsp;<a href="http://subversion.apache.org/packages.html">http://subversion.apache.org/packages.html</a>
+. Use the 2.1.3 version of DayTrader for this sample. Follow the following steps:</p>
+<ol>
+<li>Create a root directory for the download. For this example, we will use a directory called <em>DayTrader</em>.</li>
+<li>Create subdirectories <strong>branches/2.1.3</strong> under the <strong>DayTrader</strong> directory</li>
+<li>cd to <strong>DayTrader</strong></li>
+<li>
+<p>Issue the following subversion command:</p>
+<div class="codehilite"><pre><span class="n">svn</span> <span class="n">checkout</span> <span class="n">https:</span><span class="sr">//s</span><span class="n">vn</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">org</span><span class="sr">/repos/</span><span class="n">asf</span><span class="sr">/geronimo/</span><span class="n">daytrader</span><span class="sr">/branches/</span><span class="mf">2.1.3</span> <span class="n">branches</span><span class="o">/</span><span class="mf">2.1.3</span> <span class="o">.</span>
+</pre></div>
+
+
+</li>
+</ol>
+<p><a name="UsingCriteriaAPIinDayTrader-BuildDayTrader"></a></p>
+<h2 id="build-daytrader">Build DayTrader</h2>
+<p>You must have maven installed in order to build DayTrader. Maven can be downloaded from <a href="http://maven.apache.org/download.html">http://maven.apache.org/download.html</a>. Unzip the file to a directory and run mvn.bat\|.sh in the bin
+subdirectory to install. Add the bin subdirectory to you system path.</p>
+<p>Maven needs a repository. Typically it is at the following:</p>
+<ul>
+<li><strong>Windows</strong> - C:\Documents and Settings\&lt;userid&gt;.m2\repository</li>
+<li><strong>Linux/unix</strong> - \~/.m2/repository</li>
+</ul>
+<p>From the <strong>DayTrader/branches/2.1.3</strong> directory, type "mvn clean install" to build the project. (Note: If you see errors that say "java.util.zip.ZipException: error in opening zip file", ignore them for this exercise.) </p>
+<p><a name="UsingCriteriaAPIinDayTrader-ApplytheDayTraderPatch"></a></p>
+<h2 id="apply-the-daytrader-patch">Apply the DayTrader Patch</h2>
+<p>The following patch can be applied using a system or downloaded <em>patch</em> utility. (For example, you can get a patch utility for Windows from&nbsp;<a href="http://gnuwin32.sourceforge.net/packages/patch.htm">http://gnuwin32.sourceforge.net/packages/patch.htm</a>
+.)</p>
+<ul>
+<li>Geronimo - <a href="artifacts/daytrader_geronimo.patch">daytrader_geronimo.patch</a></li>
+<li>WebSphere - <a href="artifacts/daytrader_websphere.patch">daytrader_websphere.patch</a></li>
+</ul>
+<p>Download the appropriate patch and go to the <em>DayTrader/branches.2.1.3</em>
+directory to apply it. For example, with the patch utility mentioned above,
+you can type:</p>
+<div class="codehilite"><pre><span class="n">patch</span> <span class="o">\-</span><span class="n">p0</span> <span class="o">\-</span><span class="n">i</span> <span class="sr">&lt;path-to&gt;</span><span class="o">/</span><span class="n">daytrader_geronimo</span><span class="o">.</span><span class="n">patch</span>
+</pre></div>
+
+
+<p>After you have applied the patch, you can see the changes from JPQL to the Criteria API in the java class org.apache.geronimo.samples.daytrader.ejb3.TradeSLSBBean. The changes are in the following 4 methods:</p>
+<ul>
+<li>getMarketSummary()</li>
+<li>getClosedOrders()</li>
+<li>getAllQuotes()</li>
+<li>getHoldings()</li>
+</ul>
+<p>(Note: If you view these changes in eclipse, and you have previously run
+"mvn eclipse:eclipse" to setup eclipse projects, you'll have to run this
+command again in order for this file to compile.)</p>
+<p>You can also <a href="apply-an-eclipse-patch.html">Apply an Eclipse Patch</a></p>
+<p><a name="UsingCriteriaAPIinDayTrader-Re-createtheDayTraderearfile"></a></p>
+<h2 id="re-create-the-daytrader-ear-file">Re-create the DayTrader ear file</h2>
+<p>From the <strong>DayTrader/branches/2.1.3</strong> directory, type "mvn clean install" to build the project.</p>
+<p><a name="UsingCriteriaAPIinDayTrader-RunDayTraderonGeronimo"></a></p>
+<h2 id="run-daytrader-on-geronimo">Run DayTrader on Geronimo</h2>
+<p>This writeup assumes some familiarity with Apache Geronimo. The download
+and documentation can be found at <a href="http://geronimo.apache.org/">http://geronimo.apache.org.</a></p>
+<p>Install and start the Geronimo server.</p>
+<p>Add jpa2 plugins from repository <a href="http://geronimo.apache.org/plugins/openjpa2">http://geronimo.apache.org/plugins/openjpa2</a>. One way to do this is the following:</p>
+<ol>
+<li>Go to the Geronimo console at http://<host>:8080/console and logon</li>
+<li>Select <em>plugins</em></li>
+<li>Click on <em>Add Repository</em> and add <a href="http://geronimo.apache.org/plugins/openjpa2">http://geronimo.apache.org/plugins/openjpa2</a></li>
+<li>Click on <em>Update Repository List</em></li>
+<li>Make sure the new repository is selected. Then click on <em>Show Plugins in selected repository.</em> On that panel:<ol>
+<li>Select <em>GeronimoPlugins, OpenJPA2::CAR 2.1.3-SNAPSHOT</em> and <em>GeronimoPlugins, OpenJPA2::Deployer 2.1.3-SNAPSHOT</em></li>
+<li>Click on <em>Install</em></li>
+</ol>
+</li>
+<li>On the next screen, click on <em>Install</em></li>
+</ol>
+<p>Deploy the DayTrader application. This can be done through the console as follows:</p>
+<ol>
+<li>Click on <em>Deploy New</em></li>
+<li>For <em>Archive</em>, browse to DayTrader/branches/2.1.3/modules/ear/target/daytrader-ear-2.1.3.ear</li>
+<li>For <em>Plan,</em> browse to DayTrader/branches/2.1.3/plans/dayTrader-derby-plan.xml</li>
+<li>Check <em>Start app after install</em></li>
+<li>Click on <em>Install</em></li>
+</ol>
+<p>Re-start the server.</p>
+<p>Make sure that the system module, org.apache.geronimo.configs/axis-deployer/2.1.5/car, is running.</p>
+<p>Run DayTrader:</p>
+<ol>
+<li>Go to http://<host>:8080/daytrader/</li>
+<li>Click on the <em>Configuration</em> tab and click on <em>(Re)-create DayTrader Database Tables and Indexes</em></li>
+<li>Click on the <em>Configuration&nbsp;</em> tab and click on <em>(Re)-populate DayTrader Database</em></li>
+<li>Click on the <em>Trading &amp; Portfolios</em> tab, login, and start trading</li>
+</ol>
+<p><a name="UsingCriteriaAPIinDayTrader-RunDayTraderonWebSphere"></a></p>
+<h2 id="run-daytrader-on-websphere">Run DayTrader on WebSphere</h2>
+<p>This writeup assumes some familiarity with WebSphere. Also, the script that
+is provided assumes a local unmanaged node with a single server.</p>
+<p>At a minimum, the WebSphere Application Server must be at version 7.0.0.9.
+You must also have installed the Feature Pack for OSGi Applications and
+Java Persistence API 2.0. Make sure you have a profile that is augmented
+for JPA 2.0 function.</p>
+<p>Download the following jython script. This script is used to configure the
+objects needed by DayTrader (data sources, JMS queues and topics) and
+install the application.</p>
+<p><a href="artifacts/daytrader_singleserver.py">daytrader_singleServer.py</a></p>
+<p>Within the bin directory of the augmented profile:</p>
+<ol>
+<li>Start the server.</li>
+<li>
+<p>Run the script using the following command:</p>
+<div class="codehilite"><pre><span class="n">wsadmin</span> <span class="o">-</span><span class="n">f</span> <span class="o">&lt;</span><span class="n">location</span> <span class="n">ofdaytrader_singleServer</span><span class="o">.</span><span class="n">py</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">script</span> <span class="n">options</span><span class="o">&gt;</span>
+</pre></div>
+
+
+<p>You can display the list of available script options by specifying the option "--help".</p>
+</li>
+<li>
+<p>Re-start the server.</p>
+</li>
+</ol>
+<p>Run DayTrader</p>
+<ol>
+<li>On a web browser, go to http://localhost:<application port>/daytrader/(The default application port is 9080. But, you may have a different one if you created a new profile.)</li>
+<li>Click on the <em>Configuration</em> tab and click on <em>(Re)-create  DayTrader Database Tables and Indexes</em></li>
+<li>Click on the <em>Configuration&nbsp;</em> tab and click on <em>(Re)-populate DayTrader Database</em></li>
+<li>Click on the <em>Trading &amp; Portfolios</em> tab, login, and start  trading</li>
+</ol>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/verifying-release-signatures.html
==============================================================================
--- websites/staging/openjpa/trunk/content/verifying-release-signatures.html (added)
+++ websites/staging/openjpa/trunk/content/verifying-release-signatures.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,191 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Verifying release signatures
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/verifying-release-signatures.html">Verifying release signatures
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p>On unix platforms the following command can be executed : </p>
+<div class="codehilite"><pre>for file in `find . -type f -iname &#39;*.asc&#39;`
+do
+    gpg --verify <span class="cp">${</span><span class="nb">file</span><span class="cp">}</span> 
+done
+</pre></div>
+
+
+<p>You'll need to look at the output contains only good signaturesie :</p>
+<div class="codehilite"><pre>        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
+        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">17</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
+        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
+        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">18</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
+        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
+        <span class="n">gpg:</span> <span class="n">Signature</span> <span class="n">made</span> <span class="n">Tue</span> <span class="mi">12</span> <span class="n">Jan</span> <span class="mi">2010</span> <span class="mo">05</span><span class="p">:</span><span class="mi">30</span><span class="p">:</span><span class="mi">17</span> <span class="n">PM</span> <span class="n">CST</span> <span class="n">using</span> <span class="n">RSA</span> <span class="n">key</span> <span class="n">ID</span> <span class="mi">7412</span><span class="n">AD2C</span>
+        <span class="n">gpg:</span> <span class="n">Good</span> <span class="n">signature</span> <span class="n">from</span> <span class="s">&quot;Michael Dick (CODE SIGNING KEY) &lt;mikedd@apache.org&gt;&quot;</span>
+</pre></div>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/websphere-application-server.html
==============================================================================
--- websites/staging/openjpa/trunk/content/websphere-application-server.html (added)
+++ websites/staging/openjpa/trunk/content/websphere-application-server.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,190 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Websphere Application Server
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/websphere-application-server.html">Websphere Application Server
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="WebsphereApplicationServer-FetchStatisticToolUsageforWebsphereApplicationServer"></a></p>
+<h1 id="fetch-statistic-tool-usage-for-websphere-application-server">Fetch Statistic Tool Usage for Websphere Application Server</h1>
+<p><a name="WebsphereApplicationServer-Download"></a></p>
+<h2 id="download">Download</h2>
+<ul>
+<li>The latest OpenJPA Tools JAR file can be download from the <a href="https://repository.apache.org/content/groups/snapshots/org/apache/openjpa/openjpa-fetch-statistics-was/">SNAPSHOT Repository</a>
+ or can be built from the source code in <a href="https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-tools/openjpa-fetch-statistics-was/">svn</a>
+ by using Maven 2.2.1 and Java SE 6.</li>
+</ul>
+<p><a name="WebsphereApplicationServer-Configuration"></a></p>
+<h2 id="configuration">Configuration</h2>
+<ul>
+<li>Put openjpa-fetch-statistics-VERSION-was.jar into the WAS_HOME\plugins
+directory.</li>
+<li>Run WAS_HOME\bin\osgiCfgInit.sh(bat) to clear the osgi cache.</li>
+</ul>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/whither-openjpa.html
==============================================================================
--- websites/staging/openjpa/trunk/content/whither-openjpa.html (added)
+++ websites/staging/openjpa/trunk/content/whither-openjpa.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,206 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Whither OpenJPA
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/whither-openjpa.html">Whither OpenJPA
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="Whither-OpenJPA"></a></p>
+<p>Discussion topics: OpenJPA 1.0, OpenJPA 1.1, JPA 2.0, SDO, etc.</p>
+<ul>
+<li>
+<p>JPA 2.0: Any of OpenJPA members on the expert group? </p>
+<p>Patrick will be on the EG. There will be a lurker list set up by each EG
+member for internal discussions.</p>
+</li>
+<li>
+<p>Does Apache want to have representation on the JPA 2.0 EG? There would be
+an advantage for OpenJPA community members who are not privy to an internal
+lurker alias, to be able to participate in the discussion.</p>
+<p>AI: Craig poll the openjpa community to see if they want to participate
+under NDA in the EG under rules established by the Spec Lead. If positive,
+discuss with Apache JCP representative how to do it. We would need a closed
+Apache-JPA mail alias for discussion and an EG representative to forward
+comments to the expert group.</p>
+</li>
+<li>
+<p>Roadmap for OpenJPA. It would be nice to have an idea of when releases
+should come out.</p>
+<p>What about picking a date, for example, August 20 for branching the
+release. Everyone who wants a bug fixed for the release, do it by then.
+Marc has volunteered to be release manager. He goes on vacation August 31
+so if the release is delayed beyond that point, someone else needs to push
+it. AI Craig propose a release date and strategy to the community.</p>
+</li>
+<li>
+<p>What about the next releases?</p>
+<p>Craig earlier volunteered to start the roadmap discussion.</p>
+</li>
+</ul>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>

Added: websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html
==============================================================================
--- websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html (added)
+++ websites/staging/openjpa/trunk/content/writing-test-cases-for-openjpa.html Sun Dec  9 13:13:35 2012
@@ -0,0 +1,281 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+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 compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+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.
+-->
+<html lang="en">
+    <head>
+        <META http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+        <link href="http://openjpa.apache.org/styles/site.css" rel="stylesheet" type="text/css"/>
+        <!-- <link href="http://openjpa.apache.org/styles/type-settings.css" rel="stylesheet" type="text/css"/> -->
+        <link href="./css/type-settings.css" rel="stylesheet" type="text/css"/>
+        <LINK rel="schema.DC" href="http://purl.org/DC/elements/1.0/">
+        <META name="Description" content="Apache OpenJPA -- Writing Test Cases For OpenJPA
" />
+        <META name="Keywords" content="Apache OpenJPA, JPA, JPA 1.0, JSR-220, JPA2, JPA 2.0, JSR-317, " />
+        <META name="Owner" content="dev@openjpa.apache.org" />
+        <META name="Robots" content="index, follow" />
+        <META name="Security" content="Public" />
+        <META name="Source" content="wiki template" />
+        <META name="DC.Date" scheme="iso8601" content="2010-08-11" />
+        <META name="DC.Language" scheme="rfc1766" content="en" />
+        <META name="DC.Rights" content="Copyright © 2006,2010 The Apache Software Foundation" />
+        <META http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'/>
+
+        <title>
+            Apache OpenJPA --
+        </title>
+    </head>
+    <body>
+        <div class="white_box">
+            <div class="header">
+                <div class="header_l">
+                    <div class="header_r">
+                    </div>
+                </div>
+            </div>
+            <div class="content">
+                <div class="content_l">
+                    <div class="content_r">
+                        <div>
+                            <!-- Banner -->
+                            <TABLE valign="top" border="0" cellspacing="0" cellpadding="5" width="100%" background="images/header-bg3.png">
+                                <TR>
+                                    <TD valing="top" align="left">
+                                        <A href="http://openjpa.apache.org/"><IMG src="images/openjpa-logo.png" border="0" alt="OpenJPA Logo"></A>
+                                    </TD>
+                                    <TD width="100%">
+                                        &nbsp;
+                                    </TD>
+                                    <TD valing="top" align="right">
+                                        <A href="http://www.apache.org/"><IMG src="images/asf_logo_wide2.png" border="0" alt="ASF Logo"></A>
+                                    </TD>
+                                </TR>
+                            </TABLE>
+
+                            <!-- Navigation Bar -->
+                            <div class="bottom_red_bar">
+                                <div id="site-breadcrumbs">
+                                    <!-- Breadcrumbs --
+                                    <a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/writing-test-cases-for-openjpa.html">Writing Test Cases For OpenJPA
</a>
+                                     -- Breadcrumbs -->
+                                </div>
+                            </div>
+
+                            <!-- Content -->
+                            <table border="0">
+                                <tbody>
+                                    <tr>
+                                        <td valign="top">
+                                            <div class="navigation">
+                                                <div class="navigation_top">
+                                                    <div class="navigation_bottom">
+                                                        <!-- NavigationBar -->
+                                                        <h3><a name="SideNav-Overview"></a><a href="overview.html" title="Overview">Overview</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="quick-start.html" title="Quick Start">Quick Start</a></li>
+                                                            <li><a href="documentation.html" title="Documentation">Documentation</a></li>
+                                                            <li><a href="downloads.html" title="Downloads">Downloads</a></li>
+                                                            <li><a href="site-index.html" title="Site Index">Site Index</a></li>
+                                                            <li><a href="license.html" title="License">License</a></li>
+                                                            <li><a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a></li>
+                                                        </ul>
+
+                                                        <h3><a name="SideNav-Community"></a><a href="community.html" title="Community">Community</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="index.html#Index-eventsandnews" title="Events and News">Events and News</a></li>
+                                                            <li><a href="found-a-bug.html" title="Found a Bug">Found a Bug</a>?</li>
+                                                            <li><a href="get-involved.html" title="Get Involved">Get Involved</a></li>
+                                                            <li><a href="mailing-lists.html" title="Mailing Lists">Mailing Lists</a></li>
+                                                            <li><a href="committers.html" title="Committers">Committers</a></li>
+                                                            <li><a href="integration.html" title="Integration">Integration</a></li>
+                                                            <li><a href="powered-by.html" title="Powered By">Powered By</a></li>
+                                                            <li><a href="thanks.html" title="Thanks">Thanks</a></li>
+                                                        </ul>
+
+
+                                                        <h3><a name="SideNav-Development"></a><a href="development.html" title="Development">Development</a></h3>
+
+                                                        <ul class="alternate" type="square">
+                                                            <li><a href="http://issues.apache.org/jira/browse/OPENJPA" class="external-link" rel="nofollow">Issue Tracker</a></li>
+                                                            <li><a href="source-code.html" title="Source Code">Source Code</a></li>
+                                                            <li><a href="testing.html" title="Testing">Testing</a></li>
+                                                            <li><a href="tools.html" title="Tools">Tools</a></li>
+                                                            <li><a href="samples.html" title="Samples">Samples</a></li>
+                                                            <li><a href="release-management.html" title="Release Management">Release Management</a></li>
+                                                        </ul>
+
+                                                        <h3>Search</h3>
+
+                                                        <div style="padding: 5px 5px 0px 25px;">
+                                                            <form action="http://www.google.com/search" method="get" style="font-size: 10px;">
+                                                                <input name="ie" type="hidden" value="UTF-8">
+                                                                <input name="oe" type="hidden" value="UTF-8">
+                                                                <input maxlength="255" name="q" size="9" type="text" value=""><br><br>
+                                                                <input name="btnG" type="submit" value="Google">
+                                                                <input name="domains" type="hidden" value="openjpa.apache.org">
+                                                                <input name="sitesearch" type="hidden" value="openjpa.apache.org">
+                                                            </form>
+                                                        </div>
+                                                    </div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                        <td valign="top" width="100%" style="overflow:hidden;">
+                                            <div class="wiki-content">
+                                                <p><a name="WritingTestCasesForOpenJPA-TipsonwritingTestCaseforOpenJPA"></a></p>
+<h1 id="tips-on-writing-testcase-for-openjpa">Tips on writing TestCase for OpenJPA</h1>
+<p>You are welcome to contribute new test cases. Following are few suggestions
+and guidelines on how to contribute new test case to OpenJPA repository of
+2000 test cases spread across 400 classes.</p>
+<h2 id="inherit-from-openjpa-testcases">Inherit from OpenJPA TestCases</h2>
+<p>Unit Tests are <strong>JUnit</strong> Tests. The base JUnit test case implementation
+<em>org.junit.TestCase</em> has been extended to facilitate common
+initialization steps or configuration settings for unit testing OpenJPA. 
+The inheritance hierarchy is:
+<pre>
+        <code>
+            junit.framework.TestCase
+               +-- org.apache.openjpa.persistence.test.PersistenceTestCase
+                   +-- org.apache.openjpa.persistence.test.SingleEMFTestCase
+                  +-- org.apache.openjpa.persistence.test.SQLListenerTestCase
+        </code>
+</pre>
+As a test developer, you should inherit your test class from one of the
+extended TestCases. In general, <em>SingleEMFTestCase</em> is a good candidate
+to inherit from. If your test needs to analyze or count number of SQL
+statements, <em>SQLListenerTestCase</em> should be your choice.</p>
+<h2 id="use-correct-name-and-package-for-test-case-and-entity-classes">Use correct name and package for test case and entity classes</h2>
+<ul>
+<li>Test case should be in a separate sub-package of
+<em>org.apache.openjpa.persistence.</em> <strong>or</strong> <em>org.apache.openjpa.persistence.jdbc.</em>*</li>
+<li>Test case class names must start with "Test" e.g. <strong>TestEagerFetch</strong></li>
+<li>There are hundreds of testable entity classes. But if your test requires
+new entity classes, place them in the same package as that of the new Test
+cases. </li>
+</ul>
+<h2 id="setup-and-teardown">setUp() and tearDown()}</h2>
+<ul>
+<li>OpenJPA TestCases augment the <strong>setUp()</strong> method to accept a list of
+arguments. In this list, you should specify:</li>
+<li>the entity classes used by your test</li>
+<li>the critical configuration properties</li>
+<li>
+<p><strong>CLEAR_TABLES</strong> or <strong>DROP_TABLES</strong> : these are constants declared in
+the superclass which clears the existing rows or drops the tables
+altogether.</p>
+</li>
+<li>
+<p>The following is an example <em>setUp()</em> method 
+<pre class="code codeContent">
+        <code>
+            public void setUp() throws Exception {
+                super.setUp(CLEAR_TABLES,               // clears records for domain classes
+                  Candidate.class, Election.class,      // registers Candidate and Election as persistence-capable entity
+                  "openjpa.Multithreaded", "true",      // sets configuration property as name-value pairs
+                  "openjpa.Log", "SQL=TRACE");     <br />
+            }
+        </code>
+</pre></p>
+</li>
+<li>
+<p>Notice that some configuration parameters can be set in the <em>setUp()</em>
+method of test program itself. This is recommended for properties that are
+important for your test. The non-critical parameters such as database
+connection properties (unless your test is about some specific aspect of a
+particular database) are better be specified in
+<em>META-INF/persistence.xml</em>. The persistence name can be specified by
+overwriting the following method:
+<pre>
+        <code>
+        protected String getPersistenceUnitName() {
+                return "test-eager-fetch";
+        }
+        </code>
+</pre></p>
+</li>
+<li>
+<p><em>SingleEMFTestCase</em> ensures that <em>tearDown()</em> method deletes all rows
+for the domain classes involved in your test. You may want the database
+records to remain for analysis especially when tests are failing. In that
+case, you may consider suppressing the superclass behavior of
+<em>tearDown()</em> by simply nullifying the method as
+<pre>
+        <code>
+            public void tearDown() throws Exception {
+                 // avoids super class to delete all records
+            }
+        </code>
+</pre></p>
+</li>
+</ul>
+<h2 id="annotate-o-r-mapping">Annotate O-R Mapping</h2>
+<p>Prefer annotation over XML Descriptors for O-R Mapping because that helps
+to collocate relevant information. Unless, of course, the test is specific
+about variations in behavior across annotation and XML Descriptors.</p>
+<h2 id="use-junit-assert-methods">Use JUnit assert*() methods</h2>
+<p>For verification, use many assertion methods provided by <em>JUnit</em> e.g.
+<strong>assertEquals()</strong> or <strong>assertTrue()</strong> rather than depending on printing
+trace with <strong>System.out.println()</strong>. If you want to trace generated SQL or
+other runtime information, use appropriate <strong>openjpa.Log</strong> property
+settings.</p>
+<h2 id="create-jira-issue">Create JIRA Issue</h2>
+<p>Create a JIRA issue. Refer to the JIRA issue in the comments section of the
+new test case.</p>
+<h2 id="asf-license">ASF License</h2>
+<p>Remember to include ASF License header in the comment section of all the
+new source or resource files.</p>
+<h2 id="attach-the-test-to-jira-issue">Attach the test to JIRA Issue</h2>
+<p>Package all the *.java files related to your test case in a JAR file and
+attach it to JIRA issue you have created.
+You must check in the radio button <strong>Grant license to ASF for inclusion in
+ASF works</strong> that appears near the bottom of <strong>Attach File</strong> JIRA page.</p>
+                                            </div>
+                                        </td>
+                                        </tr>
+                                    </tbody>
+                                </table>
+                                <div class="bottom_red_bar"></div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+                <div class="black_box">
+                    <div class="footer">
+                        <div class="footer_l">
+                            <div class="footer_r">
+                                <div>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="design_attribution">
+                Copyright (C) 2006,2012 The Apache Software Foundation. Licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License 2.0</a>.<br />
+                Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.<br />
+                Other names may be trademarks of their respective owners.<br />
+            </div>
+
+        <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+        </script>
+        <script type="text/javascript">
+            _uacct = "UA-1940143-1";
+            urchinTracker();
+        </script>
+
+    </body>
+</html>



Mime
View raw message