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:06:36 UTC
svn commit: r792601 [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:06:32 2011
@@ -152,11 +152,11 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="ResourceInjection-Overview"><<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>
+ <p><a name="ResourceInjection-Overview"></a></p>
<h1>Overview</h1>
-<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
+<p>This example 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 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>The source for this example can be checked out from svn:</p>
<p>$ svn co
-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>
+http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/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:<IMG class="emoticon" src="https://
<p>$ mvn clean install</p>
-<p><a name="ResourceInjection-TheCode"><<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>
+<p><a name="ResourceInjection-TheCode"></a></p>
<h1>The Code</h1>
-<p><a name="ResourceInjection-Injectionthroughfield(field-levelinjection)"><<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>
+<p><a name="ResourceInjection-Injectionthroughfield(field-levelinjection)"></a></p>
<h2>Injection through field (field-level injection)</h2>
-<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
+<p>The <em>maxLineItem</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.<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>
+(ejb-jar.xml).</p>
-<p><a name="ResourceInjection-@Resourceannotationofafield"><<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>
+<p><a name="ResourceInjection-@Resourceannotationofafield"></a></p>
<h4>@Resource annotation of a field</h4>
<pre><code>@Resource
-int 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 = 10;
+int maxLineItems = 10;
</code></pre>
-<p><a name="ResourceInjection-Injectionthroughasettermethod(method-levelinjection)"><<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>
+<p><a name="ResourceInjection-Injectionthroughasettermethod(method-levelinjection)"></a></p>
<h2>Injection through a setter method (method-level injection)</h2>
-<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
+<p>The <em>setMaxLineItem</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<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>
+java:comp/env/org.apache.openejb.examples.resource.InvoiceBean/maxLineItems</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> 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
+instance field (or a name of the setter method without <em>set</em> prefix and the
first letter lowercased).</p>
-<p><a name="ResourceInjection-@Resourceannotationofasettermethod"><<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>
+<p><a name="ResourceInjection-@Resourceannotationofasettermethod"></a></p>
<h4>@Resource annotation of a setter method</h4>
<pre><code>@Resource
-public void setMa<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">LineItems(int 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) {
- this.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 = 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;
+public void setMaxLineItems(int maxLineItems) {
+ this.maxLineItems = maxLineItems;
}
</code></pre>
-<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"><<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>
+<p><a name="ResourceInjection-env-entryinejb-jar.xml"></a></p>
-<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>
+<h4>env-entry in ejb-jar.xml</h4>
<pre><code><env-entry>
- <description>The ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">imum number of line items per
+ <description>The maximum number of line items per
</code></pre>
-<p>invoice.<<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>invoice.</description></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<<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<<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<<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>
- <<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><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><a name="ResourceInjection-Using@Resourceannotatedenv-entry"><<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>
+<p><a name="ResourceInjection-Using@Resourceannotatedenv-entry"></a></p>
<h4>Using @Resource annotated env-entry</h4>
<p>{tip:title=Using @Resource annotated env-entry}
-<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
+<em>maxLineItems</em> variable is injected by the <em>setMaxLine</em> method above. See
+also how env-entry is defined in ejb-jar.xml
{tip}</p>
-<pre><code>public void addLineItem(LineItem item) throws TooManyItemsE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception {
+<pre><code>public void addLineItem(LineItem item) throws TooManyItemsException {
if (item == null) {
- throw new IllegalArgumentE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception("Line item must not be null");
+ throw new IllegalArgumentException("Line item must not be null");
}
- if (itemCount <= 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) {
+ if (itemCount <= maxLineItems) {
items.add(item);
itemCount++;
} else {
- throw new TooManyItemsE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception("Number of items e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ceeded the ma<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">imum
+ throw new TooManyItemsException("Number of items exceeded the maximum
</code></pre>
<p>limit");
}
}</p>
-<p><a name="ResourceInjection-JUnitTest"><<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>
+<p><a name="ResourceInjection-JUnitTest"></a></p>
<h1>JUnit Test</h1>
-<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
+<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
write our test methods.</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"><<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>
+<p><a name="ResourceInjection-Testfixture"></a></p>
-<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>
+<h4>Test fixture</h4>
-<pre><code>protected void setUp() throws 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 {
+<pre><code>protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Conte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">t.INITIAL_CONTEXT_FACTORY,
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,
</code></pre>
-<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");
+<p>"org.apache.openejb.client.LocalInitialContextFactory");
properties.setProperty("openejb.deployments.classpath.include",
".<em>resource-injection.</em>");
- 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);
+ initialContext = new InitialContext(properties);
}</p>
-<p><a name="ResourceInjection-Testmethods"><<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>
+<p><a name="ResourceInjection-Testmethods"></a></p>
<h4>Test methods</h4>
-<pre><code>public void testAddLineItem() throws 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 {
+<pre><code>public void testAddLineItem() throws Exception {
Invoice order = (Invoice)
</code></pre>
-<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");
+<p>initialContext.lookup("InvoiceBeanBusinessRemote");
assertNotNull(order);
LineItem item = new LineItem("ABC-1", "Test Item");</p>
<pre><code> try {
order.addLineItem(item);
- } catch (TooManyItemsE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception tmie) {
+ } catch (TooManyItemsException tmie) {
fail("Test failed due to: " + tmie.getMessage());
}
}
</code></pre>
-<p><a name="ResourceInjection-Running"><<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>
+<p><a name="ResourceInjection-Running"></a></p>
<h1>Running</h1>
-<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>Running the example is fairly simple. Just execute 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:<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">openejb.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">
-INFO - openejb.home = 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
-INFO - openejb.base = 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
-WARN - Cannot find the configuration file [conf<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/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml]
+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]
</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 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 - Configuring Service(id=Default JDK 1.3 ProxyFactory,
+type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
INFO - Found EjbModule in classpath:
-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
+c:\oss\openejb3\examples\injection-of-env-entry\target\classes
INFO - Configuring app:
-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
+c:\oss\openejb3\examples\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\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
+c:\oss\openejb3\examples\injection-of-env-entry\target\classes
INFO - Assembling app:
-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
+c:\oss\openejb3\examples\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\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)
+Application(path=c:\oss\openejb3\examples\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:06:32 2011
@@ -156,10 +156,10 @@
<pre><code>package org.superbiz.refs;
-import java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.annotation.Resource;
-import java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.ejb.Stateless;
-import 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.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;
-import java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.sql.DataSource;
+import javax.annotation.Resource;
+import javax.ejb.Stateless;
+import javax.naming.InitialContext;
+import javax.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 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 {
- if (myBarDataSource == null) throw new NullPointerE<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ception("myBarDataSource not injected");
+ public void someBusinessMethod() throws Exception {
+ if (myBarDataSource == null) throw new NullPointerException("myBarDataSource not injected");
- <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"> Both can be looked up from JNDI as well
- 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 conte<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();
- DataSource fooDataSource = (DataSource) conte<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("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">myFooDataSource");
- DataSource barDataSource = (DataSource) conte<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("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.superbiz.refs.MyDataSourceRefBean<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">myBarDataSource");
+ // 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");
}
}
</code></pre>
-<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>
+<h1>Via xml</h1>
-<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>
+<p>The above @Resource annotation usage is 100% equivalent to the following xml.</p>
<pre><code><resource-ref>
- <res-ref-name>myFooDataSource<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">res-ref-name>
- <res-type>java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.sql.DataSource<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">res-type>
-<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">resource-ref>
+ <res-ref-name>myFooDataSource</res-ref-name>
+ <res-type>javax.sql.DataSource</res-type>
+</resource-ref>
<resource-ref>
- <res-ref-name>org.superbiz.refs.MyDataSourceRefBean<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">myBarDataSource<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">res-ref-name>
- <res-type>java<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.sql.DataSource<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">res-type>
+ <res-ref-name>org.superbiz.refs.MyDataSourceRefBean/myBarDataSource</res-ref-name>
+ <res-type>javax.sql.DataSource</res-type>
<injection-target>
- <injection-target-class>org.superbiz.refs.MyDataSourceRefBean<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">injection-target-class>
- <injection-target-name>myBarDataSource<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">injection-target-name>
- <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">injection-target>
-<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">resource-ref>
+ <injection-target-class>org.superbiz.refs.MyDataSourceRefBean</injection-target-class>
+ <injection-target-name>myBarDataSource</injection-target-name>
+ </injection-target>
+</resource-ref>
</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:06:32 2011
@@ -152,23 +152,23 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="RulesofThumb-Configuration"><<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>
+ <p><a name="RulesofThumb-Configuration"></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 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,
+ear, server and cluster level (when clustering is added). For example,
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 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
+<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
rules.</p></li>
</ul>
-<p><a name="RulesofThumb-Validation"><<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>
+<p><a name="RulesofThumb-Validation"></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:06:32 2011
@@ -152,7 +152,7 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBRuntime"><<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>
+ <p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBRuntime"></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
-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
+extracted on your machine. Once you have that, the next 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:<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>!http://people.apache.org/~jgallimore/images/server_step_4.jpg!</p>
-<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
+<p>Select OpenEJB 3.0.0 from the Apache category, and click next. 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:<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>!http://people.apache.org/~jgallimore/images/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"><<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>
+<p><a name="RunningastandaloneOpenEJBserver-ConfiguringtheOpenEJBServer"></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:<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>!http://people.apache.org/~jgallimore/images/server_step_8.jpg!</p>
<p>Select OpenEJB 3.0.0 from the Apache category, ensure you have the OpenEJB
-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>
+runtime selected, and click Next.</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>!http://people.apache.org/~jgallimore/images/server_step_9.jpg!</p>
<p>Select the EJB port for the server, and select Finish.</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>!http://people.apache.org/~jgallimore/images/server_step_10.jpg!</p>
-<p><a name="RunningastandaloneOpenEJBserver-Deployingaproject"><<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>
+<p><a name="RunningastandaloneOpenEJBserver-Deployingaproject"></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:<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>!http://people.apache.org/~jgallimore/images/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:<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>!http://people.apache.org/~jgallimore/images/server_step_2.jpg!</p>
<p>Select the EJB Module facet, and the Java Facet. Remember to select your
-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>
+OpenEJB runtime too. Click Next.</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>!http://people.apache.org/~jgallimore/images/server_step_6.jpg!</p>
<p>Enter the source folder for the EJBs in your project and click Finish.</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>!http://people.apache.org/~jgallimore/images/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:<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>!http://people.apache.org/~jgallimore/images/server_step_11.jpg!</p>
<p>Add your project to the server, and click Finish.</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>!http://people.apache.org/~jgallimore/images/server_step_12.jpg!</p>
<p>To start the server, Right click on your OpenEJB server, and select Start.</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>
+<p>!http://people.apache.org/~jgallimore/images/server_step_13.jpg!</p>
</DIV>
</P>