geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r917744 [6/31] - in /websites/production/geronimo/content: GMOxDOC20/ GMOxDOC20/geronimo-eclipse-plugin-installation-instructions.data/ cache/
Date Tue, 29 Jul 2014 00:52:21 GMT
Modified: websites/production/geronimo/content/GMOxDOC20/create-new-database-pools.html
==============================================================================
--- websites/production/geronimo/content/GMOxDOC20/create-new-database-pools.html (original)
+++ websites/production/geronimo/content/GMOxDOC20/create-new-database-pools.html Tue Jul 29 00:52:18 2014
@@ -18,6 +18,17 @@
 
     <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script>
 
+  <link href='http://geronimo.apache.org/resources/highlighter/styles/shCoreGeronimo.css' rel='stylesheet' type='text/css' />
+  <link href='http://geronimo.apache.org/resources/highlighter/styles/shThemeGeronimo.css' rel='stylesheet' type='text/css' />
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
 
     <title>Apache Geronimo v2.0 Documentation : Create new database pools</title>
 
@@ -85,33 +96,48 @@
 
       <div class="pagecontent">
         <div class="wiki-content">
-          <div class="wiki-content maincontent"><style type="text/css">/*<![CDATA[*/
-table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
-table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
-table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
-table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
-table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
-table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}
+          <div class="wiki-content maincontent">    
+<div class="atb-scrollbar-macro">
+    <div class="prev">
+        <a shape="rect" href="configuring-db2-datasource.html" rel="prev">
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
+                                <span class="title">Configuring DB2 datasource</span>
+            </a>
 
-/*]]>*/</style><div class="Scrollbar"><table class="ScrollbarTable"><tr><td colspan="1" rowspan="1" class="ScrollbarPrevIcon"><a shape="rect" href="configuring-db2-datasource.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/back_16.gif" width="16" height="16"></a></td><td colspan="1" rowspan="1" class="ScrollbarPrevName" width="33%"><a shape="rect" href="configuring-db2-datasource.html">Configuring DB2 datasource</a>&#160;</td><td colspan="1" rowspan="1" class="ScrollbarParent" width="33%"><sup><a shape="rect" href="configuring-database-pools.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/up_16.gif" width="8" height="8"></a></sup><a shape="rect" href="configuring-database-pools.html">Configuring database pools</a></td><td colspan="1" rowspan="1" class="ScrollbarNextName" width="33%">&#160;<a shape="rect" href="import-database-pools-from-jboss-4.html">Import database pools from JBoss 4</a></td><td c
 olspan="1" rowspan="1" class="ScrollbarNextIcon"><a shape="rect" href="import-database-pools-from-jboss-4.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/forwd_16.gif" width="16" height="16"></a></td></tr></table></div>
+    </div>
+    <div class="parent">
+                    <a shape="rect" href="configuring-database-pools.html" rel="parent">
+                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
+                                        <span class="title">Configuring database pools</span>
+                </a>
+
+            </div>
+    <div class="next">
+        <a shape="rect" href="import-database-pools-from-jboss-4.html" rel="next">
+                <span class="title">Import database pools from JBoss 4</span>
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
+                            </a>
+
+    </div>
+</div>
 
-<p>You can create new pools by clicking on the <b>Using the Geronimo database pool wizard</b> link on the Database Pools portlet. This wizard will guide you through a four easy steps procedure.</p>
+<p>You can create new pools by clicking on the <strong>Using the Geronimo database pool wizard</strong> link on the Database Pools portlet. This wizard will guide you through a four easy steps procedure.</p>
 
 <p>First you need to specify the name of the database pool and the database type.</p>
 
-<p><span class="image-wrap" style=""><img src="create-new-database-pools.data/databasePools_Create_S1.gif" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/48953/databasePools_Create_S1.gif?version=1&amp;modificationDate=1174262186000&amp;api=v2" data-image-src="/confluence/download/attachments/48953/databasePools_Create_S1.gif?version=1&amp;modificationDate=1174262186000&amp;api=v2"></p>
 
-<p>Then you select the JDBC drivers which, by default, it has been pre-filled based on the database type you selected in the previous step. You also have to select the driver JAR from the scroll-down menu and then specify the database name. For this example a <b>test</b> database was previously created, this is a single step procedure and it is explained in <a shape="rect" href="create-a-database.html" title="Create a database">Create a database</a>.</p>
+<p>Then you select the JDBC drivers which, by default, it has been pre-filled based on the database type you selected in the previous step. You also have to select the driver JAR from the scroll-down menu and then specify the database name. For this example a <strong>test</strong> database was previously created, this is a single step procedure and it is explained in <a shape="rect" href="create-a-database.html">Create a database</a>.</p>
 
-<p><span class="image-wrap" style=""><img src="create-new-database-pools.data/databasePools_Create_S2.gif" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/48953/databasePools_Create_S2.gif?version=1&amp;modificationDate=1174262196000&amp;api=v2" data-image-src="/confluence/download/attachments/48953/databasePools_Create_S2.gif?version=1&amp;modificationDate=1174262196000&amp;api=v2"></p>
 
-<p>The following step lets you configure some connection parameters such as pool size (min and max) and timeouts. Once you are satisfied with the paramenters click on <b>Test Connetion</b>.</p>
+<p>The following step lets you configure some connection parameters such as pool size (min and max) and timeouts. Once you are satisfied with the paramenters click on <strong>Test Connetion</strong>.</p>
 
-<p><span class="image-wrap" style=""><img src="create-new-database-pools.data/databasePools_Create_S3.gif" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/48953/databasePools_Create_S3.gif?version=1&amp;modificationDate=1174262205000&amp;api=v2" data-image-src="/confluence/download/attachments/48953/databasePools_Create_S3.gif?version=1&amp;modificationDate=1174262205000&amp;api=v2"></p>
 
-<p>When you successfully tested the connection, click on <b>Deploy</b>. Alternatively you can click on <b>Show Plan</b>, this option shows you the deployment plan for this database pool and lets you edit it. Additional instructions on how to manually deploy a DB plan may be found in the <a shape="rect" href="configuring-db2-datasource.html" title="Configuring DB2 datasource">Configuring DB2 datasource</a> section.</p>
+<p>When you successfully tested the connection, click on <strong>Deploy</strong>. Alternatively you can click on <strong>Show Plan</strong>, this option shows you the deployment plan for this database pool and lets you edit it. Additional instructions on how to manually deploy a DB plan may be found in the <a shape="rect" href="configuring-db2-datasource.html">Configuring DB2 Datasource</a> section.</p>
 
-<p><span class="image-wrap" style=""><img src="create-new-database-pools.data/databasePools_Create_S4.gif" style="border: 0px solid black"></span></p></div>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/48953/databasePools_Create_S4.gif?version=1&amp;modificationDate=1174262214000&amp;api=v2" data-image-src="/confluence/download/attachments/48953/databasePools_Create_S4.gif?version=1&amp;modificationDate=1174262214000&amp;api=v2"></p></div>
         </div>
 
         

Modified: websites/production/geronimo/content/GMOxDOC20/creating-a-new-sample.html
==============================================================================
--- websites/production/geronimo/content/GMOxDOC20/creating-a-new-sample.html (original)
+++ websites/production/geronimo/content/GMOxDOC20/creating-a-new-sample.html Tue Jul 29 00:52:18 2014
@@ -22,6 +22,8 @@
   <link href='http://geronimo.apache.org/resources/highlighter/styles/shThemeGeronimo.css' rel='stylesheet' type='text/css' />
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;
@@ -94,48 +96,69 @@
 
       <div class="pagecontent">
         <div class="wiki-content">
-          <div class="wiki-content maincontent"><style type="text/css">/*<![CDATA[*/
-table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
-table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
-table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
-table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
-table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
-table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}
+          <div class="wiki-content maincontent">    
+<div class="atb-scrollbar-macro">
+    <div class="prev">
+        <a shape="rect" href="apache-harmony.html" rel="prev">
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
+                                <span class="title">Apache Harmony</span>
+            </a>
 
-/*]]>*/</style><div class="Scrollbar"><table class="ScrollbarTable"><tr><td colspan="1" rowspan="1" class="ScrollbarPrevIcon"><a shape="rect" href="apache-harmony.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/back_16.gif" width="16" height="16"></a></td><td colspan="1" rowspan="1" class="ScrollbarPrevName" width="33%"><a shape="rect" href="apache-harmony.html">Apache Harmony</a>&#160;</td><td colspan="1" rowspan="1" class="ScrollbarParent" width="33%"><sup><a shape="rect" href="sample-applications.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/up_16.gif" width="8" height="8"></a></sup><a shape="rect" href="sample-applications.html">Sample applications</a></td><td colspan="1" rowspan="1" class="ScrollbarNextName" width="33%">&#160;<a shape="rect" href="daytrader.html">DayTrader</a></td><td colspan="1" rowspan="1" class="ScrollbarNextIcon"><a shape="rect" href="daytrader.html"><img align="middle" 
 border="0" src="https://cwiki.apache.org/confluence/images/icons/forwd_16.gif" width="16" height="16"></a></td></tr></table></div>
+    </div>
+    <div class="parent">
+                    <a shape="rect" href="sample-applications.html" rel="parent">
+                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
+                                        <span class="title">Sample applications</span>
+                </a>
+
+            </div>
+    <div class="next">
+        <a shape="rect" href="daytrader.html" rel="next">
+                <span class="title">DayTrader</span>
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
+                            </a>
+
+    </div>
+</div>
 <p>To facilitate the creation of sample applications for Geronimo in a more consistent way we use mvn archetype to first create a sample template. mvn is part of the apache maven project. Downloading and configuring maven is prerequisite for creating your own sample. As maven needs a fully functional internet link, take care of its proxy configuration which you can set in maven_home/conf/setting.xml</p>
 
 <p>To create your own sample using this template follow these steps:</p>
-<ol><li>Download the <a shape="rect" href="creating-a-new-sample.data/samples-pom.zip?version=1&amp;modificationDate=1182838946000">samples-pom.zip </a>&#160;file into a directory. We will call it&#160;<b>samples-project.</b>.  Extract the zip file to here.
+<ol><li>Download the <a shape="rect" href="creating-a-new-sample.data/samples-pom.zip?version=1&amp;modificationDate=1182838946000&amp;api=v2">samples-pom.zip </a>&#160;file into a directory. We will call it&#160;<strong>samples-project.</strong>.  Extract the zip file to here.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"></li><li>Change directory to <b>samples-project/samples</b> and create a new sample using the&#160;following command. Substitute <tt><b>mySample</b></tt> in the comand below to the name of your sample.
+<br clear="none" class="atl-forced-newline"></li><li>Change directory to <strong>samples-project/samples</strong> and create a new sample using the&#160;following command. Substitute <code><strong>mySample</strong></code> in the comand below to the name of your sample.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"> <tt><b>mvn -Pcreate -DsampleName=</b><b><em>mySample</em></b> <b>-DsampleVersion=</b><b><em>myVersionNumber</em></b></tt>
+<br clear="none" class="atl-forced-newline"> <code><strong>mvn -Pcreate -DsampleName=</strong><strong><em>mySample</em></strong> <strong>-DsampleVersion=</strong><strong><em>myVersionNumber</em></strong></code>
 <br clear="none" class="atl-forced-newline">
 <br clear="none" class="atl-forced-newline">
 <br clear="none" class="atl-forced-newline">
-Congrats !!! You have successfully created a sample template called <tt><b>mySample</b></tt> 
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><br clear="none" class="atl-forced-newline">
-You now add/delete child mvn modules under <b>samples/</b><b><em>mySample</em></b> to suit your requirement.</td></tr></table></div>
-<p>&#160;</p></li><li>To build this sample, go to the <b>samples/</b><b><em>mySample</em></b>&#160; directory and run the following commands.
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+Congrats !!! You have successfully created a sample template called <code><strong>mySample</strong></code> 
+    <div class="aui-message hint shadowed information-macro">
+                            <span class="aui-icon icon-hint">Icon</span>
+                <div class="message-content">
+                            
+<p><br clear="none" class="atl-forced-newline">
+You now add/delete child mvn modules under <strong>samples/</strong><strong><em>mySample</em></strong> to suit your requirement. </p>
+                    </div>
+    </div>
+
+&#160;</li><li>To build this sample, go to the <strong>samples/</strong><strong><em>mySample</em></strong>&#160; directory and run the following commands.
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 mvn install
 mvn install site
 ]]></script>
 </div></div>
-<p>Your sample binary will be called samples/<em>mySample</em>/<em>mySample-ear-myVersion.ear</em>. There will be a <b>samples/</b><b><em>mySample</em>/docs</b> directory containing the javadocs and source xref for your samples.
+Your sample binary will be called samples/<em>mySample</em>/<em>mySample-ear-myVersion.ear</em>. There will be a <strong>samples/</strong><strong><em>mySample</em>/docs</strong> directory containing the javadocs and source xref for your samples.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"></p></li><li>This sample binary can now be deployed to a running Geronimo server.
+<br clear="none" class="atl-forced-newline"></li><li>This sample binary can now be deployed to a running Geronimo server.
 <br clear="none" class="atl-forced-newline">
 <br clear="none" class="atl-forced-newline"></li><li>Create/modify the wiki page for your sample at <a shape="rect" class="external-link" href="http://cwiki.apache.org/GMOxDOC20/sample-applications.html">http://cwiki.apache.org/GMOxDOC20/sample-applications.html</a>.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"></li><li>Save the complete html of that page in the <b>samples/</b><b><em>mySample</em>/docs/wiki</b> directory.
+<br clear="none" class="atl-forced-newline"></li><li>Save the complete html of that page in the <strong>samples/</strong><strong><em>mySample</em>/docs/wiki</strong> directory.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"></li><li>Go to <b><em>mySample</em></b> directory and run <tt>mvn clean</tt>. Then zip the <b><em>mySample</em></b> directory. The zip now contains the samples source, the javadocs, source xref and the wiki page doc.
+<br clear="none" class="atl-forced-newline"></li><li>Go to <strong><em>mySample</em></strong> directory and run <code>mvn clean</code>. Then zip the <strong><em>mySample</em></strong> directory. The zip now contains the samples source, the javadocs, source xref and the wiki page doc.
 <br clear="none" class="atl-forced-newline">
-<br clear="none" class="atl-forced-newline"></li><li>Attach this zip to your sample's wiki page.</li></ol>
-</div>
+<br clear="none" class="atl-forced-newline"></li><li>Attach this zip to your sample's wiki page.</li></ol></div>
         </div>
 
         

Modified: websites/production/geronimo/content/GMOxDOC20/database-sql-realm.html
==============================================================================
--- websites/production/geronimo/content/GMOxDOC20/database-sql-realm.html (original)
+++ websites/production/geronimo/content/GMOxDOC20/database-sql-realm.html Tue Jul 29 00:52:18 2014
@@ -23,6 +23,7 @@
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;
@@ -95,85 +96,106 @@
 
       <div class="pagecontent">
         <div class="wiki-content">
-          <div class="wiki-content maincontent"><style type="text/css">/*<![CDATA[*/
-table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
-table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
-table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
-table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
-table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
-table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}
+          <div class="wiki-content maincontent">    
+<div class="atb-scrollbar-macro">
+    <div class="prev">
+        <a shape="rect" href="certificate-properties-file-realm.html" rel="prev">
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
+                                <span class="title">Certificate Properties File Realm</span>
+            </a>
 
-/*]]>*/</style><div class="Scrollbar"><table class="ScrollbarTable"><tr><td colspan="1" rowspan="1" class="ScrollbarPrevIcon"><a shape="rect" href="certificate-properties-file-realm.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/back_16.gif" width="16" height="16"></a></td><td colspan="1" rowspan="1" class="ScrollbarPrevName" width="33%"><a shape="rect" href="certificate-properties-file-realm.html">Certificate Properties File Realm</a>&#160;</td><td colspan="1" rowspan="1" class="ScrollbarParent" width="33%"><sup><a shape="rect" href="administering-security-realms.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/up_16.gif" width="8" height="8"></a></sup><a shape="rect" href="administering-security-realms.html">Administering security realms</a></td><td colspan="1" rowspan="1" class="ScrollbarNextName" width="33%">&#160;<a shape="rect" href="ldap-realm.html">LDAP Realm</a></td><td colspan="1" rowspan
 ="1" class="ScrollbarNextIcon"><a shape="rect" href="ldap-realm.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/forwd_16.gif" width="16" height="16"></a></td></tr></table></div>
+    </div>
+    <div class="parent">
+                    <a shape="rect" href="administering-security-realms.html" rel="parent">
+                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
+                                        <span class="title">Administering security realms</span>
+                </a>
+
+            </div>
+    <div class="next">
+        <a shape="rect" href="ldap-realm.html" rel="next">
+                <span class="title">LDAP Realm</span>
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
+                            </a>
+
+    </div>
+</div>
 <p>In this section we will focus on the use a database for verifying and retrieving user names and passwords.</p>
 
-<p>For this example we created a new database called <b>SecurityDatabase</b> using the built-in Derby database. The following steps summarize the procedure performed to create the database and tables, load some sample data and create the connection pool. Detailed instructions on how to define database connection pools are described in the Configuring database pools section.</p>
+<p>For this example we created a new database called <strong>SecurityDatabase</strong> using the built-in Derby database. The following steps summarize the procedure performed to create the database and tables, load some sample data and create the connection pool. Detailed instructions on how to define database connection pools are described in the Configuring database pools section.</p>
 
-<h3><a shape="rect" name="Database%28SQL%29Realm-Createdatabaseandloadsampledata"></a>Create database and load sample data</h3>
+<h3 id="Database(SQL)Realm-Createdatabaseandloadsampledata">Create database and load sample data</h3>
 
-<ul><li>In the <b>Console Navigation</b> menu on the left click on <b>Database Manager</b>.</li><li>Enter <b>SecurityDatabase</b> in the <b>Create DB:</b> field and click <b>Create</b>.</li><li>Select the <b>SecurityDatabase</b> database from the <b>Use DB:</b> pull-down menu, enter the following commands and click <b>Run SQL</b>.<br clear="none">
-<tt>create table users</tt><br clear="none">
-<tt>(username varchar(15),</tt><br clear="none">
-<tt>password varchar(15));</tt><br clear="none">
-<tt>create table groups</tt><br clear="none">
-<tt>(username varchar(15),</tt><br clear="none">
-<tt>groupname varchar(15));</tt><br clear="none">
-<tt>insert into users values('userone','p1');</tt><br clear="none">
-<tt>insert into users values('usertwo','p2');</tt><br clear="none">
-<tt>insert into users values('userthree','p3');</tt><br clear="none">
-<tt>insert into groups values('userone','admin');</tt><br clear="none">
-<tt>insert into groups values('usertwo','admin');</tt><br clear="none">
-<tt>insert into groups values('userthree','user');</tt></li></ul>
+<ul><li>In the <strong>Console Navigation</strong> menu on the left click on <strong>Database Manager</strong>.</li><li>Enter <strong>SecurityDatabase</strong> in the <strong>Create DB:</strong> field and click <strong>Create</strong>.</li><li>Select the <strong>SecurityDatabase</strong> database from the <strong>Use DB:</strong> pull-down menu, enter the following commands and click <strong>Run SQL</strong>.<br clear="none">
+<code>create table users</code><br clear="none">
+<code>(username varchar(15),</code><br clear="none">
+<code>password varchar(15));</code><br clear="none">
+<code>create table groups</code><br clear="none">
+<code>(username varchar(15),</code><br clear="none">
+<code>groupname varchar(15));</code><br clear="none">
+<code>insert into users values('userone','p1');</code><br clear="none">
+<code>insert into users values('usertwo','p2');</code><br clear="none">
+<code>insert into users values('userthree','p3');</code><br clear="none">
+<code>insert into groups values('userone','admin');</code><br clear="none">
+<code>insert into groups values('usertwo','admin');</code><br clear="none">
+<code>insert into groups values('userthree','user');</code></li></ul>
 
 
-<h3><a shape="rect" name="Database%28SQL%29Realm-Createconnectionpool"></a>Create connection pool</h3>
+<h3 id="Database(SQL)Realm-Createconnectionpool">Create connection pool</h3>
 
-<ul><li>In the <b>Console Navigation</b> menu on the left click on <b>Database Pools</b>.</li><li>Click on <b>Using the Geronimo database pool wizard</b>.</li><li>Enter <b>SecurityDatabasePool</b> as the database pool name.</li><li>Select <b>Derby embedded XA</b> from the database pool type pull-down menu and click <b>Next</b>.</li><li>From the Driver JAR scroll box select <b>org.apache.geronimo.configs/system-database/2.0.1/car</b>.</li><li>Leave <b>blank</b> the DB user name and password.</li><li>Enter <b>SecurityDatabase</b> as the database.</li><li>Click <b>Deploy</b>.</li></ul>
+<ul><li>In the <strong>Console Navigation</strong> menu on the left click on <strong>Database Pools</strong>.</li><li>Click on <strong>Using the Geronimo database pool wizard</strong>.</li><li>Enter <strong>SecurityDatabasePool</strong> as the database pool name.</li><li>Select <strong>Derby embedded XA</strong> from the database pool type pull-down menu and click <strong>Next</strong>.</li><li>From the Driver JAR scroll box select <strong>org.apache.geronimo.configs/system-database/2.0.1/car</strong>.</li><li>Leave <strong>blank</strong> the DB user name and password.</li><li>Enter <strong>SecurityDatabase</strong> as the database.</li><li>Click <strong>Deploy</strong>.</li></ul>
 
 
-<h3><a shape="rect" name="Database%28SQL%29Realm-Addanewsecurityrealm"></a>Add a new security realm</h3>
+<h3 id="Database(SQL)Realm-Addanewsecurityrealm">Add a new security realm</h3>
 
-<p>To create a new security realm click on <b>Add new security realm</b> from the <b>Security Realms</b> portlet.</p>
+<p>To create a new security realm click on <strong>Add new security realm</strong> from the <strong>Security Realms</strong> portlet.</p>
 
-<p><span class="image-wrap" style=""><img src="database-sql-realm.data/sec_realm_1.gif" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/47147/sec_realm_1.gif?version=1&amp;modificationDate=1172793210000&amp;api=v2" data-image-src="/confluence/download/attachments/47147/sec_realm_1.gif?version=1&amp;modificationDate=1172793210000&amp;api=v2"></p>
 
-<p>Enter <b>derby_security_realm</b> in the <b>Name of Security Realm:</b> field and select <b>Database (SQL) Realm</b> from the <b>Realm type:</b> pull-down menu and click <b>Next</b>.</p>
+<p>Enter <strong>derby_security_realm</strong> in the <strong>Name of Security Realm:</strong> field and select <strong>Database (SQL) Realm</strong> from the <strong>Realm type:</strong> pull-down menu and click <strong>Next</strong>.</p>
 
 <p>The following screen configures the login module. The first two field you need to fill may vary from one database type to another. In this case we are using the embedded Derby database so the User and Group select SQL should read as follows:</p>
 
-<p><b>User SELECT SQL:</b> <tt>select username, password from users where username=?</tt><br clear="none">
-<b>Group SELECT SQL:</b> <tt>select username, groupname from groups where username=?</tt></p>
+<p><strong>User SELECT SQL:</strong> <code>select username, password from users where username=?</code><br clear="none">
+<strong>Group SELECT SQL:</strong> <code>select username, groupname from groups where username=?</code></p>
 
-<p>Once you entered the SQL statements for retrieving users and groups you need to select from the <b>Database Pool</b> pull-down menu the database connection pool you created in the previous step. Add the required values as shown below and click <b>Next</b>.</p>
+<p>Once you entered the SQL statements for retrieving users and groups you need to select from the <strong>Database Pool</strong> pull-down menu the database connection pool you created in the previous step. Add the required values as shown below and click <strong>Next</strong>.</p>
 
-<p><b>Database Pool:</b> <b><tt>SecurityDatabasePool</tt></b></p>
+<p><strong>Database Pool:</strong> <strong><code>SecurityDatabasePool</code></strong></p>
 
-<p><span class="image-wrap" style=""><img src="database-sql-realm.data/sec_realm_2.jpg" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/47147/sec_realm_2.jpg?version=1&amp;modificationDate=1193056711000&amp;api=v2" data-image-src="/confluence/download/attachments/47147/sec_realm_2.jpg?version=1&amp;modificationDate=1193056711000&amp;api=v2"></p>
 
-<p>The following step will allow you to enable auditing for monitoring the login attempts via this realm. In this step you can also configure the account lockout based on the number of failed loging attempts withing a specified timeframe. If you enable <b>Store Password</b>, then it will allow the realm to store the user's password in a private credential in the "Subject". If you enable <b>Naming Credential</b>, in addition to the user's password, this option will use private credentials to store user names too.</p>
+<p>The following step will allow you to enable auditing for monitoring the login attempts via this realm. In this step you can also configure the account lockout based on the number of failed loging attempts withing a specified timeframe. If you enable <strong>Store Password</strong>, then it will allow the realm to store the user's password in a private credential in the "Subject". If you enable <strong>Naming Credential</strong>, in addition to the user's password, this option will use private credentials to store user names too.</p>
 
-<p><span class="image-wrap" style=""><img src="database-sql-realm.data/sec_realm_3.jpg" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/47147/sec_realm_3.jpg?version=1&amp;modificationDate=1193053611000&amp;api=v2" data-image-src="/confluence/download/attachments/47147/sec_realm_3.jpg?version=1&amp;modificationDate=1193053611000&amp;api=v2"></p>
 
-<p>At this point you have configured this new security realm, the next step i to test it and then deploy it. Click on <b>Test a Login</b>.</p>
+<p>At this point you have configured this new security realm, the next step i to test it and then deploy it. Click on <strong>Test a Login</strong>.</p>
 
-<p>Enter a valid user name and password to be retrieved from the database and click <b>Next</b>.</p>
+<p>Enter a valid user name and password to be retrieved from the database and click <strong>Next</strong>.</p>
 
-<p><span class="image-wrap" style=""><img src="database-sql-realm.data/sec_realm_4.jpg" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/47147/sec_realm_4.jpg?version=1&amp;modificationDate=1193053617000&amp;api=v2" data-image-src="/confluence/download/attachments/47147/sec_realm_4.jpg?version=1&amp;modificationDate=1193053617000&amp;api=v2"></p>
 
-<p>You should receive a confirmation message that the login succeeded, click on <b>Deploy Realm</b> to load this configuration to the server.</p>
+<p>You should receive a confirmation message that the login succeeded, click on <strong>Deploy Realm</strong> to load this configuration to the server.</p>
 
-<p><span class="image-wrap" style=""><img src="database-sql-realm.data/sec_realm_5.jpg" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image" src="https://cwiki.apache.org/confluence/download/attachments/47147/sec_realm_5.jpg?version=1&amp;modificationDate=1193053622000&amp;api=v2" data-image-src="/confluence/download/attachments/47147/sec_realm_5.jpg?version=1&amp;modificationDate=1193053622000&amp;api=v2"></p>
 
 <p>Now you have a new, fully configured, security realm that retrieves user names and passwords from the build in Derby database.</p>
 
-<div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">If you get an error the first time you try to validate this realm, you will very likely see the <b><tt>SQL Exception: Failed to start database ...</tt></b> error in the terminal and logs. This is a know issue with Derby, you will need to restart Geronimio so the new database can communicate properly.</td></tr></table></div>
+    <div class="aui-message warning shadowed information-macro">
+                            <span class="aui-icon icon-warning">Icon</span>
+                <div class="message-content">
+                            <p>If you get an error the first time you try to validate this realm, you will very likely see the <strong><code>SQL Exception: Failed to start database ...</code></strong> error in the terminal and logs. This is a know issue with Derby, you will need to restart Geronimio so the new database can communicate properly.</p>
+                    </div>
+    </div>
+
 
-<p>The following example shows the deployment plan for this security realm. As an alternative to the Geronimo Administration Console, you can save this example to a file (i.e. derby_security_realm.xml) and deploy it with the <a shape="rect" href="deployer-tool.html" title="Deployer tool">Deployer tool</a> by running the following command:</p>
+<p>The following example shows the deployment plan for this security realm. As an alternative to the Geronimo Administration Console, you can save this example to a file (i.e. derby_security_realm.xml) and deploy it with the <a shape="rect" href="deployer-tool.html">Deployer tool</a> by running the following command:</p>
 
-<p><b><tt>&lt;geronimo_home&gt;\bin\deploy --user system --password manager deploy &lt;realm_path&gt;\derby_security_realm.xml</tt></b></p>
+<p><strong><code>&lt;geronimo_home&gt;\bin\deploy --user system --password manager deploy &lt;realm_path&gt;\derby_security_realm.xml</code></strong></p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>derby_security_realm</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>derby_security_realm</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"&gt;
+&lt;module xmlns=&quot;http://geronimo.apache.org/xml/ns/deployment-1.2&quot;&gt;
     &lt;environment&gt;
         &lt;moduleId&gt;
             &lt;groupId&gt;console.realm&lt;/groupId&gt;
@@ -195,33 +217,33 @@ table.ScrollbarTable td.ScrollbarNextIco
             &lt;/dependency&gt;
         &lt;/dependencies&gt;
     &lt;/environment&gt;
-    &lt;gbean name="derby_security_realm" class="org.apache.geronimo.security.realm.GenericSecurityRealm" xsi:type="dep:gbeanType"
-           xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
-        &lt;attribute name="realmName"&gt;derby_security_realm&lt;/attribute&gt;
-        &lt;reference name="ServerInfo"&gt;
+    &lt;gbean name=&quot;derby_security_realm&quot; class=&quot;org.apache.geronimo.security.realm.GenericSecurityRealm&quot; xsi:type=&quot;dep:gbeanType&quot;
+           xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.2&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
+        &lt;attribute name=&quot;realmName&quot;&gt;derby_security_realm&lt;/attribute&gt;
+        &lt;reference name=&quot;ServerInfo&quot;&gt;
             &lt;name&gt;ServerInfo&lt;/name&gt;
         &lt;/reference&gt;
-        &lt;xml-reference name="LoginModuleConfiguration"&gt;
-            &lt;log:login-config xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0"&gt;
-                &lt;log:login-module control-flag="REQUIRED" wrap-principals="false"&gt;
+        &lt;xml-reference name=&quot;LoginModuleConfiguration&quot;&gt;
+            &lt;log:login-config xmlns:log=&quot;http://geronimo.apache.org/xml/ns/loginconfig-2.0&quot;&gt;
+                &lt;log:login-module control-flag=&quot;REQUIRED&quot; wrap-principals=&quot;false&quot;&gt;
                     &lt;log:login-domain-name&gt;derby_security_realm&lt;/log:login-domain-name&gt;
                     &lt;log:login-module-class&gt;org.apache.geronimo.security.realm.providers.SQLLoginModule&lt;/log:login-module-class&gt;
-                    &lt;log:option name="dataSourceName"&gt;SecurityDatabasePool&lt;/log:option&gt;
-                    &lt;log:option name="dataSourceApplication"&gt;null&lt;/log:option&gt;
-                    &lt;log:option name="groupSelect"&gt;select username, groupname from groups where username=?&lt;/log:option&gt;
-                    &lt;log:option name="userSelect"&gt;select username, password from users where username=?&lt;/log:option&gt;
+                    &lt;log:option name=&quot;dataSourceName&quot;&gt;SecurityDatabasePool&lt;/log:option&gt;
+                    &lt;log:option name=&quot;dataSourceApplication&quot;&gt;null&lt;/log:option&gt;
+                    &lt;log:option name=&quot;groupSelect&quot;&gt;select username, groupname from groups where username=?&lt;/log:option&gt;
+                    &lt;log:option name=&quot;userSelect&quot;&gt;select username, password from users where username=?&lt;/log:option&gt;
                 &lt;/log:login-module&gt;
-                &lt;log:login-module control-flag="OPTIONAL" wrap-principals="false"&gt;
+                &lt;log:login-module control-flag=&quot;OPTIONAL&quot; wrap-principals=&quot;false&quot;&gt;
                     &lt;log:login-domain-name&gt;derby_security_realm-Audit&lt;/log:login-domain-name&gt;
                     &lt;log:login-module-class&gt;org.apache.geronimo.security.realm.providers.FileAuditLoginModule&lt;/log:login-module-class&gt;
-                    &lt;log:option name="file"&gt;var/log/derby_security_realm.log&lt;/log:option&gt;
+                    &lt;log:option name=&quot;file&quot;&gt;var/log/derby_security_realm.log&lt;/log:option&gt;
                 &lt;/log:login-module&gt;
-                &lt;log:login-module control-flag="REQUISITE" wrap-principals="false"&gt;
+                &lt;log:login-module control-flag=&quot;REQUISITE&quot; wrap-principals=&quot;false&quot;&gt;
                     &lt;log:login-domain-name&gt;derby_security_realm-Lockout&lt;/log:login-domain-name&gt;
                     &lt;log:login-module-class&gt;org.apache.geronimo.security.realm.providers.RepeatedFailureLockoutLoginModule&lt;/log:login-module-class&gt;
-                    &lt;log:option name="failureCount"&gt;3&lt;/log:option&gt;
-                    &lt;log:option name="failurePeriodSecs"&gt;10&lt;/log:option&gt;
-                    &lt;log:option name="lockoutDurationSecs"&gt;60&lt;/log:option&gt;
+                    &lt;log:option name=&quot;failureCount&quot;&gt;3&lt;/log:option&gt;
+                    &lt;log:option name=&quot;failurePeriodSecs&quot;&gt;10&lt;/log:option&gt;
+                    &lt;log:option name=&quot;lockoutDurationSecs&quot;&gt;60&lt;/log:option&gt;
                 &lt;/log:login-module&gt;
             &lt;/log:login-config&gt;
         &lt;/xml-reference&gt;
@@ -230,7 +252,7 @@ table.ScrollbarTable td.ScrollbarNextIco
 ]]></script>
 </div></div>
 
-<p>Once the security realm has been created, you can use the <b>usage</b> link to view samples of how to use the new realm in your applications.</p></div>
+<p>Once the security realm has been created, you can use the <strong>usage</strong> link to view samples of how to use the new realm in your applications.</p></div>
         </div>
 
         

Modified: websites/production/geronimo/content/GMOxDOC20/daytrader.html
==============================================================================
--- websites/production/geronimo/content/GMOxDOC20/daytrader.html (original)
+++ websites/production/geronimo/content/GMOxDOC20/daytrader.html Tue Jul 29 00:52:18 2014
@@ -18,6 +18,17 @@
 
     <script src="http://geronimo.apache.org/functions.js" type="text/javascript"></script>
 
+  <link href='http://geronimo.apache.org/resources/highlighter/styles/shCoreGeronimo.css' rel='stylesheet' type='text/css' />
+  <link href='http://geronimo.apache.org/resources/highlighter/styles/shThemeGeronimo.css' rel='stylesheet' type='text/css' />
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
 
     <title>Apache Geronimo v2.0 Documentation : DayTrader</title>
 
@@ -85,73 +96,80 @@
 
       <div class="pagecontent">
         <div class="wiki-content">
-          <div class="wiki-content maincontent"><style type="text/css">/*<![CDATA[*/
-table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
-table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
-table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
-table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
-table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
-table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}
+          <div class="wiki-content maincontent">    
+<div class="atb-scrollbar-macro">
+    <div class="prev">
+        <a shape="rect" href="creating-a-new-sample.html" rel="prev">
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
+                                <span class="title">Creating a new sample</span>
+            </a>
 
-/*]]>*/</style><div class="Scrollbar"><table class="ScrollbarTable"><tr><td colspan="1" rowspan="1" class="ScrollbarPrevIcon"><a shape="rect" href="creating-a-new-sample.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/back_16.gif" width="16" height="16"></a></td><td colspan="1" rowspan="1" class="ScrollbarPrevName" width="33%"><a shape="rect" href="creating-a-new-sample.html">Creating a new sample</a>&#160;</td><td colspan="1" rowspan="1" class="ScrollbarParent" width="33%"><sup><a shape="rect" href="sample-applications.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/up_16.gif" width="8" height="8"></a></sup><a shape="rect" href="sample-applications.html">Sample applications</a></td><td colspan="1" rowspan="1" class="ScrollbarNextName" width="33%">&#160;<a shape="rect" href="db-pool-testing-sample-application.html">DB Pool Testing sample application</a></td><td colspan="1" rowspan="1" class="Scroll
 barNextIcon"><a shape="rect" href="db-pool-testing-sample-application.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/forwd_16.gif" width="16" height="16"></a></td></tr></table></div>
+    </div>
+    <div class="parent">
+                    <a shape="rect" href="sample-applications.html" rel="parent">
+                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
+                                        <span class="title">Sample applications</span>
+                </a>
+
+            </div>
+    <div class="next">
+        <a shape="rect" href="db-pool-testing-sample-application.html" rel="next">
+                <span class="title">DB Pool Testing sample application</span>
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
+                            </a>
+
+    </div>
+</div>
 
-<h1><a shape="rect" name="DayTrader-ApacheDayTraderBenchmarkSample"></a>Apache DayTrader Benchmark Sample</h1>
+<h1 id="DayTrader-ApacheDayTraderBenchmarkSample">Apache DayTrader Benchmark Sample</h1>
 
-<h2><a shape="rect" name="DayTrader-WhatisDayTrader%3F"></a>What is DayTrader?</h2>
+<h2 id="DayTrader-WhatisDayTrader?">What is DayTrader?</h2>
 
 <p>DayTrader is benchmark application built around the paradigm of an online stock trading system. Originally developed by IBM as the Trade Performance Benchmark Sample, DayTrader was donated to the Apache Geronimo community in 2005. The application allows users to login, view their portfolio, lookup stock quotes, and buy or sell stock shares. With the aid of a Web-based load driver such as Mercury LoadRunner, Rational Performance Tester, or Apache JMeter, the real-world workload provided by DayTrader can be used to measure and compare the performance of Java Platform, Enterprise Edition (Java EE) application servers offered by a variety of vendors. In addition to the full workload, the application also contains a set of primitives used for functional and performance testing of various Java EE components and common design patterns.</p>
 
-<h2><a shape="rect" name="DayTrader-ApplicationArchitecture"></a>Application Architecture</h2>
+<h2 id="DayTrader-ApplicationArchitecture">Application Architecture</h2>
 
 <p>DayTrader is built on a core set of Java EE technologies that includes Java Servlets and JavaServer Pages (JSPs) for the presentation layer and Java database connectivity (JDBC), Java Message Service (JMS), Enterprise JavaBeans (EJBs) and Message-Driven Beans (MDBs) for the back-end business logic and persistence layer. The following diagram provides a high-level overview of the full workload application architecture.</p>
 
-<p><span class="image-wrap" style="display: block; text-align: center"><img src="daytrader.data/daytrader_simple_arch.gif" style="border: 0px solid black"></span></p>
+<p><img class="confluence-embedded-image image-center" src="https://cwiki.apache.org/confluence/download/attachments/44340/daytrader_simple_arch.gif?version=1&amp;modificationDate=1172125821000&amp;api=v2" data-image-src="/confluence/download/attachments/44340/daytrader_simple_arch.gif?version=1&amp;modificationDate=1172125821000&amp;api=v2"></p>
 
-<h3><a shape="rect" name="DayTrader-PresentationLayer"></a>Presentation Layer</h3>
+<h3 id="DayTrader-PresentationLayer">Presentation Layer</h3>
 
 <p>The presentation layer consists of several Java Servlets and JSPs that loosely adhere to a Model-View-Controller (MVC) design pattern. <em>TradeAppServlet</em> is the primary controller servlet responsible for recieving incoming client requests, triggering the desired business logic, and forwarding responses to the appropriate JSP page. Additional servlets and JSPs are used to configure the DayTrader runtime options and manage the supporting database. </p>
 
-<h3><a shape="rect" name="DayTrader-BusinessLogicandPersistenceLayer"></a>Business Logic and Persistence Layer</h3>
+<h3 id="DayTrader-BusinessLogicandPersistenceLayer">Business Logic and Persistence Layer</h3>
 
 <p>The business logic and persistence layer form the bulk of the DayTrader application. The <em>TradeServices</em> interface defines the core set of business operations available in the application, such as register, login, getHoldings, buy, completeOrder, logout, etc. DayTrader provides three different implementations of these services, corresponding to three commonly used JavaEE application design patterns. These implementations are discussed below. Users can switch between these implemenations on the configuration page by changed the Runtime Mode.</p>
 
-<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>Implementation</b>  </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Details</b> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>TradeDirect</b> <br clear="none" class="atl-forced-newline"> (Default) </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Pattern:</b> Servlet-to-JDBC<br clear="none" class="atl-forced-newline"> <b>Runtime Mode:</b> Direct<br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeDirect</em> class performs CRUD (create, read, update, and delete) operations directly agaist the supporting database using custom JDBC code. Database connections, commits, and rollbacks are managed manually in the code. JTA user transactions are used to coordinate 2-phase commmits. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>TradeJDBC</b> </td><td colspan="1" rowspan="1" class="confluen
 ceTd"> <b>Pattern:</b> Servlet-to-SessionBean-to-JDBC<br clear="none" class="atl-forced-newline"> <b>Runtime Mode:</b> Session Direct <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeJDBC</em> stateless session bean serves as a wrapper for TradeDirect. The session bean assumes control of all transaction management while TradeDirect remains responsible for handleing the JDBC operations and connections. This implementation reflects the most commonly used JavaEE application design pattern. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>TradeBean</b> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Pattern:</b> Servlet-to-SessionBean-to-EntityBean<br clear="none" class="atl-forced-newline"> <b>Runtime Mode:</b> EJB<br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeBean</em> stateless session bean uses Caontainer Managed Persistence (CMP) entity beans to 
 represent the business objects. The state of these objects is completely managed by the application servers EJB container. </td></tr></tbody></table>
-</div>
+<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Implementation</strong>  </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Details</strong> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>TradeDirect</strong> <br clear="none" class="atl-forced-newline"> (Default) </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Pattern:</strong> Servlet-to-JDBC<br clear="none" class="atl-forced-newline"> <strong>Runtime Mode:</strong> Direct<br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeDirect</em> class performs CRUD (create, read, update, and delete) operations directly agaist the supporting database using custom JDBC code. Database connections, commits, and rollbacks are managed manually in the code. JTA user transactions are used to coordinate 2-phase commmits. </p></td></tr><tr><td colspan="
 1" rowspan="1" class="confluenceTd"><p> <strong>TradeJDBC</strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Pattern:</strong> Servlet-to-SessionBean-to-JDBC<br clear="none" class="atl-forced-newline"> <strong>Runtime Mode:</strong> Session Direct <br clear="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeJDBC</em> stateless session bean serves as a wrapper for TradeDirect. The session bean assumes control of all transaction management while TradeDirect remains responsible for handleing the JDBC operations and connections. This implementation reflects the most commonly used JavaEE application design pattern. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>TradeBean</strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Pattern:</strong> Servlet-to-SessionBean-to-EntityBean<br clear="none" class="atl-forced-newline"> <strong>Runtime Mode:</strong> EJB<br clea
 r="none" class="atl-forced-newline"> <br clear="none" class="atl-forced-newline"> The <em>TradeBean</em> stateless session bean uses Caontainer Managed Persistence (CMP) entity beans to represent the business objects. The state of these objects is completely managed by the application servers EJB container. </p></td></tr></tbody></table></div>
 
 
 <p>Another subtle component of this layer involves the Java Messaging Service (JMS). JMS is used within DayTrader for two specific purposes, asynchronously processing buy/sell orders, and publishing quote price updates. The following table discusses these operations in further detail.</p>
 
-<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>Operation</b> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Details</b> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Asynchrounous Order Processing </td><td colspan="1" rowspan="1" class="confluenceTd"> When a buy or sell operation is performed, an order request is placed on the TradeBroker JMS queue using a client connection. The TradeBrokerMDB consumes messages on this queue and completes the buy or sell operation. </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Quote Price Updates </td><td colspan="1" rowspan="1" class="confluenceTd"> As stocks are traded, the associated quote prices are updated in the database and published to a JMS topic. The TradeStreamerMDB subscribes to these updates consuming  the price updates messages, but does nothing more with them. The TradeStreamer JavaEE client that is bundled with DayTrader can be started to v
 iew the quote prices updates in real time. </td></tr></tbody></table>
-</div>
+<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Operation</strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Details</strong> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Asynchrounous Order Processing </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When a buy or sell operation is performed, an order request is placed on the TradeBroker JMS queue using a client connection. The TradeBrokerMDB consumes messages on this queue and completes the buy or sell operation. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Quote Price Updates </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> As stocks are traded, the associated quote prices are updated in the database and published to a JMS topic. The TradeStreamerMDB subscribes to these updates consuming  the price updates messages, but does nothing more with them. 
 The TradeStreamer JavaEE client that is bundled with DayTrader can be started to view the quote prices updates in real time. </p></td></tr></tbody></table></div>
 
 
-<h3><a shape="rect" name="DayTrader-BusinessObjectsandRelationships"></a>Business Objects and Relationships</h3>
+<h3 id="DayTrader-BusinessObjectsandRelationships">Business Objects and Relationships</h3>
 
 <p>The following diagram represents the database schema and associated business objects. Container managed relationships (CMRs) are also depicted in the diagram.</p>
 
-<p><b>Create diagram and add here</b></p>
+<p><strong>Create diagram and add here</strong></p>
 
-<h3><a shape="rect" name="DayTrader-BusinessOperations%28asdefinedinTradeServices%29"></a>Business Operations (as defined in TradeServices)</h3>
+<h3 id="DayTrader-BusinessOperations(asdefinedinTradeServices)">Business Operations (as defined in TradeServices)</h3>
 
 <p>As previously mentioned, all of the primary buisness operations provided by DayTrader are defined in the TradeServices interface. These operations are discussed further in the following table.</p>
 
-<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"> <b>TradeServices Operation</b> </td><td colspan="1" rowspan="1" class="confluenceTd"> <b>Details</b> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> login </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> logout </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> buy </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> sell </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getMarketSummary </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> queueOrder </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr>
 <tr><td colspan="1" rowspan="1" class="confluenceTd"> completeOrder </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> cancelOrder </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> orderCompleted </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getOrders </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getClosedOrders </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> createQuote </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getQuote </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getAllQuotes </td><td colspan="1" rowspan="1" c
 lass="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> updateQuotePriceVolume </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getHoldings </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getHolding </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getAccountData </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> getAccountProfileData </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> updateAccountProfile </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> register </td><td colspan="1" rowspan="1" class="confluence
 Td">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> resetTrade </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table>
-</div>
+<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>TradeServices Operation</strong> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <strong>Details</strong> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> login </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> logout </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> buy </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> sell </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getMarketSummary </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td
  colspan="1" rowspan="1" class="confluenceTd"><p> queueOrder </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> completeOrder </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> cancelOrder </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> orderCompleted </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getOrders </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getClosedOrders </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> createQuote </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan
 ="1" rowspan="1" class="confluenceTd"><p> getQuote </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getAllQuotes </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> updateQuotePriceVolume </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getHoldings </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getHolding </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getAccountData </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> getAccountProfileData </p></td><td colspan="
 1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> updateAccountProfile </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> register </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> resetTrade </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div>
 
 
-<h3><a shape="rect" name="DayTrader-UserInerface%28UI%29Operations"></a>User Inerface (UI) Operations</h3>
+<h3 id="DayTrader-UserInerface(UI)Operations">User Inerface (UI) Operations</h3>
 
 <p>The DayTrader JSP/Servlet-based web client provides a basic set of operations that one would expect to find in any stock trading and portfolio management application. These high level user operations trigger specific buisness operations (defined above) within the buisness logic and persistence layers to perform the desired task. The following table summarizes the buisness tasks performed by each user operation/action.</p>
 
-<div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"> Client (UI) Operation </td><td colspan="1" rowspan="1" class="confluenceTd"> Flow of Buisness Operations </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Register </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Login </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> View Account </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> View Account Profile </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Update Account Profile </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> View Portfolio </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1"
  rowspan="1" class="confluenceTd"> Sell Holding </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> View Quotes </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Buy Stock </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> Logout </td><td colspan="1" rowspan="1" class="confluenceTd">&#160;</td></tr></tbody></table>
-</div>
+<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Client (UI) Operation </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Flow of Buisness Operations </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Register </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Login </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> View Account </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> View Account Profile </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Update Account Profile </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> 
 View Portfolio </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Sell Holding </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> View Quotes </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Buy Stock </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> Logout </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td></tr></tbody></table></div>
 
 
-<h1><a shape="rect" name="DayTrader-Gettingthesource"></a>Getting the source</h1>
+<h1 id="DayTrader-Gettingthesource">Getting the source</h1>
 
 
 <p><a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/geronimo/daytrader/trunk">http://svn.apache.org/repos/asf/geronimo/daytrader/trunk</a></p></div>



Mime
View raw message