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 [33/49] - /websites/staging/openejb/trunk/content/

Modified: websites/staging/openejb/trunk/content/resource-injection.html
==============================================================================
--- websites/staging/openejb/trunk/content/resource-injection.html (original)
+++ websites/staging/openejb/trunk/content/resource-injection.html Tue Jul 12 18:02:27 2011
@@ -152,11 +152,11 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="ResourceInjection-Overview"></a></p>
+          <p><a name="ResourceInjection-Overview">&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>Overview</h1>
 
-<p>This example demonstrates the use of the injection of environment entries
+<p>This e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample demonstrates the use of the injection of environment entries
 using <em>@Resource</em> annotation.</p>
 
 <p>The EJB 3.0 specification (<em>EJB Core Contracts and Requirements</em>) section
@@ -179,10 +179,10 @@ annotation.</p>
 <p>The <em>InvoiceBean</em> class shows the use of method-level <em>@Resource</em>
 annotation.</p>
 
-<p>The source for this example can be checked out from svn:</p>
+<p>The source for this e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample can be checked out from svn:</p>
 
 <p>$ svn co
-http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/injection-of-env-entry</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">svn.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">repos<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">asf<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">trunk<IMG class="em
 oticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">openejb3<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">injection-of-env-entry</p>
 
 <p>To run it change your working directory to the directory
 <em>injection-of-env-entry</em> and run the following maven2 commands:</p>
@@ -191,34 +191,34 @@ http://svn.apache.org/repos/asf/openejb/
 
 <p>$ mvn clean install</p>
 
-<p><a name="ResourceInjection-TheCode"></a></p>
+<p><a name="ResourceInjection-TheCode">&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>The Code</h1>
 
-<p><a name="ResourceInjection-Injectionthroughfield(field-levelinjection)"></a></p>
+<p><a name="ResourceInjection-Injectionthroughfield(field-levelinjection)">&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>Injection through field (field-level injection)</h2>
 
-<p>The <em>maxLineItem</em> field in <em>PurchaseOrderBean</em> class is annotated with
+<p>The <em>ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItem</em> field in <em>PurchaseOrderBean</em> class is annotated with
 <em>@Resource</em> annotation to inform the EJB container <em>the place</em> where in the
 code the injection of a simple environment entry should take place. The
 default value of 10 is assigned. Deployer can modify the value of the
 environment entries at deployment time using deployment descriptor
-(ejb-jar.xml).</p>
+(ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml).</p>
 
-<p><a name="ResourceInjection-@Resourceannotationofafield"></a></p>
+<p><a name="ResourceInjection-@Resourceannotationofafield">&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>
 
 <h4>@Resource annotation of a field</h4>
 
 <pre><code>@Resource
-int maxLineItems = 10;
+int ma&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;LineItems = 10;
 </code></pre>
 
-<p><a name="ResourceInjection-Injectionthroughasettermethod(method-levelinjection)"></a></p>
+<p><a name="ResourceInjection-Injectionthroughasettermethod(method-levelinjection)">&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>Injection through a setter method (method-level injection)</h2>
 
-<p>The <em>setMaxLineItem</em> method in <em>InvoiceBean</em> class is annotated with
+<p>The <em>setMa<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItem</em> method in <em>InvoiceBean</em> class is annotated with
 <em>@Resource</em> annotation to inject the simple environment entry. Only setters
 can be used as a way to inject environment entry values. </p>
 
@@ -226,110 +226,110 @@ can be used as a way to inject environme
 following name:</p>
 
 <p>*
-java:comp/env/org.apache.openejb.examples.resource.InvoiceBean/maxLineItems</p>
+java:comp<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">org.apache.openejb.e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples.resource.InvoiceBean<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItems</p>
 
 <p>The pattern is to combine the fully-qualified class name and the name of a
-instance field (or a name of the setter method without <em>set</em> prefix and the
+instance field (or a name of the setter method without <em>set</em> prefi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> and the
 first letter lowercased).</p>
 
-<p><a name="ResourceInjection-@Resourceannotationofasettermethod"></a></p>
+<p><a name="ResourceInjection-@Resourceannotationofasettermethod">&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>
 
 <h4>@Resource annotation of a setter method</h4>
 
 <pre><code>@Resource
-public void setMaxLineItems(int maxLineItems) {
-    this.maxLineItems = maxLineItems;
+public void setMa&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;LineItems(int ma&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;LineItems) {
+    this.ma&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;LineItems = ma&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;LineItems;
 }
 </code></pre>
 
-<p><a name="ResourceInjection-env-entryinejb-jar.xml"></a></p>
+<p><a name="ResourceInjection-env-entryinejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml">&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>
 
-<h4>env-entry in ejb-jar.xml</h4>
+<h4>env-entry in ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</h4>
 
 <pre><code>&lt;env-entry&gt;
-     &lt;description&gt;The maximum number of line items per
+     &lt;description&gt;The ma&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;imum number of line items per
 </code></pre>
 
-<p>invoice.</description></p>
+<p>invoice.&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">description></p>
 
-<p><env-entry-name>org.apache.openejb.examples.injection.InvoiceBean/maxLineItems</env-entry-name>
-         <env-entry-type>java.lang.Integer</env-entry-type>
-         <env-entry-value>15</env-entry-value>
-    </env-entry></p>
+<p><env-entry-name>org.apache.openejb.e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples.injection.InvoiceBean<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItems&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry-name>
+         <env-entry-type>java.lang.Integer&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry-type>
+         <env-entry-value>15&lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry-value>
+    &lt;<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">env-entry></p>
 
-<p><a name="ResourceInjection-Using@Resourceannotatedenv-entry"></a></p>
+<p><a name="ResourceInjection-Using@Resourceannotatedenv-entry">&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>
 
 <h4>Using @Resource annotated env-entry</h4>
 
 <p>{tip:title=Using @Resource annotated env-entry}
-<em>maxLineItems</em> variable is injected by the <em>setMaxLine</em> method above. See
-also how env-entry is defined in ejb-jar.xml
+<em>ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItems</em> variable is injected by the <em>setMa<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">Line</em> method above. See
+also how env-entry is defined in ejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml
 {tip}</p>
 
-<pre><code>public void addLineItem(LineItem item) throws TooManyItemsException {
+<pre><code>public void addLineItem(LineItem item) throws TooManyItemsE&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 {
    if (item == null) {
-      throw new IllegalArgumentException("Line item must not be null");
+      throw new IllegalArgumentE&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("Line item must not be null");
    }
 
-   if (itemCount &lt;= maxLineItems) {
+   if (itemCount &lt;= ma&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;LineItems) {
       items.add(item);
       itemCount++;
    } else {
-      throw new TooManyItemsException("Number of items exceeded the maximum
+      throw new TooManyItemsE&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("Number of items 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;ceeded the ma&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;imum
 </code></pre>
 
 <p>limit");
        }
     }</p>
 
-<p><a name="ResourceInjection-JUnitTest"></a></p>
+<p><a name="ResourceInjection-JUnitTest">&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>JUnit Test</h1>
 
-<p>Writing an JUnit test for this example is quite simple. We need just to
-write a setup method to create and initialize the InitialContext, and then
+<p>Writing an JUnit test for this e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample is quite simple. We need just to
+write a setup method to create and initialize the InitialConte<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 then
 write our test methods.</p>
 
-<p><a name="ResourceInjection-Testfixture"></a></p>
+<p><a name="ResourceInjection-Testfi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ture">&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>
 
-<h4>Test fixture</h4>
+<h4>Test fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ture</h4>
 
-<pre><code>protected void setUp() throws Exception {
+<pre><code>protected 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 properties = new Properties();
-    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
+    properties.setProperty(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,
 </code></pre>
 
-<p>"org.apache.openejb.client.LocalInitialContextFactory");
+<p>"org.apache.openejb.client.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");
         properties.setProperty("openejb.deployments.classpath.include",
 ".<em>resource-injection.</em>");
-        initialContext = new InitialContext(properties);
+        initialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t = new InitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t(properties);
     }</p>
 
-<p><a name="ResourceInjection-Testmethods"></a></p>
+<p><a name="ResourceInjection-Testmethods">&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>
 
 <h4>Test methods</h4>
 
-<pre><code>public void testAddLineItem() throws Exception {
+<pre><code>public void testAddLineItem() 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 {
     Invoice order = (Invoice)
 </code></pre>
 
-<p>initialContext.lookup("InvoiceBeanBusinessRemote");
+<p>initialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t.lookup("InvoiceBeanBusinessRemote");
         assertNotNull(order);
         LineItem item = new LineItem("ABC-1", "Test Item");</p>
 
 <pre><code>    try {
     order.addLineItem(item);
-    } catch (TooManyItemsException tmie) {
+    } catch (TooManyItemsE&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 tmie) {
     fail("Test failed due to: " + tmie.getMessage());
     }
 }
 </code></pre>
 
-<p><a name="ResourceInjection-Running"></a></p>
+<p><a name="ResourceInjection-Running">&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>Running</h1>
 
-<p>Running the example is fairly simple. Just execute the following commands:</p>
+<p>Running the e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample is fairly simple. Just 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 the following commands:</p>
 
 <p>$ cd injection-of-env-entry
 $ mvn clean test</p>
@@ -339,10 +339,10 @@ $ mvn clean test</p>
 -------------------------------------------------------
 Running org.superbiz.injection.PurchaseOrderBeanTest
 Apache OpenEJB 3.0.0-SNAPSHOT    build: 20071218-01:41
-http://openejb.apache.org/
-INFO - openejb.home = c:\oss\openejb3\examples\injection-of-env-entry
-INFO - openejb.base = c:\oss\openejb3\examples\injection-of-env-entry
-WARN - Cannot find the configuration file [conf/openejb.xml]
+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;openejb.apache.org&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;
+INFO - openejb.home = c:\oss\openejb3\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;amples\injection-of-env-entry
+INFO - openejb.base = c:\oss\openejb3\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;amples\injection-of-env-entry
+WARN - Cannot find the configuration file [conf&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;openejb.&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]
 </code></pre>
 
 <p>.  Will attempt to create one for the beans deployed.
@@ -350,20 +350,20 @@ WARN - Cannot find the configuration fil
 type=SecurityService, provider-id=Default Security Service)
     INFO - Configuring Service(id=Default Transaction Manager,
 type=TransactionManager, provider-id=Default Transaction Manager)
-    INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
-type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
+    INFO - Configuring Service(id=Default JDK 1.3 Pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">yFactory,
+type=Pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">yFactory, provider-id=Default JDK 1.3 Pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">yFactory)
     INFO - Found EjbModule in classpath:
-c:\oss\openejb3\examples\injection-of-env-entry\target\classes
+c:\oss\openejb3\e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples\injection-of-env-entry\target\classes
     INFO - Configuring app:
-c:\oss\openejb3\examples\injection-of-env-entry\target\classes
+c:\oss\openejb3\e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples\injection-of-env-entry\target\classes
     INFO - Configuring Service(id=Default Stateful Container, type=Container,
 provider-id=Default Stateful Container)
     INFO - Auto-creating a container for bean InvoiceBean:
 Container(type=STATEFUL, id=Default Stateful Container)
     INFO - Loaded Module:
-c:\oss\openejb3\examples\injection-of-env-entry\target\classes
+c:\oss\openejb3\e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples\injection-of-env-entry\target\classes
     INFO - Assembling app:
-c:\oss\openejb3\examples\injection-of-env-entry\target\classes
+c:\oss\openejb3\e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples\injection-of-env-entry\target\classes
     INFO - Jndi(name=InvoiceBeanRemote) --> Ejb(deployment-id=InvoiceBean)
     INFO - Jndi(name=PurchaseOrderBeanRemote) -->
 Ejb(deployment-id=PurchaseOrderBean)
@@ -372,7 +372,7 @@ container=Default Stateful Container)
     INFO - Created Ejb(deployment-id=PurchaseOrderBean,
 ejb-name=PurchaseOrderBean, container=Default Stateful Container)
     INFO - Deployed
-Application(path=c:\oss\openejb3\examples\injection-of-env-entry\target\classes)
+Application(path=c:\oss\openejb3\e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">amples\injection-of-env-entry\target\classes)
     INFO - OpenEJB ready.
     OpenEJB ready.
     Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.859 sec

Modified: websites/staging/openejb/trunk/content/resource-ref-for-datasource.html
==============================================================================
--- websites/staging/openejb/trunk/content/resource-ref-for-datasource.html (original)
+++ websites/staging/openejb/trunk/content/resource-ref-for-datasource.html Tue Jul 12 18:02:27 2011
@@ -156,10 +156,10 @@
 
 <pre><code>package org.superbiz.refs;
 
-import javax.annotation.Resource;
-import javax.ejb.Stateless;
-import javax.naming.InitialContext;
-import javax.sql.DataSource;
+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;.annotation.Resource;
+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;.naming.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;
+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;.sql.DataSource;
 
 @Stateless
 @Resource(name = "myFooDataSource", type = DataSource.class)
@@ -168,33 +168,33 @@ public class MyDataSourceRefBean impleme
     @Resource
     private DataSource myBarDataSource;
 
-    public void someBusinessMethod() throws Exception {
-        if (myBarDataSource == null) throw new NullPointerException("myBarDataSource not injected");
+    public void someBusinessMethod() 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 {
+        if (myBarDataSource == null) throw new NullPointerE&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("myBarDataSource not injected");
 
-        // Both can be looked up from JNDI as well
-        InitialContext context = new InitialContext();
-        DataSource fooDataSource = (DataSource) context.lookup("java:comp/env/myFooDataSource");
-        DataSource barDataSource = (DataSource) context.lookup("java:comp/env/org.superbiz.refs.MyDataSourceRefBean/myBarDataSource");
+        &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; Both can be looked up from JNDI as well
+        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 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 = 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();
+        DataSource fooDataSource = (DataSource) 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.lookup("java:comp&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;env&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;myFooDataSource");
+        DataSource barDataSource = (DataSource) 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.lookup("java:comp&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;env&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;org.superbiz.refs.MyDataSourceRefBean&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;myBarDataSource");
     }
 }
 </code></pre>
 
-<h1>Via xml</h1>
+<h1>Via <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml</h1>
 
-<p>The above @Resource annotation usage is 100% equivalent to the following xml.</p>
+<p>The above @Resource annotation usage is 100% equivalent to the following <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml.</p>
 
 <pre><code>&lt;resource-ref&gt;
-    &lt;res-ref-name&gt;myFooDataSource&lt;/res-ref-name&gt;
-    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
-&lt;/resource-ref&gt;
+    &lt;res-ref-name&gt;myFooDataSource&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;res-ref-name&gt;
+    &lt;res-type&gt;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;.sql.DataSource&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;res-type&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;resource-ref&gt;
 &lt;resource-ref&gt;
-    &lt;res-ref-name&gt;org.superbiz.refs.MyDataSourceRefBean/myBarDataSource&lt;/res-ref-name&gt;
-    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
+    &lt;res-ref-name&gt;org.superbiz.refs.MyDataSourceRefBean&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;myBarDataSource&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;res-ref-name&gt;
+    &lt;res-type&gt;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;.sql.DataSource&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;res-type&gt;
     &lt;injection-target&gt;
-        &lt;injection-target-class&gt;org.superbiz.refs.MyDataSourceRefBean&lt;/injection-target-class&gt;
-        &lt;injection-target-name&gt;myBarDataSource&lt;/injection-target-name&gt;
-    &lt;/injection-target&gt;
-&lt;/resource-ref&gt;
+        &lt;injection-target-class&gt;org.superbiz.refs.MyDataSourceRefBean&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;injection-target-class&gt;
+        &lt;injection-target-name&gt;myBarDataSource&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;injection-target-name&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;injection-target&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;resource-ref&gt;
 </code></pre>
 
             </DIV>

Modified: websites/staging/openejb/trunk/content/rules-of-thumb.html
==============================================================================
--- websites/staging/openejb/trunk/content/rules-of-thumb.html (original)
+++ websites/staging/openejb/trunk/content/rules-of-thumb.html Tue Jul 12 18:02:27 2011
@@ -152,23 +152,23 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="RulesofThumb-Configuration"></a></p>
+          <p><a name="RulesofThumb-Configuration">&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>Configuration</h3>
 
 <ul>
 <li><p>Configuration settings should have configurable defaults at the module,
-ear, server and cluster level (when clustering is added).  For example,
+ear, server and cluster level (when clustering is added).  For e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample,
 security settings should be configurable on a per ejb, ejb jar, ear and
 server levels.  </p></li>
-<li><p>Settings should have a smooth increase in complexity from very simple to
-complex.  For example, a cache setting could start with a simple max-size,
-and over time the user could increase the complexity by adding
-configuration for disk paging up to specification of complex flushing
+<li><p>Settings should have a smooth increase in comple<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ity from very simple to
+comple<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.  For e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ample, a cache setting could start with a simple ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">-size,
+and over time the user could increase the comple<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ity by adding
+configuration for disk paging up to specification of comple<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> flushing
 rules.</p></li>
 </ul>
 
-<p><a name="RulesofThumb-Validation"></a></p>
+<p><a name="RulesofThumb-Validation">&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>Validation</h3>
 

Modified: websites/staging/openejb/trunk/content/running-a-standalone-openejb-server.html
==============================================================================
--- websites/staging/openejb/trunk/content/running-a-standalone-openejb-server.html (original)
+++ websites/staging/openejb/trunk/content/running-a-standalone-openejb-server.html Tue Jul 12 18:02:27 2011
@@ -152,7 +152,7 @@
           <P>
             <!-- $BODY -->
             <DIV id="PageContent">
-          <p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBRuntime"></a></p>
+          <p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBRuntime">&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>Configuring the OpenEJB Runtime</h1>
 
@@ -160,41 +160,41 @@
 standalone server in Eclipse using WTP.</p>
 
 <p>To setup a server, first of all, you will need to have a copy of OpenEJB
-extracted on your machine. Once you have that, the next step is to set up a
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tracted on your machine. Once you have that, 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 step is to set up a
 runtime.</p>
 
 <p>To set up a new runtime, click on Window, Preferences, and select Installed
 Runtimes under the Server category. Click the Add button.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_4.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_4.jpg!</p>
 
-<p>Select OpenEJB 3.0.0 from the Apache category, and click next. If you
+<p>Select OpenEJB 3.0.0 from the Apache category, and click 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. If you
 choose to 'also create a new server' on this panel, you can add a server
 straight after configuring the runtime.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_5.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_5.jpg!</p>
 
 <p>Browse to, or enter the path to your copy of OpenEJB. Click on Finish.</p>
 
-<p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBServer"></a></p>
+<p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBServer">&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>Configuring the OpenEJB Server</h1>
 
 <p>Open the Servers view (if it isn't already), and right click and select
 New->Server.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_8.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_8.jpg!</p>
 
 <p>Select OpenEJB 3.0.0 from the Apache category, ensure you have the OpenEJB
-runtime selected, and click Next.</p>
+runtime selected, and click 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.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_9.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_9.jpg!</p>
 
 <p>Select the EJB port for the server, and select Finish.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_10.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_10.jpg!</p>
 
-<p><a name="RunningastandaloneOpenEJBserver-Deployingaproject"></a></p>
+<p><a name="RunningastandaloneOpenEJBserver-Deployingaproject">&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>Deploying a project</h1>
 
@@ -203,35 +203,35 @@ project must be a Java EE project, with 
 project doesn't have the Faceted nature, you can use the OpenEJB plugin to
 add it. Simply select OpenEJB->Add Faceted Nature from the menu bar.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_1.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_1.jpg!</p>
 
 <p>To add the EJB facet, right click on the project in the navigator, and
 select Properties. Select Project Facets on the left hand side. Click on
 the Modify Project button.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_2.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_2.jpg!</p>
 
 <p>Select the EJB Module facet, and the Java Facet. Remember to select your
-OpenEJB runtime too. Click Next.</p>
+OpenEJB runtime too. Click 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.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_6.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_6.jpg!</p>
 
 <p>Enter the source folder for the EJBs in your project and click Finish.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_7.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_7.jpg!</p>
 
 <p>Now right click on your OpenEJB server in the servers view, and select Add
 and Remove Projects.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_11.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_11.jpg!</p>
 
 <p>Add your project to the server, and click Finish.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_12.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_12.jpg!</p>
 
 <p>To start the server, Right click on your OpenEJB server, and select Start.</p>
 
-<p>!http://people.apache.org/~jgallimore/images/server_step_13.jpg!</p>
+<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">people.apache.org<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">~jgallimore<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">server_step_13.jpg!</p>
 
             </DIV>
           </P>