You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2011/07/12 20:02:32 UTC

svn commit: r792600 [20/49] - /websites/staging/openejb/trunk/content/

Modified: websites/staging/openejb/trunk/content/jpa-concepts.html
==============================================================================
--- websites/staging/openejb/trunk/content/jpa-concepts.html (original)
+++ websites/staging/openejb/trunk/content/jpa-concepts.html Tue Jul 12 18:02:27 2011
@@ -152,14 +152,14 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="JPAConcepts-JPA101"></a></p>
+          <p><a name="JPAConcepts-JPA101">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>JPA 101</h1>
 
 <p>If there's one thing you have to understand to successfully use JPA (Java
 Persistence API) it's the concept of a <em>Cache</em>.  Almost everything boils
 down to the Cache at one point or another.  Unfortunately the Cache is an
-internal thing and not exposed via the JPA API classes, so it not easy to
+internal thing and not e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">posed via the JPA API classes, so it not easy to
 touch or feel from a coding perspective.</p>
 
 <p>Here's a quick cheat sheet of the JPA world:</p>
@@ -169,54 +169,54 @@ touch or feel from a coding perspective.
 outside the database.</li>
 <li><em>Flushing</em> a Cache is the act of putting modified data back into the
 database.</li>
-<li>A <em>PersistenceContext</em> is essentially a Cache. It also tends to have
+<li>A <em>PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t</em> is essentially a Cache. It also tends to have
 it's own non-shared database connection.</li>
-<li>An <em>EntityManager</em> represents a PersistenceContext (and therefore a
+<li>An <em>EntityManager</em> represents a PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t (and therefore a
 Cache)</li>
 <li><p>An <em>EntityManagerFactory</em> creates an EntityManager (and therefore a
-PersistenceContext/Cache)</p></li>
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache)</p></li>
 <li><p>With <persistence-unit transaction-type="*RESOURCE_LOCAL*"> <em>you</em> are
-responsible for EntityManager (PersistenceContext/Cache) creating and
+responsible for EntityManager (PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache) creating and
 tracking...
 -- You <em>must</em> use the <em>EntityManagerFactory</em> to get an EntityManager
 -- The resulting <em>EntityManager</em> instance <em>is</em> a
-PersistenceContext/Cache
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache
 -- An <em>EntityManagerFactory</em> can be injected via the <em>@PersistenceUnit</em>
-annotation only (not @PersistenceContext)
--- You are <em>not</em> allowed to use @PersistenceContext to refer to a unit
+annotation only (not @PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t)
+-- You are <em>not</em> allowed to use @PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t to refer to a unit
 of type RESOURCE_LOCAL
--- You <em>must</em> use the <em>EntityTransaction</em> API to begin/commit around
+-- You <em>must</em> use the <em>EntityTransaction</em> API to begin<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">commit around
 <em>every</em> call to your EntityManger
 -- Calling entityManagerFactory.createEntityManager() twice results in
 <em>two</em> separate EntityManager instances and therefor <em>two</em> separate
-PersistenceContexts/Caches.
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ts<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Caches.
 -- It is <em>almost never</em> a good idea to have more than one <em>instance</em> of
 an EntityManager in use (don't create a second one unless you've destroyed
 the first)</p></li>
 <li><p>With <persistence-unit transaction-type="*TRANSACTION*"> the <em>container</em>
-will do EntityManager (PersistenceContext/Cache) creating and tracking...
+will do EntityManager (PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache) creating and tracking...
 -- You <em>cannot</em> use the <em>EntityManagerFactory</em> to get an EntityManager
 -- You can only get an <em>EntityManager</em> supplied by the <em>container</em>
--- An <em>EntityManager</em> can be injected via the <em>@PersistenceContext</em>
+-- An <em>EntityManager</em> can be injected via the <em>@PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t</em>
 annotation only (not @PersistenceUnit)
 -- You are <em>not</em> allowed to use @PersistenceUnit to refer to a unit of
 type TRANSACTION
 -- The <em>EntityManager</em> given by the container is a <em>reference</em> to the
-PersistenceContext/Cache associated with a JTA Transaction.
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache associated with a JTA Transaction.
 -- If no JTA transaction is in progress, the EntityManager <em>cannot be
-used</em> because there is no PersistenceContext/Cache.
+used</em> because there is no PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache.
 -- Everyone with an EntityManager reference to the <em>same unit</em> in the
 <em>same transaction</em> will automatically have a reference to the <em>same
-PersistenceContext/Cache</em>
--- The PersistenceContext/Cache is <em>flushed</em> and cleared at JTA
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache</em>
+-- The PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache is <em>flushed</em> and cleared at JTA
 <em>commit</em> time</p></li>
 </ul>
 
-<p><a name="JPAConcepts-Cache==PersistenceContext"></a></p>
+<p><a name="JPAConcepts-Cache==PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
-<h1>Cache == PersistenceContext</h1>
+<h1>Cache == PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t</h1>
 
-<p>The concept of a database cache is an extremely important concept to be
+<p>The concept of a database cache is an e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tremely important concept to be
 aware of.  Without a copy of the data in memory (i.e. a cache) when you
 call account.getBalance() the persistence provider would have to go read
 the value from the database.  Calling account.getBalance() several times
@@ -230,45 +230,45 @@ understand that, you're good to go in ne
 java has to offer.</p>
 
 <p>Complications can arise when there is more than one
-PersistenceContext/Cache relating the same data in the same transaction. 
-In any given transaction you want exactly one PersistenceContext/Cache for
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache relating the same data in the same transaction. 
+In any given transaction you want e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">actly one PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache for
 a given set of data.  Using a TRANSACTION unit with an EntityManager
 created by the container will always guarantee that this is the case.  With
 a RESOURCE_LOCAL unit and an EntityManagerFactory you should create and use
-exactly one EntityManager instance in your transaction to ensure there is
-only one active PersistenceContext/Cache for the given set of data active
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">actly one EntityManager instance in your transaction to ensure there is
+only one active PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache for the given set of data active
 against the current transaction.</p>
 
-<p><a name="JPAConcepts-CachesandDetaching"></a></p>
+<p><a name="JPAConcepts-CachesandDetaching">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Caches and Detaching</h1>
 
 <p>Detaching is the concept of a persistent object <em>leaving</em> the
-PersistenceContext/Cache.  Leaving means that any updates made to the
-object are <em>not</em> reflected in the PersistenceContext/Cache.  An object will
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache.  Leaving means that any updates made to the
+object are <em>not</em> reflected in the PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache.  An object will
 become Detached if it somehow <em>lives longer</em> or is <em>used outside</em> the scope
-of the PersistenceContext/Cache.  </p>
+of the PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache.  </p>
 
-<p>For a TRANSACTION unit, the PersistenceContext/Cache will live as long as
+<p>For a TRANSACTION unit, the PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache will live as long as
 the transaction does.  When a transaction completes (commits or rollsback)
-all objects that were in the PersistenceContext/Cache are Detached.  You
+all objects that were in the PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache are Detached.  You
 can still use them, but they are no longer associated with a
-PersistenceContext/Cache and modifications on them will <em>not</em> be reflected
-in a PersistenceContext/Cache and therefore not the database either.</p>
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache and modifications on them will <em>not</em> be reflected
+in a PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache and therefore not the database either.</p>
 
-<p>Serializing objects that are currently in a PersistenceContext/Cache will
+<p>Serializing objects that are currently in a PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache will
 also cause them to Detach.</p>
 
 <p>In some cases objects or collections of objects that become Detached may
 not have all the data you need.  This can be because of lazy loading.  With
 lazy loading, data isn't pulled from the database and into the
-PersistenceContext/Cache until it is requested in code.  In many cases the
+PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Cache until it is requested in code.  In many cases the
 Collections of persistent objects returned from an
-javax.persistence.Query.getResultList() call are completely empty until you
+java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.persistence.Query.getResultList() call are completely empty until you
 iterate over them.  A side effect of this is that if the Collection becomes
 Detached before it's been fully read it will be permanently empty and of no
 use and calling methods on the Detached Collection can cause strange errors
-and exceptions to be thrown.  If you wish to Detach a Collection of
+and e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ceptions to be thrown.  If you wish to Detach a Collection of
 persistent objects it is always a good idea to iterate over the Collection
 at least once.</p>
 
@@ -277,39 +277,39 @@ Detached object.</p>
 
 <p>Calling EntityManager.merge() will re-attach a Detached object.</p>
 
-<p><a name="JPAConcepts-ValidRESOURCE_LOCALUnitusage"></a></p>
+<p><a name="JPAConcepts-ValidRESOURCE_LOCALUnitusage">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Valid RESOURCE_LOCAL Unit usage</h1>
 
 <p>Servlets and EJBs can use RESOURCE_LOCAL persistence units through the
 EntityManagerFactory as follows:</p>
 
-<pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
-&lt;persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0"&gt;
+<pre><code>&lt;?&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ml version="1.0" encoding="UTF-8" ?&gt;
+&lt;persistence &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;mlns="http:&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;java.sun.com&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ml&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddl
 e" alt="" border="0"&gt;ns&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence" version="1.0"&gt;
 
   &lt;!-- Tutorial "unit" --&gt;
   &lt;persistence-unit name="Tutorial" transaction-type="RESOURCE_LOCAL"&gt;
-    &lt;non-jta-data-source&gt;myNonJtaDataSource&lt;/non-jta-data-source&gt;
-    &lt;class&gt;org.superbiz.jpa.Account&lt;/class&gt;
-  &lt;/persistence-unit&gt;
+    &lt;non-jta-data-source&gt;myNonJtaDataSource&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;non-jta-data-source&gt;
+    &lt;class&gt;org.superbiz.jpa.Account&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;class&gt;
+  &lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence-unit&gt;
 
-&lt;/persistence&gt;
+&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence&gt;
 </code></pre>
 
 <p>And referenced as follows</p>
 
-<pre><code>import javax.persistence.EntityManagerFactory;
-import javax.persistence.EntityManager;
-import javax.persistence.EntityTransaction;
-import javax.persistence.PersistenceUnit;
+<pre><code>import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.EntityManagerFactory;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.EntityManager;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.EntityTransaction;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.PersistenceUnit;
 
 public class MyEjbOrServlet ... {
 
     @PersistenceUnit(unitName="Tutorial")
     private EntityManagerFactory factory;
 
-    // Proper exception handling left out for simplicity
-    public void ejbMethodOrServletServiceMethod() throws Exception {
+    &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt; Proper e&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ception handling left out for simplicity
+    public void ejbMethodOrServletServiceMethod() throws E&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ception {
         EntityManager entityManager = factory.createEntityManager();
 
         EntityTransaction entityTransaction = entityManager.getTransaction();
@@ -332,36 +332,36 @@ public class MyEjbOrServlet ... {
 <p>EJBs can use TRANSACTION persistence units through the EntityManager as
 follows:</p>
 
-<pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
-&lt;persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0"&gt;
+<pre><code>&lt;?&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ml version="1.0" encoding="UTF-8" ?&gt;
+&lt;persistence &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;mlns="http:&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;java.sun.com&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ml&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddl
 e" alt="" border="0"&gt;ns&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence" version="1.0"&gt;
 
   &lt;!-- Tutorial "unit" --&gt;
   &lt;persistence-unit name="Tutorial" transaction-type="TRANSACTION"&gt;
-    &lt;jta-data-source&gt;myJtaDataSource&lt;/jta-data-source&gt;
-    &lt;non-jta-data-source&gt;myNonJtaDataSource&lt;/non-jta-data-source&gt;
-    &lt;class&gt;org.superbiz.jpa.Account&lt;/class&gt;
-  &lt;/persistence-unit&gt;
+    &lt;jta-data-source&gt;myJtaDataSource&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;jta-data-source&gt;
+    &lt;non-jta-data-source&gt;myNonJtaDataSource&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;non-jta-data-source&gt;
+    &lt;class&gt;org.superbiz.jpa.Account&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;class&gt;
+  &lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence-unit&gt;
 
-&lt;/persistence&gt;
+&lt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;persistence&gt;
 </code></pre>
 
 <p>And referenced as follows</p>
 
-<pre><code>import javax.ejb.Stateless;
-import javax.ejb.TransactionAttribute;
-import javax.ejb.TransactionAttributeType;
-import javax.persistence.EntityManager;
-import javax.persistence.PersistenceContext;
+<pre><code>import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.ejb.Stateless;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.ejb.TransactionAttribute;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.ejb.TransactionAttributeType;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.EntityManager;
+import java&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;.persistence.PersistenceConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t;
 
 @Stateless
 public class MyEjb implements MyEjbInterface {
 
-    @PersistenceContext(unitName = "Tutorial")
+    @PersistenceConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t(unitName = "Tutorial")
     private EntityManager entityManager;
 
-    // Proper exception handling left out for simplicity
+    &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt; Proper e&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ception handling left out for simplicity
     @TransactionAttribute(TransactionAttributeType.REQUIRED)
-    public void ejbMethod() throws Exception {
+    public void ejbMethod() throws E&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ception {
 
     Account account = entityManager.find(Account.class, 12345);
 

Modified: websites/staging/openejb/trunk/content/jpa-usage.html
==============================================================================
--- websites/staging/openejb/trunk/content/jpa-usage.html (original)
+++ websites/staging/openejb/trunk/content/jpa-usage.html Tue Jul 12 18:02:27 2011
@@ -152,16 +152,16 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="JPAUsage-Thingstowatchoutfor"></a></p>
+          <p><a name="JPAUsage-Thingstowatchoutfor">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Things to watch out for</h1>
 
-<p><a name="JPAUsage-Critical:Alwayssetjta-data-sourceandnon-jta-data-source"></a></p>
+<p><a name="JPAUsage-Critical:Alwayssetjta-data-sourceandnon-jta-data-source">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h2>Critical: Always set jta-data-source and non-jta-data-source</h2>
 
 <p>Always set the value of jta-data-source and non-jta-data-source in your
-persistence.xml file.  Regardless if targeting your EntityManager usage for
+persistence.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml file.  Regardless if targeting your EntityManager usage for
 transaction-type="RESOURCE_LOCAL" or transaction-type="TRANSACTION", it's
 very difficult to guarantee one or the other will be the only one needed. 
 Often times the JPA Provider itself will require both internally to do
@@ -178,13 +178,13 @@ various optimizations or other special f
  for how to configure 'JtaManaged' and a full list of <Resource> properties
 for DataSources.</p>
 
-<p><a name="JPAUsage-Bedetachaware"></a></p>
+<p><a name="JPAUsage-Bedetachaware">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h2>Be detach aware</h2>
 
 <p>A warning for any new JPA user is by default all objects will detach at the
 end of a transaction.  People typically discover this when the go to remove
-or update an object they fetched previously and get an exception like "You
+or update an object they fetched previously and get an e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception like "You
 cannot perform operation delete on detached object".</p>
 
 <p>All ejb methods start a transaction unless a) you <a href="transaction-annotations.html">configure them otherwise</a>
@@ -195,17 +195,17 @@ EntityManager in the scope of the transa
 and returns some persistent objects, by the time you get them the
 transaction has completed and now the objects are detached.</p>
 
-<p><a name="JPAUsage-Solutions"></a></p>
+<p><a name="JPAUsage-Solutions">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h3>Solutions</h3>
 
 <ol>
 <li>Call EntityManager.merge(..) inside the bean code to reattach your
 object.</li>
-<li>Use PersistenceContextType.EXTENDED as in '@PersistenceContext(unitName
-= "movie-unit", type = PersistenceContextType.EXTENDED)' for EntityManager
-refs instead of the default of PersistenceContextType.TRANSACTION.</li>
-<li>If testing, use a technique to execute transactions in your test code. 
+<li>Use PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tType.EXTENDED as in '@PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t(unitName
+= "movie-unit", type = PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tType.EXTENDED)' for EntityManager
+refs instead of the default of PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tType.TRANSACTION.</li>
+<li>If testing, use a technique to e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ecute transactions in your test code. 
 That's described here in <a href="unit-testing-transactions.html">Unit testing transactions</a></li>
 </ol>
 

Modified: websites/staging/openejb/trunk/content/july2007.html
==============================================================================
--- websites/staging/openejb/trunk/content/july2007.html (original)
+++ websites/staging/openejb/trunk/content/july2007.html Tue Jul 12 18:02:27 2011
@@ -171,8 +171,8 @@ documentation from old emails.</p>
 our custom database pooling code, and adds an important new feature to
 DBCP. This feature should be useful to anyone using DBCP in a managed
 environment such at Tomcat. Also, OpenEJB has a large set of data base test
-case, and we have already found a few bugs to fix in DBCP for which we are
-working on fixes.</p>
+case, and we have already found a few bugs to fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> in DBCP for which we are
+working on fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es.</p>
 
             </DIV>
           </P>

Modified: websites/staging/openejb/trunk/content/july2008.html
==============================================================================
--- websites/staging/openejb/trunk/content/july2008.html (original)
+++ websites/staging/openejb/trunk/content/july2008.html Tue Jul 12 18:02:27 2011
@@ -155,14 +155,14 @@
           <p>The OpenEJB 3.0 Final release in mid April brought some good attention to
 the project and more new users.  User list traffic showed a small increase
 in April and May and a sharp spike in June.  July looks to be a slow month
-so far.  Many users are content and anxiously awaiting the next release.</p>
+so far.  Many users are content and an<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">iously awaiting the ne<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t release.</p>
 
-<p>Planning for the next release has begun.  The list of fixes and
+<p>Planning for the ne<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t release has begun.  The list of fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es and
 improvements is growing very large.  If all goes well 3.1 it won't be too
 much longer before we start spinning binaries for 3.1.  Major new features
-will include more EJB 3.1 support, jaxb performance increases through the
-SXC project, network performance increases in client/server communication,
-cmp and jpa conversion improvements, tomcat console improvements, and fixes
+will include more EJB 3.1 support, ja<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">b performance increases through the
+SXC project, network performance increases in client<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">server communication,
+cmp and jpa conversion improvements, tomcat console improvements, and fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es
 in the jdbc connection pooling.</p>
 
 <p>Jonathan Gallimore was voted in as a committer with great support. 

Modified: websites/staging/openejb/trunk/content/july2009.html
==============================================================================
--- websites/staging/openejb/trunk/content/july2009.html (original)
+++ websites/staging/openejb/trunk/content/july2009.html Tue Jul 12 18:02:27 2011
@@ -152,8 +152,8 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p>OpenEJB 3.1.1 was released in June.  The release contained a mix of
-improvements and fixes.  Overall it was very well received and very
+          <p>OpenEJB 3.1.1 was released in June.  The release contained a mi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> of
+improvements and fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es.  Overall it was very well received and very
 anticipated as the last trunk release was in October 2008.  More frequent
 dot releases are planned and a 3.1.2 will hopefully be not too far behind.</p>
 
@@ -166,7 +166,7 @@ two months or so.  Two screencasts, the 
 added and published through the blog.</p>
 
 <p>Jean-Louis Monteiro was voted in as a committer in June.  The project is
-extremely happy to have him as a committer and very much enjoys his work
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tremely happy to have him as a committer and very much enjoys his work
 and overall contributions in the community.  Congratulations, Jean-Louis!</p>
 
 <p>Preparation has been underway to do a first release of the OpenEJB Eclipse

Modified: websites/staging/openejb/trunk/content/july2010.html
==============================================================================
--- websites/staging/openejb/trunk/content/july2010.html (original)
+++ websites/staging/openejb/trunk/content/july2010.html Tue Jul 12 18:02:27 2011
@@ -152,7 +152,7 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p>Work on the 3.1.next development has slowed and a release of that codebase
+          <p>Work on the 3.1.ne<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t development has slowed and a release of that codebase
 (3.1.3) is likely to come out soon.</p>
 
 <p>Activity on the 3.2 codebase is going strong with significant progress on

Modified: websites/staging/openejb/trunk/content/june2007.html
==============================================================================
--- websites/staging/openejb/trunk/content/june2007.html (original)
+++ websites/staging/openejb/trunk/content/june2007.html Tue Jul 12 18:02:27 2011
@@ -156,7 +156,7 @@
 as well as removal of any miscellaneous Incubator related disclaimers in
 code and website.  </p>
 
-<p>The project is excited to have implementation of EJB 3.0 complete and to
+<p>The project is e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">cited to have implementation of EJB 3.0 complete and to
 see our sister project, Geronimo, announced JavaEE 5 Certification. 
 Community short term goals are a release of OpenEJB 3.0 along with regular
 published snapshots.  Early development discussions are underway on
@@ -164,7 +164,7 @@ clustering, application validation as we
 up.  List activity post JavaEE 5 Certification is back up to normal.</p>
 
 <p>We still gain more contribution interests from new people like <em>Karan
-Malhi</em> who is interested in fixing some issues with OpenEJB 3.0 assembly
+Malhi</em> who is interested in fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ing some issues with OpenEJB 3.0 assembly
 build process.</p>
 
             </DIV>

Modified: websites/staging/openejb/trunk/content/lightening-demos.html
==============================================================================
--- websites/staging/openejb/trunk/content/lightening-demos.html (original)
+++ websites/staging/openejb/trunk/content/lightening-demos.html Tue Jul 12 18:02:27 2011
@@ -152,57 +152,57 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="LighteningDemos-LighteningDemosDetails"></a></p>
+          <p><a name="LighteningDemos-LighteningDemosDetails">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h3>Lightening Demos Details</h3>
 
-<table>
-<tr><th> Demo Name                    </th><th> Description </th><th> Sponsor
-     </th><th> Links/Comments             </th></tr>
-<tr><td> TestCase Injection               </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=g5l14g9rbcm.html)
-, [Vimeo </td><td> http://vimeo.com/16876983]
- </td></tr>
-<tr><td> Simple @WebService               </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=zcsnhvloxjc.html)
-, [Vimeo </td><td> http://vimeo.com/16876894]
- </td></tr>
-<tr><td> Simple @Stateless bean           </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=alx2jta96xu.html)
-, [Vimeo </td><td> http://vimeo.com/16876787]
- </td></tr>
-<tr><td> Simple @Stateful bean            </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=9jqxbfzswoq.html)
-, [Vimeo </td><td> http://vimeo.com/16876733]
- </td></tr>
-<tr><td> Simple @MessageDriven bean           </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=hmxfxmdlcjq.html)
-, [Vimeo </td><td> http://vimeo.com/16876667]
- </td></tr>
-<tr><td> EntityManager injection and usage        </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=s4uiioaehgq.html)
-, [Vimeo </td><td> http://vimeo.com/16876564]
- </td></tr>
-<tr><td> DataSource injection and usage       </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=g3liplegdjk.html)
-, [Vimeo </td><td> http://vimeo.com/16876492]
- </td></tr>
-<tr><td> Alternate Descriptors            </td><td>      </td><td> David
-Blevins </td><td> [Youtube ](-http://www.youtube.com/watch?v=r1ldc40esug.html)
-, [Vimeo </td><td> http://vimeo.com/16876426]
- </td></tr>
-<tr><td> Getting started with the OpenEJB Eclipse Plugin </td><td>       </td><td> David
-Blevins </td><td> [Vimeo ](-http://vimeo.com/7393498.html)
-  </td></tr>
-<tr><td> EJB Unit Testing with Eclipse and OpenEJB    </td><td>      </td><td> David
-Blevins </td><td> [Vimeo ](-http://vimeo.com/6149008.html)
-  </td></tr>
-<tr><td> ScreenFlow720                </td><td>      </td><td> David
-Blevins </td><td> [Vimeo ](-http://vimeo.com/16872034.html)
- </td></tr>
-</table>
+<p><table>
+<tr><th> Demo Name                    &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">th><th> Description &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">th><th> Sponsor
+     &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">th><th> Links<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Comments           &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">th>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> TestCase Injection               &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=g5l14g9rbcm.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876983]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Simple @WebService               &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=zcsnhvlo<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">jc.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876894]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Simple @Stateless bean           &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=al<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">2jta96<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt
 ="" border="0">u.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876787]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Simple @Stateful bean            &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=9jq<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">bfzswoq.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876733]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Simple @MessageDriven bean           &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=hm<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">f<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" b
 order="0">mdlcjq.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876667]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> EntityManager injection and usage        &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=s4uiioaehgq.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876564]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> DataSource injection and usage       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=g3liplegdjk.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876492]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Alternate Descriptors            &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Youtube ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">watch?v=r1ldc40esug.html)
+, [Vimeo &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16876426]
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> Getting started with the OpenEJB Eclipse Plugin &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>        &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Vimeo ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">7393498.html)
+  &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> EJB Unit Testing with Eclipse and OpenEJB    &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Vimeo ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">6149008.html)
+  &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td> ScreenFlow720                &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td>       &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> David
+Blevins &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> [Vimeo ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">vimeo.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">16872034.html)
+ &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td>&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">table></p>
 
-<p><em>NOTE: For more details about the idea behind Lightening Demos, please read <a href="-http://markmail.org/message/5jq5xun44kt7tcni.html">this </a>
+<p><em>NOTE: For more details about the idea behind Lightening Demos, please read [this ](-http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">markmail.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">message<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">5jq5<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">un44kt7tcni.html)
  e-mail thread.</em></p>
 
             </DIV>

Modified: websites/staging/openejb/trunk/content/local-client-injection.html
==============================================================================
--- websites/staging/openejb/trunk/content/local-client-injection.html (original)
+++ websites/staging/openejb/trunk/content/local-client-injection.html Tue Jul 12 18:02:27 2011
@@ -167,8 +167,8 @@ for usage of injection-related annotatio
 was a Java EE Application Client module, but with a few slight differences:</p>
 
 <ol>
-<li>Declaring field/method injection points as 'static' is not required</li>
-<li>References to EntityManagers via @PersistenceContext are allowed</li>
+<li>Declaring field<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">method injection points as 'static' is not required</li>
+<li>References to EntityManagers via @PersistenceConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t are allowed</li>
 <li>References to local business interfaces via @EJB is allowed</li>
 <li>References to UserTransaction via @Resource is allowed</li>
 </ol>
@@ -180,16 +180,16 @@ needs to pull objects from the Embedded 
 @LocalClient can be placed in a Client module or an EJB module.  A given
 module may have as many classes annotated with @LocalClient as it wishes.</p>
 
-<p><a name="LocalClientInjection-Injection"></a></p>
+<p><a name="LocalClientInjection-Injection">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Injection</h1>
 
-<p>The injection occurs via acquiring a LocalInitialContext via the
-LocalInitialContextFactory and calling <em>bind("inject", instance)</em> passing
+<p>The injection occurs via acquiring a LocalInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t via the
+LocalInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory and calling <em>bind("inject", instance)</em> passing
 in the instantiated local client object:</p>
 
 <pre><code>@LocalClient
-public class MoviesTest extends TestCase {
+public class MoviesTest e&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;tends TestCase {
 
     @EJB
     private Movies movies;
@@ -197,27 +197,27 @@ public class MoviesTest extends TestCase
     @Resource
     private UserTransaction userTransaction;
 
-    @PersistenceContext
+    @PersistenceConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t
     private EntityManager entityManager;
 
-    public void setUp() throws Exception {
+    public void setUp() throws E&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;ception {
     Properties p = new Properties();
-    p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
-    InitialContext initialContext = new InitialContext(p);
-    initialContext.bind("inject", this);
+    p.put(Conte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;tFactory");
+    InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t initialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t = new InitialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t(p);
+    initialConte&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;t.bind("inject", this);
     }
 
-    //... other test methods
+    &lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;&lt;IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"&gt;... other test methods
 }
 </code></pre>
 
-<p><a name="LocalClientInjection-Discovery"></a></p>
+<p><a name="LocalClientInjection-Discovery">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Discovery</h1>
 
 <p>All EJB modules are scanned for @LocalClient classes, even if those EJB
 Modules are inside .war files as with the <a href="openejb:collapsed-ear.html">OPENEJB:Collapsed EAR</a>
-.  As well any modules that contain a META-INF/application-client.xml file
+.  As well any modules that contain a META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">application-client.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml file
 will be scanned for @LocalClient classes.</p>
 
 <p>If you see the following error message and are absolutely sure the module
@@ -226,7 +226,7 @@ module or a Client module, than it is po
 classloading issues.</p>
 
 <p>{panel}
-javax.naming.NamingException: Unable to find injection meta-data for
+java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.naming.NamingE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception: Unable to find injection meta-data for
 org.superbiz.MyClient.  Ensure that class was annotated with
 @org.apache.openejb.api.LocalClient and was successfully discovered and
 deployed.

Modified: websites/staging/openejb/trunk/content/local-server.html
==============================================================================
--- websites/staging/openejb/trunk/content/local-server.html (original)
+++ websites/staging/openejb/trunk/content/local-server.html Tue Jul 12 18:02:27 2011
@@ -152,9 +152,9 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p>!http://www.openejb.org/images/diagram-local-server.gif|valign=top,
+          <p>!http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.openejb.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">images<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">diagram-local-server.gif|valign=top,
 align=right, hspace=15!
-<a name="LocalServer-AccessingEJBsLocally"></a></p>
+<a name="LocalServer-AccessingEJBsLocally">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Accessing EJBs Locally</h1>
 
@@ -163,7 +163,7 @@ we call the Local Server and avoid the n
 way to embedd OpenEJB.  Instead of putting the app in the server, put the
 server in the app!</p>
 
-<p><a name="LocalServer-Saywhat?!Alocalserver?"></a></p>
+<p><a name="LocalServer-Saywhat?!Alocalserver?">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Say what?! A local server?</h1>
 
@@ -178,13 +178,13 @@ eventually, but not while you're develop
 an EJB implementation that was designed with a very clean and well defined
 server-container contract, you can cut the server part out completely!</p>
 
-<p>So, if you wish to access ejbs locally and not in client/server mode, you
+<p>So, if you wish to access ejbs locally and not in client<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">server mode, you
 can do so by embedding OpenEJB as a library and accessing ejbs through
 OpenEJB's built-in IntraVM (Local) Server. Why would someone want to do
 this?
 * Your application is a server or other middleware
 * You want to write an app that can be both stand alone <em>and</em> distributed
-* To test your EJBs with JUnit and don't want to start/stop servers and
+* To test your EJBs with JUnit and don't want to start<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">stop servers and
 other nonsense
 * Imagine the power from being able to use your IDE debugger to step from
 your Client all the way into your EJB and back with no remote debugging
@@ -198,19 +198,19 @@ application an IntraVM Client.</p>
 
 <p>There are some interesting differences though. The IntraVM Server isn't a
 heavyweight server as one normally associates with EJB. It doesn't open
-connections, launch threads for processing requests, introduce complex
+connections, launch threads for processing requests, introduce comple<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">
 classloading heirarchies, or any of those "heavy" kind of things. All it
-does is dish out proxies to your app that can be used to shoot calls right
+does is dish out pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ies to your app that can be used to shoot calls right
 into the EJB Container. Very light, very fast, very easy for testing,
 debugging, developing, etc.</p>
 
-<p><a name="LocalServer-Embedding"></a></p>
+<p><a name="LocalServer-Embedding">&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a></p>
 
 <h1>Embedding</h1>
 
-<p>!http://www.openejb.org/images/diagram-local-server.gif|valign=top,
+<p>!http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.openejb.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">images<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">diagram-local-server.gif|valign=top,
 align=right, hspace=15!
-{include:OPENEJBx30:Embedding}</p>
+{include:OPENEJB<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">30:Embedding}</p>
 
             </DIV>
           </P>