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 [5/49] - /websites/staging/openejb/trunk/content/
Modified: websites/staging/openejb/trunk/content/apache-tomee.html
==============================================================================
--- websites/staging/openejb/trunk/content/apache-tomee.html (original)
+++ websites/staging/openejb/trunk/content/apache-tomee.html Tue Jul 12 18:02:27 2011
@@ -155,56 +155,56 @@
<p>Apache TomEE, pronounced "Tommy", is an all-Apache stack aimed at <em>Java EE
6 Web Profile</em> certification where Tomcat is top dog.</p>
-<p><a name="ApacheTomEE-Overview"></a></p>
+<p><a name="ApacheTomEE-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>
<h3>Overview</h3>
-<p>{span:style=float: right; margin-left: 20px;}</p>
+<p>{span:style=float: right; margin-left: 20p<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">;}</p>
<p>{html}</p>
<p><iframe width="425" height="349" alt="JAXLondon, Spring 2011"
-src="http://www.youtube.com/embed/GJ_32qD1TrA" frameborder="0"
-allowfullscreen></iframe>
-<br/>
+src="http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.youtube.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">embed<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">GJ_32qD1TrA" frameborder="0"
+allowfullscreen><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">iframe>
+<br<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">>
Jonathan Gallimore and David Blevins @ <a
-href="http://jaxlondon.com/2011s/">JAX London, Spring 2011</a>
+href="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">ja<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">london.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">2011s<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">">JAX London, Spring 2011<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border=
"0">a>
{html}
{span}
{div}</p>
-<table>
-<tr><td>Connector </td><td> Apache Geronimo Connector </td></tr>
-<tr><td>CDI </td><td> Apache OpenWebBeans </td></tr>
-<tr><td>EJB</td><td> Apache OpenEJB </td></tr>
-<tr><td>Javamail</td><td> Apache Geronimo JavaMail </td></tr>
-<tr><td>JPA</td><td> Apache OpenJPA </td></tr>
-<tr><td>JSF </td><td> Apache MyFaces </td></tr>
-<tr><td>JSP </td><td> Apache Tomcat </td></tr>
-<tr><td>JSTL </td><td> Apache Tomcat </td></tr>
-<tr><td>JTA </td><td> Apache Geronimo Transaction </td></tr>
-<tr><td>Servlet </td><td> Apache Tomcat </td></tr>
-</table>
-
-<p><a name="ApacheTomEE-Extras"></a></p>
-
-<h3>Extras</h3>
-
-<table>
-<tr><td>JMS</td><td> Apache ActiveMQ </td></tr>
-<tr><td>Web Services </td><td> Apache CXF</td></tr>
-</table>
+<p><table>
+<tr><td>Connector <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Geronimo Connector <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>CDI <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache OpenWebBeans <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>EJB<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache OpenEJB <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>Javamail<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Geronimo JavaMail <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>JPA<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache OpenJPA <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>JSF <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache MyFaces <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>JSP <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Tomcat <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>JSTL <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Tomcat <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>JTA <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Geronimo Transaction <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>Servlet <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache Tomcat <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">table></p>
+
+<p><a name="ApacheTomEE-E<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tras"><<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>E<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tras</h3>
+
+<p><table>
+<tr><td>JMS<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache ActiveMQ <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<tr><td>Web Services <<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><td> Apache CXF<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">td><<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tr>
+<<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">table></p>
<p>{div}
{div:style=clear:both;}{div}</p>
-<p><a name="ApacheTomEE-Goal"></a></p>
+<p><a name="ApacheTomEE-Goal"><<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>Goal</h1>
<p>Simple, Get more from Tomcat without giving anything up.</p>
-<p><a name="ApacheTomEE-Focuses"></a></p>
+<p><a name="ApacheTomEE-Focuses"><<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>Focuses</h1>
@@ -217,10 +217,10 @@ href="http://jaxlondon.com/2011s/">JAX L
</ul>
<p>The desire to beef up Tomcat installations has persisted despite the
-existence of full-blown app servers, many of which include Tomcat in some
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">istence of full-blown app servers, many of which include Tomcat in some
truncated and stripped-down form. Not TomEE.</p>
-<p><a name="ApacheTomEE-UndertheCovers"></a></p>
+<p><a name="ApacheTomEE-UndertheCovers"><<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>Under the Covers</h1>
@@ -233,17 +233,17 @@ leveraging Tomcat. We start with Tomcat
leverage them all to fill the gaps. The result is a whole lotta sharing!</p>
<p>Servlets now get access to JPA and Transactions, EJBs get access to Tomcat
-provided Security. Any Tomcat provided resources, say from a context.xml,
+provided Security. Any Tomcat provided resources, say from a 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.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml,
can be looked up or injected by <em>any</em> managed component in the system.</p>
-<p><a name="ApacheTomEE-KeepitTight,KeepitSimple"></a></p>
+<p><a name="ApacheTomEE-KeepitTight,KeepitSimple"><<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>Keep it Tight, Keep it Simple</h1>
<p>There's a definite "less is more" philosophy in Apache TomEE. It's too
easy to go too far when developing an app server. The result is usually a
slow to start, memory hogging, beast. We're not here to create an ultra
-flexible, super powerful, infinitely composable, be anything to anyone
+fle<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ible, super powerful, infinitely composable, be anything to anyone
platform. We're here to deliver Java EE 6 Web Profile in the simplest way
possible.</p>
@@ -257,7 +257,7 @@ you'd end up with TomEE. The result spe
<li>Compatible with Tomcat-tested apps</li>
</ul>
-<p><a name="ApacheTomEE-History"></a></p>
+<p><a name="ApacheTomEE-History"><<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>History</h1>
@@ -268,14 +268,14 @@ there's incredible benefit even if EJB i
<p>Quite simply, EJB as a technology integrates with the most number of specs
than any other spec. It touches JMS, Web Services, Connectors, Servlets
(EJB Web Services are still driven by Servlets!), JPA, JDBC, Transactions,
-Security. Integrating with all these technologies takes time and expertise
+Security. Integrating with all these technologies takes time and e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pertise
and in the end has very little to do with EJB specifically. To apply this
all to Tomcat and leverage it all from a simple Servlet is a natural
-extension and the reason most app servers started out as EJB servers.</p>
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tension and the reason most app servers started out as EJB servers.</p>
<p>Whereas most app servers pluck Tomcat out of its environment, Apache
-OpenEJB has always existed as an embeddable container focused on being as
-tiny and invisible as possible. The natural extension of this is to embed
+OpenEJB has always e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">isted as an embeddable container focused on being as
+tiny and invisible as possible. The natural e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tension of this is to embed
the "EE" into Tomcat, rather than the other way around.</p>
<p>But in the end, it is not about EJB. It's about the other guys: ActiveMQ,
Modified: websites/staging/openejb/trunk/content/app-clients-and-jndi.html
==============================================================================
--- websites/staging/openejb/trunk/content/app-clients-and-jndi.html (original)
+++ websites/staging/openejb/trunk/content/app-clients-and-jndi.html Tue Jul 12 18:02:27 2011
@@ -162,40 +162,40 @@ not break the App Client code. The
specifically for "plain" clients and allows them to get the names as they
want them.</p>
-<p>Internally, we bind each EJB proxy under essentially a hardcoded and
+<p>Internally, we bind each EJB pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">y under essentially a hardcoded and
predictable format and then again using the user supplied format. So
-there are at minimum two JNDI trees with every EJB proxy. It used to
+there are at minimum two JNDI trees with every EJB pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">y. It used to
be two at least. Now we have quite a few because of Java EE 6 global
JNDI and the support we added for @LocalClient and allowing the same
interface to be used as both @Local and @Remote.</p>
<p>Basically we have:</p>
-<p> openejb/Deployment/<hardcoded internal format>
- openejb/local/<strategy format>
- openejb/remote/<strategy format></p>
+<p> openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Deployment<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><hardcoded internal format>
+ openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">local<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><strategy format>
+ openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">remote<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><strategy format></p>
-<p>The 'openejb/Deployment' section is the non-changing fully qualified name
+<p>The 'openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Deployment' section is the non-changing fully qualified name
for use internally and by app clients.</p>
-<p>The 'openejb/remote' section is for "pretty" names looked up via plain
-clients using the RemoteInitialContextFactory. The protocol can tell
+<p>The 'openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">remote' section is for "pretty" names looked up via plain
+clients using the RemoteInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory. The protocol can tell
the difference between app clients and plain clients and knows which area
to look in.</p>
-<p>The 'openejb/local' section is for "pretty" names looked up via the
-LocalInitialContextFactory.</p>
+<p>The 'openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">local' section is for "pretty" names looked up via the
+LocalInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory.</p>
<p>The "pretty" names are defined by the openejb.jndiname.format and since the
-user has control of that formatting it's possible that not all proxies can
+user has control of that formatting it's possible that not all pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ies can
be bound. Say the bean has both a local and remote interface and the
user has just "{deploymentId}" or "{ejbName}" as the format.
Hence those bind calls use the "optional" set of binding methods.</p>
-<p>The format of the internal names bound into openejb/Deployment is
+<p>The format of the internal names bound into openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Deployment is
guaranteed to be unique. It's not pretty to look at obviously, but
-every possible proxy will be bound there guaranteed. For binding into
-'openejb/Deployment' we don't use the "optional" set of binding methods.
+every possible pro<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">y will be bound there guaranteed. For binding into
+'openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Deployment' we don't use the "optional" set of binding methods.
If something can't be bound it's a deployment issue.</p>
<p>The home interface is bound, but with the name of the corresponding
@@ -208,16 +208,16 @@ EJB related. Either way the OpenEJ
of the App Client and both Geronimo and OpenEJB rely on that.</p>
<p>In Geronimo App Clients the id is set to "Deployments" and that tells
-OpenEJB not to look in the "openejb/remote" section of JNDI as it normally
-would. It will instead use the "openejb/Deployments" section of JNDI
+OpenEJB not to look in the "openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">remote" section of JNDI as it normally
+would. It will instead use the "openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Deployments" section of JNDI
were the names follow a predictable and unchanging format.</p>
<p>In OpenEJB App Clients the id is set to the name of the App Client and we
-instead look in "openejb/client/<id>/" where names are formatted by the
-user via the application-client.xml.</p>
+instead look in "openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">client<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><id><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">" where names are formatted by the
+user via the application-client.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml.</p>
<p>When calls are made from client to server and the App Client module id is
-not present, we look in openejb/remote/ where names are formatted using the
+not present, we look in openejb<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">remote<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"> where names are formatted using the
openejb.jndi.format</p>
</DIV>
Modified: websites/staging/openejb/trunk/content/application-discovery-via-the-classpath.html
==============================================================================
--- websites/staging/openejb/trunk/content/application-discovery-via-the-classpath.html (original)
+++ websites/staging/openejb/trunk/content/application-discovery-via-the-classpath.html Tue Jul 12 18:02:27 2011
@@ -155,54 +155,54 @@
<p>This document details the various ways to get OpenEJB to pickup
applications you'd like deployed while in an embedded mode.</p>
-<p><a name="Applicationdiscoveryviatheclasspath-Emptyejb-jar.xmlapproach(recommended)"></a></p>
+<p><a name="Applicationdiscoveryviatheclasspath-Emptyejb-jar.<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">mlapproach(recommended)"><<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>Empty ejb-jar.xml approach (recommended)</h1>
+<h1>Empty 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 approach (recommended)</h1>
<p>Simplify the issue of searching for annotated applications by adding an
-ejb-jar.xml like this to your app:</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 like this to your app:</p>
-<pre><code><ejb-jar/>
+<pre><code><ejb-jar<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">>
</code></pre>
<p>OpenEJB will find the app in the classpath and deploy it along with any
annotated beans it may contain.</p>
-<p>The ejb-jar.xml can contain more than just "<ejb-jar/>" as usual.</p>
+<p>The 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 can contain more than just "<ejb-jar<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">>" as usual.</p>
<p>This is the recommended approach for people using OpenEJB for unit testing
as it allows OpenEJB to find your application in the classpath without the
need for you to specify any path information which tends to complicate
builds.</p>
-<h1>Including/Excluding paths (advanced)</h1>
+<h1>Including<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">cluding paths (advanced)</h1>
-<p>If you do not like the idea of having the ejb-jar.xml in your app or an
-openejb.xml, we can search the classpath for annotated beans (@Stateless,
+<p>If you do not like the idea of having the 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 in your app or an
+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, we can search the classpath for annotated beans (@Stateless,
@Stateful, @MessageDriven) and load them automatically just as if they
-contained an ejb-jar.xml.</p>
+contained an 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>This form of searching, however, is very expensive as it involves iterating
+<p>This form of searching, however, is very e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pensive as it involves iterating
over every path in the classpath and reading in each class definition
contained thereunder and checking it for annotations.</p>
<p>This approach can only be made faster by helping us trim down or pinpoint
the paths we should search via the <em>openejb.deployments.classpath.include</em>
property which can be specified as a <em>system property</em> or a property passed
-into the <em>InitialContext</em>. </p>
+into the <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</em>. </p>
-<p>The value of this property is a regular expression and therefore can be
-absolute or relative. For example the path
-"/Users/dblevins/work/swizzle/swizzle-stream/target/classes" which contains
+<p>The value of this property is a regular e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pression and therefore can be
+absolute or relative. 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 the path
+"<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Users<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">dblevins<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">work<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">swizzle<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">swizzle-stream<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">target<IMG cla
ss="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">classes" which contains
the class files of an application you wish to test could be included in any
of the following values to the "openejb.deployments.classpath.include"
property:</p>
-<pre><code> - "file:///Users/dblevins/work/swizzle/swizzle-stream/target/classes/"
+<pre><code> - "file:<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"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Users<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">dblevins<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">work<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle"
alt="" border="0">swizzle<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">swizzle-stream<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">target<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">classes<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">"
</code></pre>
<p><em>(an absolute path)</em>
- - "file:///Users/dblevins/work/swizzle/.*" <br />
+ - "file:<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"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">Users<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">dblevins<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">work<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">swizzle<IMG class="emo
ticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">.*" <br />
<em>(relative)</em>
- ".*swizzle-stream.*" <br />
<em>(very relative)</em>
@@ -212,15 +212,15 @@ property:</p>
<p>Note the filtering is done on URLs in the classpath, so forward slashes
should always be used even on OSs using backslash ("\").</p>
-<p>There is an <em>openejb.deployments.classpath.exclude</em> property if you wish to
+<p>There is an <em>openejb.deployments.classpath.e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">clude</em> property if you wish to
work in the opposite direction. The default values for both properties are
as follows:</p>
-<pre><code> openejb.deployments.classpath.include="" _//include nothing_
- openejb.deployments.classpath.exclude=".*" _//exclude everything_
+<pre><code> openejb.deployments.classpath.include="" _<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">include nothing_
+ openejb.deployments.classpath.e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">clude=".*" _<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">e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">clude everything_
</code></pre>
-<p>The exclude and the include is applied separately and the results of each
+<p>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">clude and the include is applied separately and the results of each
are combined together to create the list of paths OpenEJB will scrape for
annotations.</p>
@@ -234,14 +234,14 @@ property to <em>true</em>. The default
<h1>Troubleshooting</h1>
-<p>If you're having trouble determining if the META-INF/ejb-jar.xml file for
+<p>If you're having trouble determining if the META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">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 file for
your ejb module is in the classpath, a little debug code like this in your
test setup will help you see what OpenEJB sees (which may be nothing):</p>
<pre><code>Enumeration<URL> ejbJars =
-this.getClass().getClassLoader().getResources("META-INF/ejb-jar.xml");
+this.getClass().getClassLoader().getResources("META-INF<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">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");
while (ejbJars.hasMoreElements()) {
- URL url = ejbJars.nextElement();
+ URL url = ejbJars.ne<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tElement();
System.out.println("app = " + url);
}
</code></pre>
Modified: websites/staging/openejb/trunk/content/april2008.html
==============================================================================
--- websites/staging/openejb/trunk/content/april2008.html (original)
+++ websites/staging/openejb/trunk/content/april2008.html Tue Jul 12 18:02:27 2011
@@ -162,14 +162,14 @@ questions answerable with documentation
<p>Work on OpenEJB 3.0 final began towards the end of February with the first
binaries up for vote on March 11th. Some wonderful feedback on both the
dev and users list revealed some critical technical issues with those
-binaries and the vote was cancelled so that the issues could be fixed.
-Several members of the community went the extra mile to help get issues
-fixed and the release out the door. After steady stream of bug fixes,
+binaries and the vote was cancelled so that the issues could be fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed.
+Several members of the community went 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">tra mile to help get issues
+fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ed and the release out the door. After steady stream of bug fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es,
legal file maintenance, and a few more aborted votes, the long anticipated
OpenEJB 3.0 Final was released April 12th. The binaries proposed a month
prior pale in comparison to the binaries eventually released and we are all
-very pleased with the quality of the 3.0 final. We are very excited to see
-what kind of a splash 3.0 will make and expect a 3.0.1 will be required
+very pleased with the quality of the 3.0 final. We are very e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">cited to see
+what kind of a splash 3.0 will make and e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pect a 3.0.1 will be required
soon.</p>
<p>The work contributor Jonathan Gallimore has been doing with an OpenEJB
Modified: websites/staging/openejb/trunk/content/april2009.html
==============================================================================
--- websites/staging/openejb/trunk/content/april2009.html (original)
+++ websites/staging/openejb/trunk/content/april2009.html Tue Jul 12 18:02:27 2011
@@ -152,18 +152,18 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p>A patch release of OpenEJB 3.0 (3.0.1) was released with fixes aimed to
+ <p>A patch release of OpenEJB 3.0 (3.0.1) was released with fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es aimed to
support the Geronimo 2.1.4 release. Talk has started on a release of the
current 3.1 branch (to be OpenEJB 3.1.1), which already contains several
-fixes and improvements over the 3.1 version released in November.</p>
+fi<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">es and improvements over the 3.1 version released in November.</p>
-<p>List traffic has continued to increase. In Q1 2008 traffic averaged 63 messages per month. In Q1 2009 the average is 133 per month. This resulted in occasional delays in response times due to bursts of requests. At a particularly heavier burst one user complained in an email titled, "Thank you for not supporting me in any way." This proved to be an overall positive event as it provided an opportunity to reset expectations, get everyone behind the project, and resulted in a generous increase of participation from users and committers alike<a href="1.html">1</a>
+<p>List traffic has continued to increase. In Q1 2008 traffic averaged 63 messages per month. In Q1 2009 the average is 133 per month. This resulted in occasional delays in response times due to bursts of requests. At a particularly heavier burst one user complained in an email titled, "Thank you for not supporting me in any way." This proved to be an overall positive event as it provided an opportunity to reset e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pectations, get everyone behind the project, and resulted in a generous increase of participation from users and committers alike<a href="1.html">1</a>
. Ultimately it was just what we needed.</p>
<p>Jean-Louis Monteiro has been contributing some good patches and time on the
user list and proving to be a good potential committer. His activity is
primarily around web services which is one area where can certainly use the
-expertise. His participation is greatly appreciated and we look forward to
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">pertise. His participation is greatly appreciated and we look forward to
continued contribution.</p>
<p>Discussions have opened up with OpenWebBeans on providing them with the
@@ -181,7 +181,7 @@ Regardless of the outcome, support for t
<p><a href="1.html">1</a></p>
-<p>http://mail-archives.apache.org/mod_mbox/openejb-users/200902.mbox/%3c98A91BE3-4ACC-4D86-AE19-4CD4A202E1CD@visi.com%3e</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">mail-archives.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">mod_mbo<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.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-users<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">2
00902.mbo<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.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">%3c98A91BE3-4ACC-4D86-AE19-4CD4A202E1CD@visi.com%3e</p>
</DIV>
</P>
Modified: websites/staging/openejb/trunk/content/articles.html
==============================================================================
--- websites/staging/openejb/trunk/content/articles.html (original)
+++ websites/staging/openejb/trunk/content/articles.html Tue Jul 12 18:02:27 2011
@@ -152,53 +152,53 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="Articles-OpenEJBArticles"></a></p>
+ <p><a name="Articles-OpenEJBArticles"><<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>OpenEJB Articles</h1>
-<p><a name="Articles-3.0"></a></p>
+<p><a name="Articles-3.0"><<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>3.0</h2>
<ul>
-<li><a href="http://java.sys-con.com/read/487561_2.htm">Developing EJB 3 Applications in Apache Tomcat Using Apache OpenEJB</a>
+<li>[Developing EJB 3 Applications in Apache Tomcat Using Apache OpenEJB](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">java.sys-con.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">read<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">487561_2.htm)
, by Dario Laverde, java.sys-con.com</li>
-<li><a href="http://javanotebook.com/2007/09/28/openejb_3_and_tomcat_6.html">OpenEJB 3 and Tomcat 6</a>
+<li>[OpenEJB 3 and Tomcat 6](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">javanotebook.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">2007<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">09<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">28<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border
="0">openejb_3_and_tomcat_6.html)
, by Dario Laverde, javanotebook.com</li>
</ul>
-<p><a name="Articles-1.0"></a></p>
+<p><a name="Articles-1.0"><<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>1.0</h2>
<ul>
-<li><a href="http://theserverside.com/articles/article.tss?l=ContainerDrivenTestingSeries">Containter Driven Testing with OpenEJB</a>
-, by N. Alex Rupp, theserverside.com</li>
-<li><a href="http://www.galatea.com/flashguides/tomcat-openejb1-unix">Using OpenEJB 1.0 with Tomcat on Linux</a>
+<li>[Containter Driven Testing with OpenEJB](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">theserverside.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">articles<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">article.tss?l=ContainerDrivenTestingSeries)
+, by N. Ale<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0"> Rupp, theserverside.com</li>
+<li>[Using OpenEJB 1.0 with Tomcat on Linu<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">](http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.galatea.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">flashguides<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">tomcat-openejb1-uni<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width=
"16" align="absmiddle" alt="" border="0">)
, by Lajos Moczar, galatea.com</li>
</ul>
-<p><a name="Articles-0.9.2"></a></p>
+<p><a name="Articles-0.9.2"><<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>0.9.2</h2>
<ul>
-<li><a href="http://ideoplex.com/id/768/getting-started-with-openejb">Getting Started With OpenEJB</a>
-, by Dwight Shih, ideoplex.com</li>
-<li><a href="http://ideoplex.com/id/828/a-simple-entity-bean-with-openejb">A Simple Entity Bean with OpenEJB</a>
-, by Dwight Shih, ideoplex.com</li>
-<li><a href="http://javaboutique.internet.com/reviews/openEJB/">OpenEJB: Modular, Configurable, and Customizable</a>
+<li>[Getting Started With OpenEJB](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">ideople<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">id<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">768<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="
0">getting-started-with-openejb)
+, by Dwight Shih, ideople<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.com</li>
+<li>[A Simple Entity Bean with OpenEJB](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">ideople<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">id<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">828<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" bor
der="0">a-simple-entity-bean-with-openejb)
+, by Dwight Shih, ideople<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">.com</li>
+<li>[OpenEJB: Modular, Configurable, and Customizable](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">javaboutique.internet.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">reviews<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">)
, by Benoy Jose, javaboutique.internet.com</li>
-<li><a href="http://www.javaworld.com/javaworld/jw-06-2005/jw-0613-ejb.html">Build, deploy, and test EJB components in just a few seconds</a>
+<li>[Build, deploy, and test EJB components in just a few seconds](http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.javaworld.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">javaworld<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">jw-06-2005<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">jw-0613-ejb.html)
, by Nader Aeinehchi, javaworld.com</li>
</ul>
-<p><a name="Articles-0.9.0"></a></p>
+<p><a name="Articles-0.9.0"><<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>0.9.0</h2>
<ul>
-<li><a href="http://www.onjava.com/pub/a/onjava/2003/02/12/ejb_tomcat.html">OpenEJB: EJB for Tomcat</a>
+<li>[OpenEJB: EJB for Tomcat](http:<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">www.onjava.com<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">pub<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">a<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">onjava<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" borde
r="0">2003<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">02<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">12<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">ejb_tomcat.html)
, by Jacek Laskowski, onjava.com</li>
</ul>
Modified: websites/staging/openejb/trunk/content/august2007.html
==============================================================================
--- websites/staging/openejb/trunk/content/august2007.html (original)
+++ websites/staging/openejb/trunk/content/august2007.html Tue Jul 12 18:02:27 2011
@@ -162,7 +162,7 @@ contributions from the community and ver
that regard.</p>
<p>Developer activity is up. We are delighted to have voted in a dedicated
-contributor, Karan Malhi, as a new committer and he has proudly excepted.
+contributor, Karan Malhi, as a new committer and he has proudly e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">cepted.
No CLA is on file yet.</p>
<p>User list activity overall remains low, though some new faces have started
Modified: websites/staging/openejb/trunk/content/basics---getting-things.html
==============================================================================
--- websites/staging/openejb/trunk/content/basics---getting-things.html (original)
+++ websites/staging/openejb/trunk/content/basics---getting-things.html Tue Jul 12 18:02:27 2011
@@ -152,7 +152,7 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="Basics-GettingThings-GettingStufffromtheContainer"></a></p>
+ <p><a name="Basics-GettingThings-GettingStufffromtheContainer"><<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>Getting Stuff from the Container</h1>
@@ -164,39 +164,39 @@
work.</p>
<ol>
-<li>java:comp/env is the spec defined namespace for lookup of any <a href="container-managed-resource.html">Container-Managed Resource</a></li>
-<li>java:comp/env is <em>empty</em> by default</li>
-<li>java:comp/env is <em>read-only</em> at runtime</li>
-<li>java:comp/env is populated by <a href="declaring-references.html">Declaring References</a>
+<li>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 is the spec defined namespace for lookup of any <a href="container-managed-resource.html">Container-Managed Resource</a></li>
+<li>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 is <em>empty</em> by default</li>
+<li>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 is <em>read-only</em> at runtime</li>
+<li>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 is populated by <a href="declaring-references.html">Declaring References</a>
to [Container-Managed Resource]
-via xml or annotation</li>
+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 or annotation</li>
<li>only <a href="container-managed-component.html">Container-Managed Component</a>
s, <em>not</em> their libraries, can [Declare References|Declaring References]
-via xml or annotation</li>
+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 or annotation</li>
<li>only <a href="container-managed-component.html">Container-Managed Component</a>
s, <em>not</em> their libraries, can get dependency injection of [Container-Managed Resource]
s</li>
<li>only <a href="container-managed-component.html">Container-Managed Component</a>
-s, <em>and</em> their libraries, may lookup from java:comp/env</li>
-<li>you <em>must</em> use the <em>no-arg</em> 'new InitialContext()' constructor to
-lookup something from java:comp/env</li>
-<li>the annotations and xml for <a href="declaring-references.html">Declaring References</a>
+s, <em>and</em> their libraries, may lookup from 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</li>
+<li>you <em>must</em> use the <em>no-arg</em> '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()' constructor to
+lookup something from 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</li>
+<li>the annotations and <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml for <a href="declaring-references.html">Declaring References</a>
are <em>identical</em> in functionality, both <em>always</em> configure lookup with
<em>optional</em> dependency injection</li>
</ol>
-<p><a name="Basics-GettingThings-Commonmistakes,misunderstandings,andmyths"></a></p>
+<p><a name="Basics-GettingThings-Commonmistakes,misunderstandings,andmyths"><<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>Common mistakes, misunderstandings, and myths</h2>
<ul>
-<li><em><em>"I tried it via annotation and it didn't work, so I used xml and then
+<li><em><em>"I tried it via annotation and it didn't work, so I used <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml and then
it did work"</em></em></li>
</ul>
<p>See rule 9. If one form worked and the other didn't, it means you simply
made a mistake in using one versus the other. Use what works for you, but
-understand both annotations or xml will work for either lookup or injection
+understand both annotations or <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml will work for either lookup or injection
if used correctly.</p>
<ul>
@@ -205,9 +205,9 @@ if used correctly.</p>
<p>See rule 9. Annotations are not just for injection, that is just how they
are typically used. Know that when you use an annotation for injection, it
-will <em>always</em> create an entry in java:comp/env. As well you can use the
+will <em>always</em> create an entry in 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. As well you can use the
annotation at the <em>class level</em> and it will cause no dependency injection
-and only the entry creation in java:comp/env.</p>
+and only the entry creation in 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.</p>
<ul>
<li><em><em>"I don't want injection, so I can't use the annotation"</em></em></li>
@@ -215,17 +215,17 @@ and only the entry creation in java:comp
<p>See rule 9 and the above. You can use the annotation at the <em>class level</em>
and it will cause no dependency injection and only the entry creation in
-java:comp/env.</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.</p>
<ul>
-<li><em><em>"I tried to list java:comp/env but it's empty?!"</em></em></li>
+<li><em><em>"I tried to list 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 but it's empty?!"</em></em></li>
</ul>
-<p>See rule 2 and rule 4. There will be nothing in java:comp/env unless you <a href="declaring-references.html">Declare a Reference</a>
+<p>See rule 2 and rule 4. There will be nothing in 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 unless you <a href="declaring-references.html">Declare a Reference</a>
to it. It does not matter if is a DataSource configured at the server
-level, etc. Nothing is bound into java:comp/env unless you explicitly
+level, etc. Nothing is bound into 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 unless you e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">plicitly
declare a reference to it. The Java EE 5 TCK (Technology Compatibility
-Kit) tests for this extensively and is a rule we cannot break. Java EE 6
+Kit) tests 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">tensively and is a rule we cannot break. Java EE 6
does finally offer some new namesaces (java:global, java:app, and
java:module) which will offer some great new options for more global-style
lookups.</p>
@@ -235,36 +235,36 @@ lookups.</p>
</ul>
<p>See rule 2 and the above. Just creating an EJB doesn't cause it to be
-added to java:comp/env. If a <a href="container-managed-component.html">Container-Managed Component</a>
+added to 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. If a <a href="container-managed-component.html">Container-Managed Component</a>
wants to lookup the EJB they must [Declare a Reference|Declaring References]
- to it via the @EJB annotionation or <ejb-local-ref> or <ejb-ref> in xml.
+ to it via the @EJB annotionation or <ejb-local-ref> or <ejb-ref> in <IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ml.
In Java EE 6, however, EJBs will be automatically bound to
-"java:global[/<app-name>]/<module-name>/<bean-name>[!<fully-qualified-interface-name>]"
+"java:global[<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><app-name>]<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><module-name><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0"><bean-name>[!<fully-qualified-interface-name>]"
and can be looked up without declaring a reference first.</p>
<ul>
-<li><em><em>"Which InitialContextFactory do I use for java:comp/env?"</em></em></li>
+<li><em><em>"Which InitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory do I use for 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?"</em></em></li>
</ul>
-<p>See rule 8. You are not allowed to use an InitialContextFactory for
-java:comp/env lookups. Setting an InitialContextFactory via
-'java.naming.factory.initial' in either System properties, InitialContext
+<p>See rule 8. You are not allowed to use an InitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory for
+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 lookups. Setting an InitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory via
+'java.naming.factory.initial' in either System 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
properties, or a jndi.properties file is illegal and will cause
-java:comp/env lookups to fail.</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 lookups to fail.</p>
<ul>
-<li><em><em>"My Client can't lookup the EJB from java:comp/env"</em></em></li>
+<li><em><em>"My Client can't lookup the EJB from 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"</em></em></li>
</ul>
<p>See rule 7. A plain, standalone, Java application cannot use
-java:comp/env. There is the official concept of a Java EE Application
+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. There is the official concept of a Java EE Application
Client which can be packaged in an ear and deployed into the Container. In
practice, most people find them restrictive, cumbersome, and hard to use
and are therefore rarely employed in "real world" projects. Most people
opt to use the non-standard, vendor-specific, approach to looking up EJBs
from their plain java clients. In OpenEJB this can be done via either the
-RemoteInitialContextFactory (for remote clients) or the
-LocalInitialContextFactory (for local clients of an embedded container).
+RemoteInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory (for remote clients) or the
+LocalInitialConte<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">tFactory (for local clients of an embedded container).
The JNDI names can be configured as <a href="jndi-names.html">shown here</a>
.</p>
Modified: websites/staging/openejb/trunk/content/basics---security.html
==============================================================================
--- websites/staging/openejb/trunk/content/basics---security.html (original)
+++ websites/staging/openejb/trunk/content/basics---security.html Tue Jul 12 18:02:27 2011
@@ -154,7 +154,7 @@
<DIV id="PageContent">
<p>This section is under construction, please check back later.</p>
-<p><a name="Basics-Security-RelatedDocuments"></a></p>
+<p><a name="Basics-Security-RelatedDocuments"><<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>Related Documents</h2>
@@ -163,14 +163,14 @@
<a href="security-annotations.html">Security Annotations</a>
- EJB3 related annotation based security.</p>
-<p><a name="Basics-Security-ServerSideSecurity"></a></p>
+<p><a name="Basics-Security-ServerSideSecurity"><<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>Server Side Security</h2>
<p>There's a few things that should be noted about security from the server
side perspective.</p>
-<p><a name="Basics-Security-SecurityPropagation"></a></p>
+<p><a name="Basics-Security-SecurityPropagation"><<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>Security Propagation</h3>
@@ -178,33 +178,33 @@ side perspective.</p>
<ol>
<li>Once a remote bean has been instantiated, from within the container, it
-inherits the entire security context, and all roles will be inherited the
+inherits the entire security 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, and all roles will be inherited the
same as the method where the bean is being looked up.</li>
-<li>Looking up a bean via an InitialContext, or via injection, will inherit
-the security context (user, roles, etc), thereby propagating the security
+<li>Looking up a bean via an 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, or via injection, will inherit
+the security 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 (user, roles, etc), thereby propagating the security
through to any container bean in the chain of method calls.</li>
-<li>No properties are allowed for the InitialContext, and you <em>MUST</em> be
+<li>No properties are allowed for 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 you <em>MUST</em> be
calling the no args constructor only. There are documents elsewhere that
-describe using the OpenEJB initial context factories and such, with
+describe using the OpenEJB initial 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 factories and such, with
usernames and passwords, etc; it should be noted that this method of using
the factories is OpenEJB specific, to facilitate non-standard clients not
running in an EJB container, etc.</li>
</ol>
-<p>For example, here is an EJB that returns another bean, through a remote
+<p>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, here is an EJB that returns another bean, through a remote
method call. In this case, the <em>OtherBean</em> instance, will have the same
security as <em>MyBean</em>, including the principal (username), roles, etc.</p>
-<pre><code>import javax.ejb.EJB;
-import javax.naming.InitialContext;
+<pre><code>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.EJB;
+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;
@EJB(name = "otherBean", beanInterface = IOtherBean.class)
public class MyBean
{
public IOtherBean getOtherBean()
{
- InitialContext context = new InitialContext();
- return (IOtherBean) context.lookup("java:comp/env/otherBean");
+ 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();
+ return (IOtherBean) 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">otherBean");
}
}
</code></pre>
Modified: websites/staging/openejb/trunk/content/basics---transactions.html
==============================================================================
--- websites/staging/openejb/trunk/content/basics---transactions.html (original)
+++ websites/staging/openejb/trunk/content/basics---transactions.html Tue Jul 12 18:02:27 2011
@@ -161,20 +161,20 @@ this is the default behaviour, and the s
differently, depending on the needs of your system, bean, or individual
methods of your beans.</p>
-<p><a name="Basics-Transactions-Participants"></a></p>
+<p><a name="Basics-Transactions-Participants"><<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>Participants</h2>
<p>Various components and parts of the EJB system can be part of a
-transaction. Examples are</p>
+transaction. 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 are</p>
<ol>
<li>Session bean</li>
<li>Message Driven Bean</li>
-<li>EntityManager (a.k.a. Persistence context)</li>
+<li>EntityManager (a.k.a. Persistence 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)</li>
</ol>
-<p><a name="Basics-Transactions-Behaviour"></a></p>
+<p><a name="Basics-Transactions-Behaviour"><<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>Behaviour</h2>
@@ -185,7 +185,7 @@ chain of calls that are participating in
1. If a bean that has started a transaction, uses another bean, that bean
will automatically use the same transaction as the calling bean.</p>
-<p><a name="Basics-Transactions-Configuration"></a></p>
+<p><a name="Basics-Transactions-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>
<h2>Configuration</h2>
@@ -194,16 +194,16 @@ transaction is started when a method is
@TransactionAttribute(value = TransactionAttributeType.X), where X is one
of...
1. REQUIRED - the default, which is to start a transaction if one does not
-exist, but to use the existing one if it has already been started.
+e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ist, but to use 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">isting one if it has already been started.
1. REQUIRES_NEW - the transaction is created on every call, and ends when
the call is completed. Beans don't partake in transactions created by
other parts of the system.
-1. MANDATORY - a transaction must always exist prior to the call, and it
+1. MANDATORY - a transaction must always e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ist prior to the call, and it
will be used. It is an error otherwise
1. NOT_SUPPORTED - component not included in the transaction
-1. SUPPORTS - transaction will be used if it exists, but will not be created
-if it does not exist
-1. NEVER - if a transaction exists, it is an error to call the method</p>
+1. SUPPORTS - transaction will be used if it e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ists, but will not be created
+if it does not e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ist
+1. NEVER - if a transaction e<IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/error.gif" height="16" width="16" align="absmiddle" alt="" border="0">ists, it is an error to call the method</p>
<p>@TransactionAttribute applies to both methods and entire beans. You may
set one type of transaction behaviour (as seen above) on the bean, and a
Modified: websites/staging/openejb/trunk/content/building-from-source.html
==============================================================================
--- websites/staging/openejb/trunk/content/building-from-source.html (original)
+++ websites/staging/openejb/trunk/content/building-from-source.html Tue Jul 12 18:02:27 2011
@@ -152,11 +152,11 @@
<P>
<!-- $BODY -->
<DIV id="PageContent">
- <p><a name="Buildingfromsource-Buildingfromsource"></a></p>
+ <p><a name="Buildingfromsource-Buildingfromsource"><<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>Building from source</h1>
-<p><a name="Buildingfromsource-Checkingoutthesource"></a></p>
+<p><a name="Buildingfromsource-Checkingoutthesource"><<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>Checking out the source</h3>
@@ -165,10 +165,10 @@
<pre><code> svn checkout
</code></pre>
-<p>https://svn.apache.org/repos/asf/openejb/trunk/openejb-eclipse-plugin
+<p>https:<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
="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" height="16" width="16" align="absmiddle" alt="" border="0">openejb-eclipse-plugin
openejb-eclipse-plugin</p>
-<p><a name="Buildingfromsource-Buildingthesource"></a></p>
+<p><a name="Buildingfromsource-Buildingthesource"><<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>Building the source</h3>
@@ -181,7 +181,7 @@ Maven 2.0.7). To run the build, issue th
<p>You should be aware that this will download any dependencies, including a
copy of Eclipse. This will take a while for your first build.</p>
-<p><a name="Buildingfromsource-ImportingtheplugincodeintoanEclipseworkspace"></a></p>
+<p><a name="Buildingfromsource-ImportingtheplugincodeintoanEclipseworkspace"><<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>Importing the plugin code into an Eclipse workspace</h3>