You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by sc...@apache.org on 2014/05/12 08:42:10 UTC

svn commit: r1593897 [4/27] - in /onami/site/persist: ./ apidocs/assets/ apidocs/reference/ apidocs/reference/org/apache/onami/persist/ cobertura/ xref-test/ xref-test/org/apache/onami/persist/ xref-test/org/apache/onami/persist/test/ xref-test/org/apa...

Modified: onami/site/persist/apidocs/reference/org/apache/onami/persist/package-summary.html
URL: http://svn.apache.org/viewvc/onami/site/persist/apidocs/reference/org/apache/onami/persist/package-summary.html?rev=1593897&r1=1593896&r2=1593897&view=diff
==============================================================================
--- onami/site/persist/apidocs/reference/org/apache/onami/persist/package-summary.html (original)
+++ onami/site/persist/apidocs/reference/org/apache/onami/persist/package-summary.html Mon May 12 06:42:06 2014
@@ -154,25 +154,27 @@
               
     <li><h2>Interfaces</h2>
       <ul>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/AllPersistenceServices.html">AllPersistenceServices</a></li>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/AllUnitsOfWork.html">AllUnitsOfWork</a></li>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/AnnotatedPersistenceUnitBuilder.html">AnnotatedPersistenceUnitBuilder</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/EntityManagerProvider.html">EntityManagerProvider</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/PersistenceService.html">PersistenceService</a></li>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/UnannotatedPersistenceUnitBuilder.html">UnannotatedPersistenceUnitBuilder</a></li>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/UnconfiguredPersistenceUnitBuilder.html">UnconfiguredPersistenceUnitBuilder</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/UnitOfWork.html">UnitOfWork</a></li>
       </ul>
     </li>
               
     <li><h2>Classes</h2>
       <ul>
-        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/ApplicationManagedPersistenceUnitModule.html">ApplicationManagedPersistenceUnitModule</a></li>
-        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/ContainerManagedPersistenceUnitModule.html">ContainerManagedPersistenceUnitModule</a></li>
+        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/JndiLookupHelper.html">JndiLookupHelper</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/PersistenceFilter.html">PersistenceFilter</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/PersistenceModule.html">PersistenceModule</a></li>
-        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/PersistenceUnitBuilder.html">PersistenceUnitBuilder</a></li>
       </ul>
     </li>
               
     <li><h2>Annotations</h2>
       <ul>
-        <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/AllPersistenceUnits.html">AllPersistenceUnits</a></li>
         <li class="api apilevel-"><a href="../../../../org/apache/onami/persist/Transactional.html">Transactional</a></li>
       </ul>
     </li>
@@ -243,14 +245,34 @@
     
   <table class="jd-sumtable-expando">
         <tr class="alt-color api apilevel-" >
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/AllPersistenceServices.html">AllPersistenceServices</a></td>
+              <td class="jd-descrcol" width="100%">Interface for aggregation of multiple <code><a href="../../../../org/apache/onami/persist/PersistenceService.html">PersistenceServices</a></code>.&nbsp;</td>
+          </tr>
+        <tr class=" api apilevel-" >
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/AllUnitsOfWork.html">AllUnitsOfWork</a></td>
+              <td class="jd-descrcol" width="100%">Interface for aggregation of multiple <code><a href="../../../../org/apache/onami/persist/UnitOfWork.html">UnitsOfWork</a></code>.&nbsp;</td>
+          </tr>
+        <tr class="alt-color api apilevel-" >
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/AnnotatedPersistenceUnitBuilder.html">AnnotatedPersistenceUnitBuilder</a></td>
+              <td class="jd-descrcol" width="100%">3rd step of the persistence unit builder process.&nbsp;</td>
+          </tr>
+        <tr class=" api apilevel-" >
               <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/EntityManagerProvider.html">EntityManagerProvider</a></td>
               <td class="jd-descrcol" width="100%">Provider for EntityManager.&nbsp;</td>
           </tr>
-        <tr class=" api apilevel-" >
+        <tr class="alt-color api apilevel-" >
               <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/PersistenceService.html">PersistenceService</a></td>
               <td class="jd-descrcol" width="100%">This is the main control to the entire persistence engine.&nbsp;</td>
           </tr>
+        <tr class=" api apilevel-" >
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/UnannotatedPersistenceUnitBuilder.html">UnannotatedPersistenceUnitBuilder</a></td>
+              <td class="jd-descrcol" width="100%">2nd step of the persistence unit builder process.&nbsp;</td>
+          </tr>
         <tr class="alt-color api apilevel-" >
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/UnconfiguredPersistenceUnitBuilder.html">UnconfiguredPersistenceUnitBuilder</a></td>
+              <td class="jd-descrcol" width="100%">4th step of the persistence unit builder process.&nbsp;</td>
+          </tr>
+        <tr class=" api apilevel-" >
               <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/UnitOfWork.html">UnitOfWork</a></td>
               <td class="jd-descrcol" width="100%">The Unit of work correlates with the life cycle of the EntityManager.&nbsp;</td>
           </tr>
@@ -265,24 +287,16 @@
     
   <table class="jd-sumtable-expando">
         <tr class="alt-color api apilevel-" >
-              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/ApplicationManagedPersistenceUnitModule.html">ApplicationManagedPersistenceUnitModule</a></td>
-              <td class="jd-descrcol" width="100%">Persistence module for an application managed persistence unit.&nbsp;</td>
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/JndiLookupHelper.html">JndiLookupHelper</a></td>
+              <td class="jd-descrcol" width="100%">Helper class which does a JNDI lookup and handles exceptions.&nbsp;</td>
           </tr>
         <tr class=" api apilevel-" >
-              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/ContainerManagedPersistenceUnitModule.html">ContainerManagedPersistenceUnitModule</a></td>
-              <td class="jd-descrcol" width="100%">Persistence module for an container managed persistence unit.&nbsp;</td>
-          </tr>
-        <tr class="alt-color api apilevel-" >
               <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/PersistenceFilter.html">PersistenceFilter</a></td>
               <td class="jd-descrcol" width="100%">Filter for use in container.&nbsp;</td>
           </tr>
-        <tr class=" api apilevel-" >
-              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/PersistenceModule.html">PersistenceModule</a></td>
-              <td class="jd-descrcol" width="100%">Main module of the jpa-persistence guice extension.&nbsp;</td>
-          </tr>
         <tr class="alt-color api apilevel-" >
-              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/PersistenceUnitBuilder.html">PersistenceUnitBuilder</a></td>
-              <td class="jd-descrcol" width="100%">Builder class for configurating a guice-jpa persistence unit.&nbsp;</td>
+              <td class="jd-linkcol"><a href="../../../../org/apache/onami/persist/PersistenceModule.html">PersistenceModule</a></td>
+              <td class="jd-descrcol" width="100%">Main module of the onami persist guice extension.&nbsp;</td>
           </tr>
   </table>
     </div>

Added: onami/site/persist/complexWebApp.html
URL: http://svn.apache.org/viewvc/onami/site/persist/complexWebApp.html?rev=1593897&view=auto
==============================================================================
--- onami/site/persist/complexWebApp.html (added)
+++ onami/site/persist/complexWebApp.html Mon May 12 06:42:06 2014
@@ -0,0 +1,391 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 09 May 2014
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="The Apache Onami developers team" />
+    <meta name="Date-Revision-yyyymmdd" content="20140509" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Onami Persistence - Multi Datasource Web Application</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    
+          <style type="text/css">body{background-image: url('./images/profiles/sandbox.png');}</style>
+    
+  
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<link title="DOAP" rel="meta" type="application/rdf+xml" href="http://onami.apache.org/persist/doap.rdf"/>
+          
+            </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                <div id="bannerLeft">
+                <h2>Apache Onami Persistence</h2>
+                </div>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                  <li id="publishDate">Last Published: 09 May 2014</li>
+                  <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-SNAPSHOT</li>
+                      
+                
+                    
+      
+                                              
+    <li class="pull-right">              <a href="http://code.google.com/p/google-guice/" class="externalLink" title="Google Guice">
+        Google Guice</a>
+  </li>
+
+                        </ul>
+      </div>
+
+            
+      <div class="row-fluid">
+        <div id="leftColumn" class="span3">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache Onami™ Persist</li>
+                                
+      <li>
+    
+                          <a href="index.html" title="Home">
+          <i class="none"></i>
+        Home</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="daoExample.html" title="DAO Example">
+          <i class="none"></i>
+        DAO Example</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="guicePersist.html" title="Onami Persist vs. Guice Persist">
+          <i class="none"></i>
+        Onami Persist vs. Guice Persist</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="emProvider.html" title="EntityManagerProvider">
+          <i class="none"></i>
+        EntityManagerProvider</a>
+            </li>
+                              <li class="nav-header">Samples</li>
+                                
+      <li>
+    
+                          <a href="standaloneApp.html" title="Standalone Application">
+          <i class="none"></i>
+        Standalone Application</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="simpleWebApp.html" title="Simple Web Application">
+          <i class="none"></i>
+        Simple Web Application</a>
+            </li>
+                  
+      <li class="active">
+    
+            <a href="#"><i class="none"></i>Multi Datasource Web Application</a>
+          </li>
+                              <li class="nav-header">Project Documentation</li>
+                                                                                                                                                                                                                                                                                                                            
+      <li>
+    
+                          <a href="project-info.html" title="Project Information">
+          <i class="icon-chevron-right"></i>
+        Project Information</a>
+                  </li>
+                                                                                                                                                                                
+      <li>
+    
+                          <a href="project-reports.html" title="Project Reports">
+          <i class="icon-chevron-right"></i>
+        Project Reports</a>
+                  </li>
+                              <li class="nav-header">Community</li>
+                                
+      <li>
+    
+                          <a href="../community/volunteering.html" title="Volunteering">
+          <i class="none"></i>
+        Volunteering</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../community/patches.html" title="Contributing Patches">
+          <i class="none"></i>
+        Contributing Patches</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../community/mail-lists.html" title="Mailing lists">
+          <i class="none"></i>
+        Mailing lists</a>
+            </li>
+                              <li class="nav-header">Committers</li>
+                                
+      <li>
+    
+                          <a href="../committers/svn-conventions.html" title="SVN conventions">
+          <i class="none"></i>
+        SVN conventions</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/maven-settings.html" title="Maven settings">
+          <i class="none"></i>
+        Maven settings</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/gpg-keys.html" title="GPG keys">
+          <i class="none"></i>
+        GPG keys</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/jira-conventions.html" title="JIRA conventions">
+          <i class="none"></i>
+        JIRA conventions</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/codestyle.html" title="Code style recommendations">
+          <i class="none"></i>
+        Code style recommendations</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/release-howto.html" title="Release HowTo">
+          <i class="none"></i>
+        Release HowTo</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                                
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">
+          <i class="none"></i>
+        How the ASF works</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">
+          <i class="none"></i>
+        Get Involved</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">
+          <i class="none"></i>
+        Developer Resources</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">
+          <i class="none"></i>
+        Sponsorship</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+            </ul>
+                
+                    
+                
+          <hr class="divider" />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                
+        <div id="bodyColumn"  class="span9" >
+                                  
+            <!--  --><!-- 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. --><!--  --><div class="section">
+<h2>Multi Datasource Web Application<a name="Multi_Datasource_Web_Application"></a></h2>
+<div class="section">
+<h3>java code<a name="java_code"></a></h3>
+<div class="source">
+<pre>public class BootstrapServletListener extends GuiceServletContextListener {
+    protected Injector getInjector() {
+        final PersistenceModule persistenceModule = new PersistenceModule() {
+            @Override
+            protected void configurePersistence() {
+                bindContainerManagedPersistenceUnitWithJndiName(&quot;java:comp/env/foobar/mainPuJndiName&quot;)
+                    .annotatedWith(MainPU.class)
+                    .useGlobalTransactionWithJndiName(&quot;java:comp/env/UserTransaction&quot;);
+
+                bindContainerManagedPersistenceUnitWithJndiName(&quot;java:comp/env/foobar/alternativePUJndiName&quot;)
+                    .annotatedWith(AlternativePU.class)
+                    .useGlobalTransactionWithJndiName(&quot;java:comp/env/UserTransaction&quot;);
+
+                bindContainerManagedPersistenceUnitWithJndiName(&quot;java:comp/env/foobar/systemPuJndiName&quot;)
+                    .annotatedWith(SystemPU.class)
+                    .useLocalTransaction();
+            }
+        };
+
+        final ServletModule servletModule = new ServletModule() {
+            filter(&quot;/*&quot;).through(PersistenceFilter.class);
+        };
+
+        return Guice.createInjector(servletModule, persistenceModule, getApplicationSpecificModules());
+    }</pre></div></div>
+<div class="section">
+<h3>web.xml<a name="web.xml"></a></h3>
+<div class="source">
+<pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;web-app version=&quot;2.5&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
+xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&gt;
+    &lt;display-name&gt;FooBar App&lt;/display-name&gt;
+    &lt;filter&gt;
+        &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
+        &lt;filter-class&gt;com.google.inject.servlet.GuiceFilter&lt;/filter-class&gt;
+    &lt;/filter&gt;
+    &lt;filter-mapping&gt;
+        &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
+        &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
+    &lt;/filter-mapping&gt;
+    &lt;listener&gt;
+        &lt;listener-class&gt;foo.bar.BootstrapServletListener&lt;/listener-class&gt;
+    &lt;/listener&gt;
+    &lt;!-- More config. --&gt;
+&lt;/web-app&gt;</pre></div></div>
+<div class="section">
+<h3>persistence.xml<a name="persistence.xml"></a></h3>
+<div class="source">
+<pre>&lt;persistence xmlns=&quot;http://java.sun.com/xml/ns/persistence&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+    xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd&quot; version=&quot;2.0&quot;&gt;
+    &lt;persistence-unit name=&quot;mainPuName&quot; transaction-type=&quot;JTA&quot;&gt;
+        &lt;!-- your configuration --&gt;
+    &lt;/peristence-unit&gt;
+    &lt;persistence-unit name=&quot;alternativePuName&quot; transaction-type=&quot;JTA&quot;&gt;
+        &lt;!-- your configuration --&gt;
+    &lt;/peristence-unit&gt;
+    &lt;persistence-unit name=&quot;systemPuName&quot; transaction-type=&quot;RESOURCE_LOCAL&quot;&gt;
+        &lt;!-- your configuration --&gt;
+    &lt;/peristence-unit&gt;
+&lt;/peristence&gt;</pre></div></div>
+<div class="section">
+<h3>JNDI Binding<a name="JNDI_Binding"></a></h3>
+<p>In order to allow container managed persistence units the persistence unit must be bound in the JNDI framework.</p>
+<p>If your container follows the J2EE Standard 5.0 add the following to your web.xml</p>
+<div class="source">
+<pre>&lt;peristence-unit-ref&gt;
+    &lt;peristence-unit-ref-name&gt;foobar/mainPuJndiName&lt;/peristence-unit-ref-name&gt;
+    &lt;peristence-unit-name&gt;mainPuName&lt;/peristence-unit-name&gt;
+&lt;/peristence-unit-ref&gt;
+&lt;peristence-unit-ref&gt;
+    &lt;peristence-unit-ref-name&gt;foobar/alternativePuJndiName&lt;/peristence-unit-ref-name&gt;
+    &lt;peristence-unit-name&gt;alterantivePuName&lt;/peristence-unit-name&gt;
+&lt;/peristence-unit-ref&gt;
+&lt;peristence-unit-ref&gt;
+    &lt;peristence-unit-ref-name&gt;foobar/systemPuJndiName&lt;/peristence-unit-ref-name&gt;
+    &lt;peristence-unit-name&gt;systemPuName&lt;/peristence-unit-name&gt;
+&lt;/peristence-unit-ref&gt;</pre></div>
+<p>Important: JBoss AS7.x do not support placing the JNDI binding in the web.xml. Instead add the following to your persistence.xml</p>
+<div class="source">
+<pre>&lt;property name=&quot;jboss.entity.manager.factory.jndi.name&quot; value=&quot;java:comp/env/foobar/mainPuJndiName&quot; /&gt;
+&lt;property name=&quot;jboss.as.jpa.managed&quot; value=&quot;true&quot; /&gt;
+
+&lt;property name=&quot;jboss.entity.manager.factory.jndi.name&quot; value=&quot;java:comp/env/foobar/alternativePuJndiName&quot; /&gt;
+&lt;property name=&quot;jboss.as.jpa.managed&quot; value=&quot;true&quot; /&gt;
+
+&lt;property name=&quot;jboss.entity.manager.factory.jndi.name&quot; value=&quot;java:comp/env/foobar/systemPuJndiName&quot; /&gt;
+&lt;property name=&quot;jboss.as.jpa.managed&quot; value=&quot;true&quot; /&gt;</pre></div>
+<p>Important: JBoss AS 7.x makes all datasources defined in the standalone.xml JTA managed. If you want one or more of the datasources to be resource local you must add the attribute &quot;jta&quot; to the datasource element.</p>
+<div class="source">
+<pre>&lt;datasource jndi-name=&quot;java:jboss/datasources/systemDS&quot; pool-name=&quot;systemDS&quot; enabled=&quot;true&quot; use-java-context=&quot;true&quot; jta=&quot;false&quot;&gt;
+    ...
+&lt;/datasource&gt;</pre></div></div>
+<div class="section">
+<h3>Structure of the .war<a name="Structure_of_the_.war"></a></h3>
+<div class="source">
+<pre>+ app.war
+|    + META-INF
+|    |    + MANIFEST.MF
+|    |    + persistence.xml
+|    + WEB-INF
+|    |    + classes
+|    |    |    + META-INF
+|    |    |    |    + MANIFEST.MF
+|    |    |    + foo
+|    |    |    |    + bar
+|    |    |    |    |    + BootstrapServletListener.class
+|    |    + lib
+|    |    |    + guice.jar
+|    |    |    + onami-persist.jar</pre></div></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+              <div class="row span12">Copyright &copy;                    2013-2014
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                    
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span12">Apache Onami, Apache Onami Persist, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+                  
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Propchange: onami/site/persist/complexWebApp.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: onami/site/persist/complexWebApp.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: onami/site/persist/complexWebApp.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: onami/site/persist/cpd.html
URL: http://svn.apache.org/viewvc/onami/site/persist/cpd.html?rev=1593897&r1=1593896&r2=1593897&view=diff
==============================================================================
--- onami/site/persist/cpd.html (original)
+++ onami/site/persist/cpd.html Mon May 12 06:42:06 2014
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 19 March 2014
+ | Generated by Apache Maven Doxia at 12 May 2014
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20140319" />
+    <meta name="Date-Revision-yyyymmdd" content="20140512" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache Onami Persistence - CPD Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -46,7 +46,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 19 March 2014</li>
+                  <li id="publishDate">Last Published: 12 May 2014</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-SNAPSHOT</li>
                       
                 
@@ -75,15 +75,58 @@
           <i class="none"></i>
         Home</a>
             </li>
+                  
+      <li>
+    
+                          <a href="daoExample.html" title="DAO Example">
+          <i class="none"></i>
+        DAO Example</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="guicePersist.html" title="Onami Persist vs. Guice Persist">
+          <i class="none"></i>
+        Onami Persist vs. Guice Persist</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="emProvider.html" title="EntityManagerProvider">
+          <i class="none"></i>
+        EntityManagerProvider</a>
+            </li>
+                              <li class="nav-header">Samples</li>
+                                
+      <li>
+    
+                          <a href="standaloneApp.html" title="Standalone Application">
+          <i class="none"></i>
+        Standalone Application</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="simpleWebApp.html" title="Simple Web Application">
+          <i class="none"></i>
+        Simple Web Application</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="complexWebApp.html" title="Multi Datasource Web Application">
+          <i class="none"></i>
+        Multi Datasource Web Application</a>
+            </li>
                               <li class="nav-header">Project Documentation</li>
-                                                                                                                                                                                                                                                                                                          
+                                                                                                                                                                                                                                                                                                                            
       <li>
     
                           <a href="project-info.html" title="Project Information">
           <i class="icon-chevron-right"></i>
         Project Information</a>
                   </li>
-                                                                                                                                                                                                            
+                                                                                                                                                                                          
       <li>
     
                           <a href="project-reports.html" title="Project Reports">
@@ -100,9 +143,9 @@
                       
       <li>
     
-                          <a href="cobertura/index.html" title="Cobertura Test Coverage">
+                          <a href="xref-test/index.html" title="Test Source Xref">
           <i class="none"></i>
-        Cobertura Test Coverage</a>
+        Test Source Xref</a>
             </li>
                       
       <li>
@@ -114,13 +157,6 @@
                       
       <li>
     
-                          <a href="xref-test/index.html" title="Test Source Xref">
-          <i class="none"></i>
-        Test Source Xref</a>
-            </li>
-                      
-      <li>
-    
                           <a href="surefire-report.html" title="Surefire Report">
           <i class="none"></i>
         Surefire Report</a>

Added: onami/site/persist/daoExample.html
URL: http://svn.apache.org/viewvc/onami/site/persist/daoExample.html?rev=1593897&view=auto
==============================================================================
--- onami/site/persist/daoExample.html (added)
+++ onami/site/persist/daoExample.html Mon May 12 06:42:06 2014
@@ -0,0 +1,285 @@
+<!DOCTYPE html>
+<!--
+ | Generated by Apache Maven Doxia at 08 May 2014
+ | Rendered using Apache Maven Fluido Skin 1.3.0
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <meta name="author" content="The Apache Onami developers team" />
+    <meta name="Date-Revision-yyyymmdd" content="20140508" />
+    <meta http-equiv="Content-Language" content="en" />
+    <title>Apache Onami Persistence - DAO Example</title>
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
+    <link rel="stylesheet" href="./css/site.css" />
+    <link rel="stylesheet" href="./css/print.css" media="print" />
+
+      
+    
+          <style type="text/css">body{background-image: url('./images/profiles/sandbox.png');}</style>
+    
+  
+    <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
+
+                          
+        
+<link title="DOAP" rel="meta" type="application/rdf+xml" href="http://onami.apache.org/persist/doap.rdf"/>
+          
+            </head>
+        <body class="topBarDisabled">
+          
+                
+                    
+    
+        <div class="container-fluid">
+          <div id="banner">
+        <div class="pull-left">
+                                <div id="bannerLeft">
+                <h2>Apache Onami Persistence</h2>
+                </div>
+                      </div>
+        <div class="pull-right">  </div>
+        <div class="clear"><hr/></div>
+      </div>
+
+      <div id="breadcrumbs">
+        <ul class="breadcrumb">
+                
+                    
+                  <li id="publishDate">Last Published: 08 May 2014</li>
+                  <li class="divider">|</li> <li id="projectVersion">Version: 1.0.0-SNAPSHOT</li>
+                      
+                
+                    
+      
+                                              
+    <li class="pull-right">              <a href="http://code.google.com/p/google-guice/" class="externalLink" title="Google Guice">
+        Google Guice</a>
+  </li>
+
+                        </ul>
+      </div>
+
+            
+      <div class="row-fluid">
+        <div id="leftColumn" class="span3">
+          <div class="well sidebar-nav">
+                
+                    
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache Onami™ Persist</li>
+                                
+      <li>
+    
+                          <a href="index.html" title="Home">
+          <i class="none"></i>
+        Home</a>
+            </li>
+                  
+      <li class="active">
+    
+            <a href="#"><i class="none"></i>DAO Example</a>
+          </li>
+                  
+      <li>
+    
+                          <a href="guicePersist.html" title="Onami Persist vs. Guice Persist">
+          <i class="none"></i>
+        Onami Persist vs. Guice Persist</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="emProvider.html" title="EntityManagerProvider">
+          <i class="none"></i>
+        EntityManagerProvider</a>
+            </li>
+                              <li class="nav-header">Samples</li>
+                                
+      <li>
+    
+                          <a href="standaloneApp.html" title="Standalone Application">
+          <i class="none"></i>
+        Standalone Application</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="simpleWebApp.html" title="Simple Web Application">
+          <i class="none"></i>
+        Simple Web Application</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="complexWebApp.html" title="Multi Datasource Web Application">
+          <i class="none"></i>
+        Multi Datasource Web Application</a>
+            </li>
+                              <li class="nav-header">Community</li>
+                                
+      <li>
+    
+                          <a href="../community/volunteering.html" title="Volunteering">
+          <i class="none"></i>
+        Volunteering</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../community/patches.html" title="Contributing Patches">
+          <i class="none"></i>
+        Contributing Patches</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../community/mail-lists.html" title="Mailing lists">
+          <i class="none"></i>
+        Mailing lists</a>
+            </li>
+                              <li class="nav-header">Committers</li>
+                                
+      <li>
+    
+                          <a href="../committers/svn-conventions.html" title="SVN conventions">
+          <i class="none"></i>
+        SVN conventions</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/maven-settings.html" title="Maven settings">
+          <i class="none"></i>
+        Maven settings</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/gpg-keys.html" title="GPG keys">
+          <i class="none"></i>
+        GPG keys</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/jira-conventions.html" title="JIRA conventions">
+          <i class="none"></i>
+        JIRA conventions</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/codestyle.html" title="Code style recommendations">
+          <i class="none"></i>
+        Code style recommendations</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="../committers/release-howto.html" title="Release HowTo">
+          <i class="none"></i>
+        Release HowTo</a>
+            </li>
+                              <li class="nav-header">ASF</li>
+                                
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works">
+          <i class="none"></i>
+        How the ASF works</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved">
+          <i class="none"></i>
+        Get Involved</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/dev/" class="externalLink" title="Developer Resources">
+          <i class="none"></i>
+        Developer Resources</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship">
+          <i class="none"></i>
+        Sponsorship</a>
+            </li>
+                  
+      <li>
+    
+                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
+          <i class="none"></i>
+        Thanks</a>
+            </li>
+            </ul>
+                
+                    
+                
+          <hr class="divider" />
+
+           <div id="poweredBy">
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                            <div class="clear"></div>
+                             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+        <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+      </a>
+                  </div>
+          </div>
+        </div>
+        
+                
+        <div id="bodyColumn"  class="span9" >
+                                  
+            <!--  --><!-- 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. --><!--  --><div class="section">
+<h2>DAO Example<a name="DAO_Example"></a></h2>
+<p>The following code snippet is a little example on how to use Onami-Persist to access a persistence unit.</p>
+<div class="source">
+<pre>public class FooDao {
+
+    private final EntityManagerProvider emProvider;
+
+    @Inject
+    public FooDao(EntityManagerProvider emProvider) {
+        this.emProvider = emProvider;
+    }
+
+    @Transactional
+    public Foo getFooByName(String name) {
+        final EntityManager em = emProvider.get();
+        return getFooByName(name, em);
+    }
+
+    private Foo getFooByName(String name, EntityManager em) {
+        // retrieve foo from the DB using the entity manager...
+    }
+}</pre></div></div>
+                  </div>
+            </div>
+          </div>
+
+    <hr/>
+
+    <footer>
+            <div class="container-fluid">
+              <div class="row span12">Copyright &copy;                    2013-2014
+                        <a href="http://www.apache.org/">The Apache Software Foundation</a>.
+            All Rights Reserved.      
+                    
+      </div>
+
+                                                                  <?xml version="1.0" encoding="UTF-8"?>
+<div class="row span12">Apache Onami, Apache Onami Persist, Apache, the Apache feather logo, and the Apache Onami project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
+                  
+        
+                </div>
+    </footer>
+  </body>
+</html>
\ No newline at end of file

Propchange: onami/site/persist/daoExample.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: onami/site/persist/daoExample.html
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: onami/site/persist/daoExample.html
------------------------------------------------------------------------------
    svn:mime-type = text/html