geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r917744 [22/31] - in /websites/production/geronimo/content: GMOxDOC20/ GMOxDOC20/geronimo-eclipse-plugin-installation-instructions.data/ cache/
Date Tue, 29 Jul 2014 00:52:21 GMT
Modified: websites/production/geronimo/content/GMOxDOC20/openejb-jarxml.html
==============================================================================
--- websites/production/geronimo/content/GMOxDOC20/openejb-jarxml.html (original)
+++ websites/production/geronimo/content/GMOxDOC20/openejb-jarxml.html Tue Jul 29 00:52:18 2014
@@ -23,6 +23,7 @@
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
   <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  <script src='http://geronimo.apache.org/resources/highlighter/scripts/shBrushPlain.js' type='text/javascript'></script>
   
   <script type="text/javascript">
   SyntaxHighlighter.defaults['toolbar'] = false;
@@ -95,39 +96,54 @@
 
       <div class="pagecontent">
         <div class="wiki-content">
-          <div class="wiki-content maincontent"><style type="text/css">/*<![CDATA[*/
-table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color: #f0f0f0}
-table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
-table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
-table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
-table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
-table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}
+          <div class="wiki-content maincontent">    
+<div class="atb-scrollbar-macro">
+    <div class="prev">
+        <a shape="rect" href="migrating-to-apache-geronimo.html" rel="prev">
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-left">Previous</span>
+                                <span class="title">Migrating to Apache Geronimo</span>
+            </a>
 
-/*]]>*/</style><div class="Scrollbar"><table class="ScrollbarTable"><tr><td colspan="1" rowspan="1" class="ScrollbarPrevIcon"><a shape="rect" href="migrating-to-apache-geronimo.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/back_16.gif" width="16" height="16"></a></td><td colspan="1" rowspan="1" class="ScrollbarPrevName" width="33%"><a shape="rect" href="migrating-to-apache-geronimo.html">Migrating to Apache Geronimo</a>&#160;</td><td colspan="1" rowspan="1" class="ScrollbarParent" width="33%"><sup><a shape="rect" href="documentation.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/up_16.gif" width="8" height="8"></a></sup><a shape="rect" href="documentation.html">Documentation</a></td><td colspan="1" rowspan="1" class="ScrollbarNextName" width="33%">&#160;<a shape="rect" href="quick-start-apache-geronimo-for-the-impatient.html">Quick start - Apache Geronimo for the impatient</a></td><td colspan="1
 " rowspan="1" class="ScrollbarNextIcon"><a shape="rect" href="quick-start-apache-geronimo-for-the-impatient.html"><img align="middle" border="0" src="https://cwiki.apache.org/confluence/images/icons/forwd_16.gif" width="16" height="16"></a></td></tr></table></div>
-<p><a shape="rect" name="openejb-jar.xml-top"></a></p>
+    </div>
+    <div class="parent">
+                    <a shape="rect" href="documentation.html" rel="parent">
+                                            <span class="aui-icon aui-icon-small atb-icon-arrow-up">Up</span>
+                                        <span class="title">Documentation</span>
+                </a>
+
+            </div>
+    <div class="next">
+        <a shape="rect" href="quick-start-apache-geronimo-for-the-impatient.html" rel="next">
+                <span class="title">Quick start - Apache Geronimo for the impatient</span>
+                                    <span class="aui-icon aui-icon-small atb-icon-arrow-right">Next</span>
+                            </a>
+
+    </div>
+</div>
+<p><span class="confluence-anchor-link" id="openejb-jar.xml-top"></span></p>
 
 <p>This article provides a great deal of information for users to get an understanding of Geronimo deployment plans for EJBs.  This article covers the structure, overview and elements of EJB deployment plans.  This topic is a broad area to discuss and this page should be updated constantly with the future enhancement of Geronimo. Though this document is limited in scope, it addresses the deployment plans of openejb-jar.xml in depth which will help the user to get an understanding of what each element does in the openejb-jar.xml. The article covers how applications can refer to different resources and handling such scenarios. </p>
 
 <p>This article is organized into the following sections :</p>
-<ul><li><a shape="rect" href="#openejb-jar.xml-1.0BasicstepstoDeployEJBinGeronimo">1.0 Basic steps to Deploy EJB in Geronimo</a></li><li><a shape="rect" href="#openejb-jar.xml-2.0DescribingtheGeronimodeploymentplanforEJB">2.0 Describing the Geronimo deployment plan for EJB</a>
-	<ul><li><a shape="rect" href="#openejb-jar.xml-2.1GeronimoEJBDeploymentPlanoverview">2.1 Geronimo EJB Deployment Plan overview</a>
-		<ul><li><a shape="rect" href="#openejb-jar.xml-2.1.1TypicalcontentsofGeronimoEJBDeploymentPlan">2.1.1 Typical contents of Geronimo EJB Deployment Plan</a></li><li><a shape="rect" href="#openejb-jar.xml-2.1.2GeronimoEJBDeploymentPlanoverview">2.1.2 Geronimo EJB Deployment Plan overview</a></li><li><a shape="rect" href="#openejb-jar.xml-2.1.3GeronimoDeploymentpathsettings">2.1.3 Geronimo Deployment path settings</a></li></ul>
-		</li><li><a shape="rect" href="#openejb-jar.xml-2.2Workingoutdeploymentplanswithsamples">2.2 Working out deployment plans with samples</a>
-		<ul><li><a shape="rect" href="#openejb-jar.xml-2.2.1DeployingJARcontainingSimpleHelloworldEJB">2.2.1 Deploying JAR containing Simple Helloworld EJB</a>
-			<ul><li><a shape="rect" href="#openejb-jar.xml-Stepstodeployingthesample">Steps to deploying the sample</a></li><li><a shape="rect" href="#openejb-jar.xml-RunningtheClienttotesttheHelloWorldEJBservice">Running the Client to test the HelloWorld EJB service</a></li></ul>
-			</li><li><a shape="rect" href="#openejb-jar.xml-2.2.2WorkingwithdifferentEJBtypes">2.2.2 Working with different EJB types</a>
-			<ul><li><a shape="rect" href="#openejb-jar.xml-CommonsettingsforCMPEntitybeans">Common settings for CMP Entity beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBSessionbeans">Common Settings for EJB Session beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBEntitybeans">Common Settings for EJB Entity beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBMessageBeans">Common Settings for EJB Message Beans</a></li></ul>
+<ul><li><a shape="rect" href="#openejb-jar.xml-1.0BasicstepstoDeployEJBinGeronimo">#1.0 Basic steps to Deploy EJB in Geronimo</a></li><li><a shape="rect" href="#openejb-jar.xml-2.0DescribingtheGeronimodeploymentplanforEJB">#2.0 Describing the Geronimo deployment plan for EJB</a>
+	<ul><li><a shape="rect" href="#openejb-jar.xml-2.1GeronimoEJBDeploymentPlanoverview">#2.1 Geronimo EJB Deployment Plan overview</a>
+		<ul><li><a shape="rect" href="#openejb-jar.xml-2.1.1TypicalcontentsofGeronimoEJBDeploymentPlan">#2.1.1 Typical contents of Geronimo EJB Deployment Plan</a></li><li><a shape="rect" href="#openejb-jar.xml-2.1.2GeronimoEJBDeploymentPlanoverview">#2.1.2 Geronimo EJB Deployment Plan overview</a></li><li><a shape="rect" href="#openejb-jar.xml-2.1.3GeronimoDeploymentpathsettings">#2.1.3 Geronimo Deployment path settings</a></li></ul>
+		</li><li><a shape="rect" href="#openejb-jar.xml-2.2Workingoutdeploymentplanswithsamples">#2.2 Working out deployment plans with samples</a>
+		<ul><li><a shape="rect" href="#openejb-jar.xml-2.2.1DeployingJARcontainingSimpleHelloworldEJB">#2.2.1 Deploying JAR containing Simple Helloworld EJB</a>
+			<ul><li><a shape="rect" href="#openejb-jar.xml-Stepstodeployingthesample">#Steps to deploying the sample</a></li><li><a shape="rect" href="#openejb-jar.xml-RunningtheClienttotesttheHelloWorldEJBservice">#Running the Client to test the HelloWorld EJB service</a></li></ul>
+			</li><li><a shape="rect" href="#openejb-jar.xml-2.2.2WorkingwithdifferentEJBtypes">#2.2.2 Working with different EJB types</a>
+			<ul><li><a shape="rect" href="#openejb-jar.xml-CommonsettingsforCMPEntitybeans">#Common settings for CMP Entity beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBSessionbeans">#Common Settings for EJB Session beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBEntitybeans">#Common Settings for EJB Entity beans</a></li><li><a shape="rect" href="#openejb-jar.xml-CommonSettingsforEJBMessageBeans">#Common Settings for EJB Message Beans</a></li></ul>
 			</li></ul>
-		</li><li><a shape="rect" href="#openejb-jar.xml-2.3ResolvingReferencesfromEJB">2.3 Resolving References from EJB</a>
+		</li><li><a shape="rect" href="#openejb-jar.xml-2.3ResolvingReferencesfromEJB">#2.3 Resolving References from EJB</a>
 		<ul><li>
-			<ul><li><a shape="rect" href="#openejb-jar.xml-ResolvingJMSResources">Resolving JMS Resources</a></li><li><a shape="rect" href="#openejb-jar.xml-ResolvingContainerManagedRelationships">Resolving Container-Managed Relationships</a></li></ul>
+			<ul><li><a shape="rect" href="#openejb-jar.xml-ResolvingJMSResources">#Resolving JMS Resources</a></li><li><a shape="rect" href="#openejb-jar.xml-ResolvingContainer-ManagedRelationships">#Resolving Container-Managed Relationships</a></li></ul>
 			</li></ul>
 		</li></ul>
 	</li></ul>
 
 
 
-<h3><a shape="rect" name="openejb-jar.xml-1.0BasicstepstoDeployEJBinGeronimo"></a>1.0 Basic steps to Deploy EJB in Geronimo</h3>
+<h3 id="openejb-jar.xml-1.0BasicstepstoDeployEJBinGeronimo">1.0 Basic steps to Deploy EJB in Geronimo</h3>
 
 <p>Typically, there are several steps that need to be taken in order to deploy EJBs in Geronimo :</p>
 
@@ -136,52 +152,52 @@ table.ScrollbarTable td.ScrollbarNextIco
 
 <p>Use the deployment tool described in deployment plan "The Deploy Tool" to deploy the EJB JAR (or an EAR containing the EJB JAR) into the server or else use the Geronimo web console for it.</p>
 
-<h3><a shape="rect" name="openejb-jar.xml-2.0DescribingtheGeronimodeploymentplanforEJB"></a>2.0 Describing the Geronimo deployment plan for EJB</h3>
+<h3 id="openejb-jar.xml-2.0DescribingtheGeronimodeploymentplanforEJB">2.0 Describing the Geronimo deployment plan for EJB</h3>
 
 <p>Geronimo deployment plan for an EJB JAR is an XML document called "openejb-jar.xml". This document is defined by the openejb-jar-2.0.xsd schema and can be found in the &lt;geronimo-home&gt;/schema/ subdirectory of the main Geronimo installation directory. The deployment plan for an EJB JAR may be included in the EJB JAR, in which case it should be named META-INF/openejb-jar.xml or included in an EAR (but outside of the EJB JAR) and referenced by an alt-dd element of the EAR deployment plan or else saved as a separate file and provided to the deploy tool when the EJB JAR module is deployed (though this does not work when the EJB JAR is in an EAR).</p>
 
 <p>The deployment plan should always use the OpenEJB namespace, and it typically requires elements from the Geronimo Naming, Geronimo Security, and Geronimo System namespaces. Additionally, it has a required attribute to identify its configuration name, and an optional attribute to select a parent configuration. A typical deployment for openejb-jar.xml can be presented as follows:</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;openejb-jar
- 	xmlns:openejb="http://www.openejb.org/xml/ns/openejb-jar-2.1"
- 	targetNamespace="http://www.openejb.org/xml/ns/openejb-jar-2.1"
- 	xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
- 	xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
- 	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
- 	xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
- 	version="1.0"&gt;
+ 	xmlns:openejb=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+ 	targetNamespace=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+ 	xmlns:naming=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+ 	xmlns:security=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+ 	xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;
+ 	xmlns:pkgen=&quot;http://www.openejb.org/xml/ns/pkgen-2.0&quot;
+ 	version=&quot;1.0&quot;&gt;
  	...
  &lt;/openejb-jar&gt;
 ]]></script>
 </div></div>
 
-<p><b>xmlns</b></p>
+<p><strong>xmlns</strong></p>
 
 <p>The main namespace for the deployment plan, which should always be <a shape="rect" class="external-link" href="http://www.openejb.org/xml/ns/openejb-jar-2.1" rel="nofollow">http://www.openejb.org/xml/ns/openejb-jar-2.1</a></p>
 
-<p><b>xmlns:naming</b></p>
+<p><strong>xmlns:naming</strong></p>
 
 <p>A secondary namespace, used to identify the common elements for resolving EJB references, resource references, and Web services references. If any of those need to be resolved in the deployment plan, this attribute should be present, and should be set to <a shape="rect" class="external-link" href="http://geronimo.apache.org/xml/ns/naming-1.1">http://geronimo.apache.org/xml/ns/naming-1.1</a></p>
 
-<p><b>xmlns:security</b></p>
+<p><strong>xmlns:security</strong></p>
 
 <p>A secondary namespace, used to identify the common elements for security configuration. If there are any security settings in the deployment plan, this attribute should be present, and should be set to <a shape="rect" class="external-link" href="http://geronimo.apache.org/xml/ns/security-1.1">http://geronimo.apache.org/xml/ns/security-1.1</a></p>
 
-<p><b>xmlns:sys</b></p>
+<p><strong>xmlns:sys</strong></p>
 
 <p>A secondary namespace, used to identify the common elements for common libraries and module-scoped services. If there are any of those present in the deployment plan, this attribute should be present, and should be set to <a shape="rect" class="external-link" href="http://geronimo.apache.org/xml/ns/deployment-1.1">http://geronimo.apache.org/xml/ns/deployment-1.1</a></p>
 
-<p><b>xmlns:pkgen</b></p>
+<p><strong>xmlns:pkgen</strong></p>
 
 <p>A secondary namespace, used to identify the common elements for configuring automatic primary key generation for CMP entity beans (such as, using a sequence or auto-increment column). If there are any primary key generators present in the deployment plan, this attribute should be present, and should be set to <a shape="rect" class="external-link" href="http://www.openejb.org/xml/ns/pkgen-2.0" rel="nofollow">http://www.openejb.org/xml/ns/pkgen-2.0</a></p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"&gt;
-    &lt;dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;&gt;
+    &lt;dep:environment xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
         &lt;dep:moduleId&gt;
             &lt;dep:groupId&gt;default&lt;/dep:groupId&gt;
             &lt;dep:artifactId&gt;BankEJB&lt;/dep:artifactId&gt;
@@ -316,34 +332,34 @@ table.ScrollbarTable td.ScrollbarNextIco
 ]]></script>
 </div></div>
 
-<h3><a shape="rect" name="openejb-jar.xml-2.1GeronimoEJBDeploymentPlanoverview"></a>2.1 Geronimo EJB Deployment Plan overview</h3>
+<h3 id="openejb-jar.xml-2.1GeronimoEJBDeploymentPlanoverview">2.1 Geronimo EJB Deployment Plan overview</h3>
 
 <p>In a EJB deployment plan, the main attributes defined in the top.</p>
 
-<p><b>configIdrequiting</b></p>
+<p><strong>configIdrequiting</strong></p>
 
 <p>A unique name identifying this module. If deployed as a standalone EJB JAR, this name is used to identify the module to the deployment tool (to start, stop, undeploy, or redeploy the EJB JAR).</p>
 
-<p><b>parentId</b></p>
+<p><strong>parentId</strong></p>
 
 <p>Identifies the parent configuration for this EJB JAR (the value specified here should match the configId for that module). If deployed as a standalone EJB JAR, this can be used to make the EJB JAR depend on another module such as another standalone EJB JAR or a J2EE Connector (or it should otherwise be omitted or set to the usual parent for J2EE modules, geronimo/j2ee-server/1.0/car). </p>
 
-<p><b>inverseClassloading</b></p>
+<p><strong>inverseClassloading</strong></p>
 
 <p>If set to true, the class loader for the EJB JAR tries to load a class before checking whether the class is available from its parent class loader. configId<br clear="none">
 A unique name identifying this module. If deployed as a standalone EJB JAR, this name is used to identify the module to the deployment tool (to start, stop, undeploy, or redeploy the EJB JAR).</p>
 
-<p><b>parentId</b></p>
+<p><strong>parentId</strong></p>
 
 <p>Identifies the parent configuration for this EJB JAR (the value specified here should match the configId for that module). If deployed as a standalone EJB JAR, this can be used to make the EJB JAR depend on another module such as another standalone EJB JAR or a J2EE Connector (or it should otherwise be omitted or set to the usual parent for J2EE modules, geronimo/j2ee-server/1.0/car). If deployed as part of an EAR this is usually not necessary, as EAR configuration will be the parent of this module.</p>
 
-<p><b>inverseClassloading</b></p>
+<p><strong>inverseClassloading</strong></p>
 
 <p>If set to true, the class loader for the EJB JAR tries to load a class before checking whether the class is available from its parent class loader. If omitted or set to false, the normal (check parent first) class loader delegation behavior is used </p>
 
-<h4><a shape="rect" name="openejb-jar.xml-2.1.1TypicalcontentsofGeronimoEJBDeploymentPlan"></a>2.1.1 Typical contents of Geronimo EJB Deployment Plan</h4>
+<h4 id="openejb-jar.xml-2.1.1TypicalcontentsofGeronimoEJBDeploymentPlan">2.1.1 Typical contents of Geronimo EJB Deployment Plan</h4>
 
-<p><b>There are some typical contents of the Geronimo EJB Deployment Plan that have been identified and are described below</b></p>
+<p><strong>There are some typical contents of the Geronimo EJB Deployment Plan that have been identified and are described below</strong></p>
 
 <ol><li>Security settings indicating which users and roles should be able to access secure EJBs or secure EJB methods.</li><li>The details to resolving EJB references, resource references, and Web services references declared by EJBs in the<br clear="none">
   ejb-jar.xml deployment descriptor. This isn't always necessary for EJB references (which may be resolved using an <br clear="none">
@@ -353,36 +369,36 @@ A unique name identifying this module. I
 <p>For the simplest EJB JARs these settings may not be required or the defaults may be sufficient, but in most cases the Geronimo EJB deployment plan will need a substantial amount of  information.<br clear="none">
 As usual in other Geronimo deployment plans open-ejb.jar has specific structure and element followed in an order.</p>
 
-<h4><a shape="rect" name="openejb-jar.xml-2.1.2GeronimoEJBDeploymentPlanoverview"></a>2.1.2 Geronimo EJB Deployment Plan overview</h4>
+<h4 id="openejb-jar.xml-2.1.2GeronimoEJBDeploymentPlanoverview">2.1.2 Geronimo EJB Deployment Plan overview</h4>
 
 <p>The elements in the classloader-infoGroup are used to customize the EJB JAR's class. There are four elements that need to be discussed under class path settings.</p>
 
-<p><b>import</b></p>
+<p><strong>import</strong></p>
 
 <p>Refers to another configuration deployed in the server. That configuration will be added as a parent of this one (a configuration may have more than one parent). The main effect is that the class loader for the EJB JAR will add the class loader for that configuration as a parent. Additionally, the parent configuration will be started before the EJB JAR.</p>
 
-<p><b>dependency</b></p>
+<p><strong>dependency</strong></p>
 
 <p>Adds a third-party library to the class path for the EJB JAR. Any common libraries used in this manner should be located in a subdirectory of the repository/ directory of the main Geronimo installation.</p>
 
-<p><b>hidden-classes</b></p>
+<p><strong>hidden-classes</strong></p>
 
 <p>Lists packages or classes that may be in a parent class loader, but should not be exposed from there to the EJB JAR. This is typically used when the EJB JAR wants to use a different version of a library that one of its parent configurations (or Geronimo itself) uses.  </p>
 
-<p><b>non-overridable-classes</b></p>
+<p><strong>non-overridable-classes</strong></p>
 
 <p>Lists packages or classes that the EJB JAR should always load from a parent class loader, and never load from its own class loader. This might be used to force an EJB to share the same instance of a common library with other applications or modules, even if they each include it in their own class path.</p>
 
-<p><b>filter</b><br clear="none">
+<p><strong>filter</strong><br clear="none">
 Used to list classes or packages. The format is a comma-separated list of packages or fully-qualified class names (for example: javax.servlet,javax.ejb).</p>
 
 <p>When considering the JMS and MDB Sample given(link the sample application) and it does not have any dependencies and imports.</p>
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
-    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
-    xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
-    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+    xmlns:naming=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+    xmlns:security=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+    xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;samples&lt;/sys:groupId&gt;
@@ -412,13 +428,13 @@ Used to list classes or packages. The fo
 
 <p>Here the dependencies are defined here references the sample JMS resource since the application and activemq-broker which is in /repository/activemq-broker/1.1/rar </p>
 
-<h3><a shape="rect" name="openejb-jar.xml-2.2Workingoutdeploymentplanswithsamples"></a>2.2 Working out deployment plans with samples</h3>
+<h3 id="openejb-jar.xml-2.2Workingoutdeploymentplanswithsamples">2.2 Working out deployment plans with samples</h3>
 
-<h4><a shape="rect" name="openejb-jar.xml-2.2.1DeployingJARcontainingSimpleHelloworldEJB"></a>2.2.1 Deploying JAR containing Simple Helloworld EJB</h4>
+<h4 id="openejb-jar.xml-2.2.1DeployingJARcontainingSimpleHelloworldEJB">2.2.1 Deploying JAR containing Simple Helloworld EJB</h4>
 <p>This section will cover Geronimo v1.1 deployment plan for the simple helloworld EJB.<br clear="none">
 Here is the folder structure for the above simple application.Sample Application is available to download here<br clear="none">
-<span class="error">[HelloWorld ejb Sample|^HelloWorld.tar.gz]</span></p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<a shape="rect" class="unresolved" href="#">HelloWorld ejb Sample</a></p>
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 HelloWorld
    |_ejbModule
@@ -450,45 +466,44 @@ HelloWorld
 <pre></pre>
 </div></div>
 
-<h4><a shape="rect" name="openejb-jar.xml-Stepstodeployingthesample"></a>Steps to deploying the sample</h4>
+<h4 id="openejb-jar.xml-Stepstodeployingthesample">Steps to deploying the sample</h4>
 
 <p>There are two ways in which the sample can be deployed :</p>
 
-<p>1. The sample can be built from scratch using the build.xml and editing the &lt;geronimo_home&gt; as your  directory. Obtain the helloworld-ejbs.jar from the <b>dist</b> directory and use the Geronimo web console. Browse for the helloworld-ejbs.jar file and click on the <b>Install</b> button.</p>
+<p>1. The sample can be built from scratch using the build.xml and editing the &lt;geronimo_home&gt; as your  directory. Obtain the helloworld-ejbs.jar from the <strong>dist</strong> directory and use the Geronimo web console. Browse for the helloworld-ejbs.jar file and click on the <strong>Install</strong> button.</p>
 
 <p>2.Use the following command line code to deploy the application.</p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-]]></script>
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[]]></script>
 </div></div>
 
-<h4><a shape="rect" name="openejb-jar.xml-RunningtheClienttotesttheHelloWorldEJBservice"></a>Running the Client to test the HelloWorld EJB service</h4>
+<h4 id="openejb-jar.xml-RunningtheClienttotesttheHelloWorldEJBservice">Running the Client to test the HelloWorld EJB service</h4>
 
 <p>org.geronimo.ejbsample.client.HelloWorld.java is the client code for the above application. Set the necessary class path to run client in your environment.<br clear="none">
-<font color="white"></font></p><div class="preformatted panel" style="background-color: #000000;border-style: solid;border-width: 1px;"><div class="preformattedContent panelContent" style="background-color: #000000;">
+<span style="color: white;"></span></p><div class="preformatted panel" style="background-color: #000000;border-style: solid;border-width: 1px;"><div class="preformattedContent panelContent" style="background-color: #000000;">
 <pre>&lt; &lt;app-home&gt;/org/geronimo/ejbsampleclient&gt; &gt;java HelloWorld
 </pre>
 </div></div><br clear="none">
 You will see the "Hello world" print on your command line<br clear="none">
-<font color="white"></font><div class="preformatted panel" style="background-color: #000000;border-style: solid;border-width: 1px;"><div class="preformattedContent panelContent" style="background-color: #000000;">
+<span style="color: white;"></span><div class="preformatted panel" style="background-color: #000000;border-style: solid;border-width: 1px;"><div class="preformattedContent panelContent" style="background-color: #000000;">
 <pre>HelloWorld/org/geronimo/ejbsampleclient&gt;
  	Hello World!
 </pre>
 </div></div>
 
-<h3><a shape="rect" name="openejb-jar.xml-2.2.2WorkingwithdifferentEJBtypes"></a>2.2.2 Working with different EJB types</h3>
+<h3 id="openejb-jar.xml-2.2.2WorkingwithdifferentEJBtypes">2.2.2 Working with different EJB types</h3>
 
 
-<h4><a shape="rect" name="openejb-jar.xml-CommonsettingsforCMPEntitybeans"></a>Common settings for CMP Entity beans</h4>
+<h4 id="openejb-jar.xml-CommonsettingsforCMPEntitybeans">Common settings for CMP Entity beans</h4>
 
 <p>There are few settings for CMP Entity beans in a Geronimo EJB deployment plan and following are element we consider to set values.</p>
 
-<p><b>cmp-connection-factory</b></p>
+<p><strong>cmp-connection-factory</strong></p>
 
 <p>This is specifies a JDBC connection pool that should be used by CMP entity beans to connect to the database. There are several styles available to refer to the connection pool.The cmp-connection-factory element points to a database pool using the same syntax a resource reference uses. There are several ways to identify the database pool. One is to specify the component by a simple name (resource-link), while the other is to use a more complex <br clear="none">
 ObjectName (target-name, or the individual components in the objectNameGroup). The resource-link handles most common resource situations (JDBC pools deployed as J2EE connectors in the same application or deployed standalone in the same server) while the target-name or objectNameGroup can be used for any </p>
 
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;cmp-connection-factory&gt;
  	&lt;resource-link&gt;BankPool&lt;/resource-link&gt;
@@ -496,50 +511,50 @@ ObjectName (target-name, or the individu
 ]]></script>
 </div></div>
 
-<p><b>ejb-ql-compiler-factory</b></p>
+<p><strong>ejb-ql-compiler-factory</strong></p>
 
 <p>The name of a class that knows how to translate EJB-QL queries into SQL statements for a particular database product. This must be the fully-qualified class name of a class that implements org.tranql.sql.EJBQLCompilerFactory. The default is for the Derby database, though this may work for other database products too.</p>
 
-<p><b>db-syntax-factory</b></p>
+<p><strong>db-syntax-factory</strong></p>
 
 <p>The name of a class that knows how to customize CMP SQL statements for a particular database product. This must be the fully-qualified class name of a class that implements org.tranql.sql.DBSyntaxFactory. The default is for the Derby database, though this may work for other database products too.</p>
 
-<p><b>enforce-foreign-key-constraints</b></p>
+<p><strong>enforce-foreign-key-constraints</strong></p>
 
 <p>This is effectively a true/false element &#8211; if it's present that means true, and if it's not present, that means false. If true, then Geronimo will make a special effort to execute insert, update, and delete statements in an order consistent with the foreign keys between tables. If false, then Geronimo will execute statements in any order, though still within the same transaction. This element should be present if the underlying database enforces foreign keys at the moment a statement is executed instead of at the end of the transaction.</p>
 
-<h4><a shape="rect" name="openejb-jar.xml-CommonSettingsforEJBSessionbeans"></a>Common Settings for EJB Session beans</h4>
+<h4 id="openejb-jar.xml-CommonSettingsforEJBSessionbeans">Common Settings for EJB Session beans</h4>
 
 <p>The following elements mainly need to be set up :</p>
 
-<p><b>ejb-name</b></p>
+<p><strong>ejb-name</strong></p>
 
 <p>Identifies the EJB that these settings apply to. This should match the ejb-name for the EJB in ejb-jar.xml.</p>
 
-<p><b>jndi-name</b></p>
+<p><strong>jndi-name</strong></p>
 
 <p>The Home interface for the EJB is registered in JNDI at the address specified here. This global JNDI name is used by application clients to connect to this EJB, as well as by CORBA clients if this EJB is exposed via CORBA. It is only meaningful if the EJB has a (remote) Home interface.</p>
 
-<p><b>local-jndi-name</b></p>
+<p><strong>local-jndi-name</strong></p>
 
 <p>The LocalHome interface for the EJB is registered in JNDI at the address specified here. It is only meaningful if the EJB has a LocalHome interface. Note that the official Geronimo distributions do not allow access to local EJBs via JNDI (making this setting irrelevant), but a custom Geronimo build may.</p>
 
-<p><b>tssGroup</b></p>
+<p><strong>tssGroup</strong></p>
 
 <p>This is a set of elements that contains CORBA security settings, for EJBs exposed as CORBA objects. It is not necessary if the EJB will not be accessed via CORBA. </p>
 
-<p><b>jndiEnvironmentRefsGroup</b></p>
+<p><strong>jndiEnvironmentRefsGroup</strong></p>
 
 <p>A set of elements that handle resolving references declared by the current Session bean.For an example  EJB references, Resource references, and Web Service references can be handled.</p>
 
 <p>The following openejb-jar.xml has taken from the <a shape="rect" class="external-link" href="http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html">http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html</a><br clear="none">
 This example is using a EJB session bean and how it has implemented inside the openejb-jar.xml</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"&gt;
-    &lt;dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;&gt;
+    &lt;dep:environment xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
         &lt;dep:moduleId&gt;
             &lt;dep:groupId&gt;default&lt;/dep:groupId&gt;
             &lt;dep:artifactId&gt;BankEJB&lt;/dep:artifactId&gt;
@@ -675,9 +690,9 @@ This example is using a EJB session bean
 </div></div>
 
 <p>The following piece of code has excerpt from above openejb-jar.xml and shows how the session bean is defined.<br clear="none">
-BankManagerFacadeBean is Stateless Session Bean which is acting as a service class for different application clients.It's <b>jndi-name</b> attribute is assigned to <b>org.apache.geronimo.samples.bank.ejb.BankManagerFacadeBean</b> Then the <b>&lt;ejb-ref&gt;</b> tag is used to refer the other dependent ejbs.In this case <b>&lt;ejb-ref&gt;</b> tag has two sub elements which are <b>&lt;ref-name&gt;</b> and the <b>&lt;ejb-name&gt;</b> </p>
+BankManagerFacadeBean is Stateless Session Bean which is acting as a service class for different application clients.It's <strong>jndi-name</strong> attribute is assigned to <strong>org.apache.geronimo.samples.bank.ejb.BankManagerFacadeBean</strong> Then the <strong>&lt;ejb-ref&gt;</strong> tag is used to refer the other dependent ejbs.In this case <strong>&lt;ejb-ref&gt;</strong> tag has two sub elements which are <strong>&lt;ref-name&gt;</strong> and the <strong>&lt;ejb-name&gt;</strong> </p>
 
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;session&gt;
     &lt;ejb-name&gt;BankManagerFacadeBean&lt;/ejb-name&gt;
@@ -697,32 +712,32 @@ BankManagerFacadeBean is Stateless Sessi
 &lt;/session&gt;
 ]]></script>
 </div></div>
-<h4><a shape="rect" name="openejb-jar.xml-CommonSettingsforEJBEntitybeans"></a>Common Settings for EJB Entity beans</h4>
+<h4 id="openejb-jar.xml-CommonSettingsforEJBEntitybeans">Common Settings for EJB Entity beans</h4>
 
 <p>Entity Beans settings can include JNDI names used by remote clients,CMP settings, and haven't tested COBRA configurations  and resolving references.There are set of elements to be configured in the openejb-jar.xml.The following code piece is excerpt from the Sample Application and which shows how entity bean has been implemented in the deployment plans.</p>
 
-<p><b>ejb-name</b> </p>
+<p><strong>ejb-name</strong> </p>
 
 <p>This ejb-name element identifies the EJB that these settings apply to. This should match the ejb-name for the EJB in ejb-jar.xml</p>
 
-<p><b>jndi-name</b>  </p>
+<p><strong>jndi-name</strong>  </p>
 
 <p>The Home interface for the EJB is registered in JNDI at the address specified here. This global JNDI name is used by application clients to connect to this EJB.It is only meaningful if the EJB has a (remote) Home interface.</p>
 
-<p><b>local-jndi-name</b> </p>
+<p><strong>local-jndi-name</strong> </p>
 
 <p>The LocalHome interface for the EJB is registered in JNDI at the address specified here. It is only meaningful if the EJB has a LocalHome interface. Note that the official Geronimo distributions do not allow access to local EJBs via JNDI (making this setting irrelevant), but a custom Geronimo build may.</p>
 
-<p><b>tssGroup</b> </p>
+<p><strong>tssGroup</strong> </p>
 
 <p>This is a set of elements that contains CORBA security settings, for EJBs exposed as CORBA objects. (It has not Tested this elements in practically)</p>
 
-<p><b>jndiEnvironmentRefsGroup</b> </p>
+<p><strong>jndiEnvironmentRefsGroup</strong> </p>
 
 <p>This is a set of elements that handle resolving references declared by the current Session bean (including EJB references, Resource references, and Web Service references)and this group is common to all EJB types.</p>
 
 
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 ...
 &lt;entity&gt;
@@ -737,41 +752,41 @@ BankManagerFacadeBean is Stateless Sessi
 ]]></script>
 </div></div> 
 
-<p>Considering the above piece of code under the <b>&lt;entity&gt;</b> tag <b>&lt;ejb name&gt;</b> is assigned for the relevant EJB entity bean.Since this <b>ExchangeRate</b> has a LocalHome interface <b>&lt;local-jndi-name&gt;</b> the EJB is registered in JNDI at the address specified as <b>ExchangeRate</b> .Under the <b>&lt;resource-ref&gt;</b> tags </p>
+<p>Considering the above piece of code under the <strong>&lt;entity&gt;</strong> tag <strong>&lt;ejb name&gt;</strong> is assigned for the relevant EJB entity bean.Since this <strong>ExchangeRate</strong> has a LocalHome interface <strong>&lt;local-jndi-name&gt;</strong> the EJB is registered in JNDI at the address specified as <strong>ExchangeRate</strong> .Under the <strong>&lt;resource-ref&gt;</strong> tags </p>
 
-<h4><a shape="rect" name="openejb-jar.xml-CommonSettingsforEJBMessageBeans"></a>Common Settings for EJB Message Beans</h4>
+<h4 id="openejb-jar.xml-CommonSettingsforEJBMessageBeans">Common Settings for EJB Message Beans</h4>
 
-<p>Message-driven bean settings include mapping the MDB to a specific message destination (usually a JMS Topic or Queue), as well as resolving references to other EJBs, resources, or Web services.The Geronimo user guide provides a sample application<span class="error">[Link the sample]</span> which elaborate how to deploy a MDB in Geronimo.There are common settings to be done in the deployment plan in order to achieve this.</p>
+<p>Message-driven bean settings include mapping the MDB to a specific message destination (usually a JMS Topic or Queue), as well as resolving references to other EJBs, resources, or Web services.The Geronimo user guide provides a sample application<a shape="rect" class="unresolved" href="#">Link the sample</a> which elaborate how to deploy a MDB in Geronimo.There are common settings to be done in the deployment plan in order to achieve this.</p>
 
-<p><b>ejb-name</b> </p>
+<p><strong>ejb-name</strong> </p>
 
 <p>Identifies the EJB that these settings apply to. This should match the ejb-name for the EJB in ejb-jar.xml.</p>
 
-<p><b>resource-adapter</b> </p>
+<p><strong>resource-adapter</strong> </p>
 
 <p>The resource-adapter element identifies the resource adapter that this message-driven bean connects to. This is typically a JMS server, meaning ActiveMQ for the default Geronimo JMS provider.It identifies the resource adapter instance that this MDB should use to connect to its destination. For example, a specific ActiveMQ broker may have several resource adapter instances set up, with different authentication settings, and this identifies the specific instance to use. <br clear="none">
 There are several ways to identify the resource adapter. One is to specify the component by a simple name (resource-link), while the other is to use a more complex GBean Name (target-name, or the individual components in the objectNameGroup). The resource-link handles most common resource situations (a JMS resource adapter deployed as part of the same EAR or in the top level of the server) while the target-name or objectNameGroup can be used for any resource. This might be important if, for example, two resource adapter deployments use the same name, so the resource-link does not uniquely identify one and it must be fully-qualified.This can be used to identify any resource adapter in the same EAR or at the top level in the server. The value specified here should match the resourceadapter-name specified for the resource adapter instance in its Geronimo deployment plan.</p>
 
-<p><b>target-name</b></p>
+<p><strong>target-name</strong></p>
 
 <p>A way to specify any resource adapter running in the server. This should be a GBean Name identifying the resource, such as geronimo.server:J2EEServer=geronimo,J2EEApplication=null, JCAResource=MyJMS,j2eeType=JCAResourceAdapter,name=JMS_RA</p>
 
-<p><b>activation-config</b></p>
+<p><strong>activation-config</strong></p>
 
 <p>Holds any configuration data (in the form of name/value pairs) required by the resource adapter in order to supply messages to the MDB.</p>
 
-<p><b>jndiEnvironmentRefsGroup</b><br clear="none">
+<p><strong>jndiEnvironmentRefsGroup</strong><br clear="none">
 A set of elements that handle resolving references declared for the current message-driven bean (including EJB references, Resource references, and Web Service references).</p>
 
 <p>The sample application given in the user guide (link it to the JMS and MDB sample) demonstrates how to implement the MDB in geronimo.Basically the Business overview of this application is the following. Order processing application has two defined message queues to receive orders and consignments. Order requests can be generated and sent via the company's web application. When order requests are received to the order queue, a MDB will be triggered. It will carry out the next level of order request processing by saving those requests in to a server repository. Those saved order requests will be processed by a company employee later.</p>
 
 <p>In order to deploy a JMS/MDB with Geronimo it's required to create a JMS resource plan.The purpose of creating the JMS plan is that from the geronimo server end you will be accessing JMS/MDB resource using this plan which will define all the definitions for the connection factories and the Queues/Topics</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>JMS_resource_plan.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>JMS_resource_plan.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[ 
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"&gt;
-    &lt;dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;connector xmlns=&quot;http://geronimo.apache.org/xml/ns/j2ee/connector-1.1&quot;&gt;
+    &lt;dep:environment xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
         &lt;dep:moduleId&gt;
             &lt;dep:groupId&gt;samples&lt;/dep:groupId&gt;
             &lt;dep:artifactId&gt;jms-resources&lt;/dep:artifactId&gt;
@@ -789,9 +804,9 @@ A set of elements that handle resolving 
     &lt;resourceadapter&gt;
         &lt;resourceadapter-instance&gt;
             &lt;resourceadapter-name&gt;CommonConnectionFactory&lt;/resourceadapter-name&gt;
-            &lt;config-property-setting name="Password"&gt;geronimo&lt;/config-property-setting&gt;
-            &lt;config-property-setting name="UserName"&gt;geronimo&lt;/config-property-setting&gt;
-            &lt;nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"&gt;
+            &lt;config-property-setting name=&quot;Password&quot;&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;UserName&quot;&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;nam:workmanager xmlns:nam=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;&gt;
                 &lt;nam:gbean-link&gt;DefaultWorkManager&lt;/nam:gbean-link&gt;
             &lt;/nam:workmanager&gt;
         &lt;/resourceadapter-instance&gt;
@@ -817,11 +832,11 @@ A set of elements that handle resolving 
         &lt;adminobject-class&gt;org.activemq.message.ActiveMQQueue&lt;/adminobject-class&gt;
         &lt;adminobject-instance&gt;
             &lt;message-destination-name&gt;OrderQueue&lt;/message-destination-name&gt;
-            &lt;config-property-setting name="PhysicalName"&gt;OrderQueue&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;PhysicalName&quot;&gt;OrderQueue&lt;/config-property-setting&gt;
         &lt;/adminobject-instance&gt;
         &lt;adminobject-instance&gt;
             &lt;message-destination-name&gt;ConsignmentQueue&lt;/message-destination-name&gt;
-            &lt;config-property-setting name="PhysicalName"&gt;ConsignmentQueue&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;PhysicalName&quot;&gt;ConsignmentQueue&lt;/config-property-setting&gt;
         &lt;/adminobject-instance&gt;
     &lt;/adminobject&gt;
     &lt;adminobject&gt;
@@ -835,12 +850,12 @@ A set of elements that handle resolving 
 <p>Geronimo web console provides the needful to create a JMS resource plan structure and it's required to fill your bunisess logic to map to fill your requirements.Once you log in to the web console in your left hand side navigation you will find a JMS resource link under services.In this application there is a MDB that will listen on OrderQueue. openejb-jar.xml defines Geronimo specific JMS resource services available  of that MDB. It links OrderRecv MDB with OrderQueue via CommonConnectionFactory.This Article will be discussing further details of the relationship of the JMS resource plan and the openejb-jar.xml in Resolving references session(link this to the topic)</p>
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
-    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
-    xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
-    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+    xmlns:naming=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+    xmlns:security=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+    xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;samples&lt;/sys:groupId&gt;
@@ -888,7 +903,7 @@ A set of elements that handle resolving 
 
 <p>According to openejb-jar.xml, it shows how the Geronimo resources are set as dependencies in order to access in the <br clear="none">
 EJB applications.Basically "activemq-broker" and "jms-resources" are the two dependencies comes with Geronimo server to use in MDB and JMS applications. </p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;sys:dependencies&gt;
     &lt;sys:dependency&gt;
@@ -906,100 +921,98 @@ EJB applications.Basically "activemq-bro
 ]]></script>
 </div></div>
 
-<h3><a shape="rect" name="openejb-jar.xml-2.3ResolvingReferencesfromEJB"></a>2.3 Resolving References from EJB</h3>
+<h3 id="openejb-jar.xml-2.3ResolvingReferencesfromEJB">2.3 Resolving References from EJB</h3>
 
 <p>EJBs can declare references to other EJBs either locally or as an interfaces remotely.These resources can be various types (database pools or JMS connection factories) to message destinations, and to web services. As in most cases, the references are declared in the ejb-jar.xml deployment descriptor, and those references are resolved to specific targets in the Geronimo openejb-jar.xml deployment plan.</p>
 
 <p>This article will be discussing how the various types of references are resolved  in EJB Applications with Geronimo server. These are applicable to all EJB types (Session, Entity, and Message-Driven) All of EJB types can declare references of any of these types.</p>
 
-<h3><a shape="rect" name="openejb-jar.xml-CommonResourceMappingElements"></a>Common Resource Mapping Elements</h3>
+<h3 id="openejb-jar.xml-CommonResourceMappingElements">Common Resource Mapping Elements</h3>
 
 <p>As it's mentioned earlier all the EJB types can declare references of any type using common resource Mapping elements.Therefore these elements have defined as common.Following diagram shows how these elements are organized in the xml graphical representation.</p>
 
-<p><span class="error">Unable to render embedded object: File (Openejb.gif) not found.</span></p>
+<p><img class="confluence-embedded-image image-center" src="https://cwiki.apache.org/confluence/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&amp;version=2" title="Openejb.gif"></p>
 
-<p><b>domain</b></p>
+<p><strong>domain</strong></p>
 
 <p>    The domain name portion of the GBean Name identifying the EJB or resource to map to. This should usually be geronimo.server</p>
 
-<p><b>server</b></p>
+<p><strong>server</strong></p>
 
 <p>    The J2EE Server portion of the GBean Name identifying the EJB or resource to map to. This should usually be geronimo, and if not specified, it defaults to the name of the JSR-77 J2EEServer that was configured for the deployer GBean that's deploying the current module <br clear="none">
-<b>application</b></p>
+<strong>application</strong></p>
 
-<p>    The name of the application that the target EJB or resource is defined by the <b>application</b>. If the target module was deployed standalone, this would be null. If it was deployed as part of an EAR, this should be the application-name specified for the EAR, or the moduleId if no application-name was specified.</p>
+<p>    The name of the application that the target EJB or resource is defined by the <strong>application</strong>. If the target module was deployed standalone, this would be null. If it was deployed as part of an EAR, this should be the application-name specified for the EAR, or the moduleId if no application-name was specified.</p>
 
-<p><b>module</b></p>
+<p><strong>module</strong></p>
 
 <p>    The modulesID of the module that the target EJB or resource is in.</p>
 
-<p><b>type</b></p>
+<p><strong>type</strong></p>
 
 <p>    Should identify the type of the EJB or resource that this is pointing to. For EJBs, this should be one of StatefulSessionBean, StatelessSessionBean, EntityBean, or MessageDrivenBean, depending on the type of the target EJB.</p>
 
-<p><b>name</b><br clear="none">
+<p><strong>name</strong><br clear="none">
     The JSR-77 name of the target object. This would be the ejb-name for an EJB</p>
 
-<h3><a shape="rect" name="openejb-jar.xml-EJBReferences"></a>EJB References</h3>
+<h3 id="openejb-jar.xml-EJBReferences">EJB References</h3>
 
 <p>EJB can be referred locally and remotely as we discussed in the previous sections. EJB reference points to the remote interface of an EJB,usually deployed elsewhere in the local Geronimo server.It can also refer to EJBs running ellse where,using CORBA to connect to the remote server.But this has not been discussed in this article .This section will brief how to resolve references with EJB</p>
 
 <p>When EJB references are configured, the client EJB looks in its local java:comp/env/... JNDI space to access the referenced EJB.</p>
 
-<p>Basically there are four ways of resolving EJB.The simplest is the ejb-link, which is just the name of an EJB elsewhere in the same application, or deployed in a standalone EJB JAR in Geronimo. The target-name or <b>objectNameGroup</b> can be used to specify the EJB by its full GBean Name, either as a single String or as separate GBean Name components. Finally, the <b>corbaNameGroup</b> is used to configure references to EJBs via CORBA.This section has not been experimented yet and this article won't give a proper introduction for it.</p>
+<p>Basically there are four ways of resolving EJB.The simplest is the ejb-link, which is just the name of an EJB elsewhere in the same application, or deployed in a standalone EJB JAR in Geronimo. The target-name or <strong>objectNameGroup</strong> can be used to specify the EJB by its full GBean Name, either as a single String or as separate GBean Name components. Finally, the <strong>corbaNameGroup</strong> is used to configure references to EJBs via CORBA.This section has not been experimented yet and this article won't give a proper introduction for it.</p>
 
-<p><b>ejb-ref</b></p>
+<p><strong>ejb-ref</strong></p>
 
 <p>Groups all the settings for a reference to another EJB via remote interface. &lt;/para&gt;</p>
 
-<p><b>ref-name</b><br clear="none">
+<p><strong>ref-name</strong><br clear="none">
 Each reference must have a ref-name,which is used to match the definition from the openejb-jar.xml to the EJB reference declared in ejb-jar.xml The value in the openejb-jar.xml must match the ejb-ref-name in the ejb-ref in the ejb-jar.xml </p>
 
-<p><b>objectNameGroup</b></p>
+<p><strong>objectNameGroup</strong></p>
 
 <p>This has been described previously in section 2.1 When type should be one of StatefulSessionBean, StatelessSessionBean, EntityBean or MessageDrivenBean, depending on the type of he target EJB.</p>
 
-<p><b>ejb-link</b></p>
+<p><strong>ejb-link</strong></p>
 
 <p>An ejb-link can be specified in openejb-jar.xml to identify an EJB in the same application EAR by name.It is a must to match the ejb-name for the EJB in its ejb-jar.xml. A value specified openeb-jar.xml for this element which overrides any ejb-link specified for the same EJB reference in ejb-jar.xml.</p>
 
-<p><b>target-name</b></p>
-
-<p><b>objectNameGroup</b> is basically spliting out all the components But this element holds a single GBean Name containing all that information required to identify the EJB. This may be used to map an EJB in a different application. It would typically look like geronimo.server:J2EEApplication=ear-name,EJBModule=ejb-jar-name.jar, J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=EJBName<br clear="none">
-<b>Sample Code</b></p>
+<p><strong>target-name</strong></p>
 
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+<p><strong>objectNameGroup</strong> is basically spliting out all the components But this element holds a single GBean Name containing all that information required to identify the EJB. This may be used to map an EJB in a different application. It would typically look like geronimo.server:J2EEApplication=ear-name,EJBModule=ejb-jar-name.jar, J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=EJBName<br clear="none">
+<strong>Sample Code</strong></p>
 
-]]></script>
+<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[]]></script>
 </div></div>
 
 <p>When considering a typical admin object(such as a JMS topic or queue), the type should be JCAAdminObject and the name should match the message-destination-name for the admin object in the geronimo deployment plan for the JMS resource adapter.</p>
 
 
-<h4><a shape="rect" name="openejb-jar.xml-LocalEJBReference"></a>Local EJB Reference </h4>
+<h4 id="openejb-jar.xml-LocalEJBReference">Local EJB Reference </h4>
 
 <p>A local EJB reference points to the local interface of an EJB which is deployed elsewhere in the local Geronimo server. When local EJB references are configured in the geronimo deployment plan(openejb-jar.xml)the client EJB looks in its local java:comp/env/... JNDI space to access the referenced EJB.It 's required to configure few elements in the openejb-jar.xml and following are the elements.This has been discussed in the previous topic too and somebody might think that the information has been repeated.But it's worth to identify the different use of elements in Local EJB reference and Remote EJB reference.</p>
 
-<p><b>ejb-local-ref</b></p>
+<p><strong>ejb-local-ref</strong></p>
 
 <p>    Groups all the settings for a reference to another EJB via its local interface<br clear="none">
-<b>ref-name</b></p>
+<strong>ref-name</strong></p>
 
 <p>    Each reference must have a ref-name, which is used to match the definition here to the EJB reference declared in ejb-jar.xml. The value here must match the ejb-ref-name in the ejb-local-ref in ejb-jar.xml.</p>
 
-<p><b>objectNameGroup</b></p>
+<p><strong>objectNameGroup</strong></p>
 
 <p>    Refers to the EJB deployed in Geronimo using the syntax described in Section 2.1, "Common Resource Mapping Elements". The type should be one of StatefulSessionBean, StatelessSessionBean, EntityBean, or MessageDrivenBean, depending on the type of the target EJB.</p>
 
-<p><b>ejb-link</b></p>
+<p><strong>ejb-link</strong></p>
 
 <p>    An ejb-link can be specified here to identify an EJB in the same application EAR by name (must match the ejb-name for the EJB in its ejb-jar.xml). A value specified here overrides any ejb-link specified for the same EJB reference in ejb-jar.xml.</p>
 
-<p><b>target-name</b><br clear="none">
+<p><strong>target-name</strong><br clear="none">
     Instead of splitting out all the components using the objectNameGroup, this element holds a single GBean Name containing all that information required to identify the EJB. This may be used to map an EJB in a different application. It would typically look like: geronimo.server:J2EEApplication=ear-name,EJBModule=ejb-jar-name.jar, J2EEServer=geronimo,j2eeType=StatelessSessionBean,name=EJBName</p>
 
-<p>Geronimo user guide has already given you a great insight about playing with EJB with geronimo in the sections of <b>Sample Applications</b> and <b>JBOSS to geronimo migration</b>.There plenty of samples which demonstrate how to refer a EJB Locally or Remotely.</p>
+<p>Geronimo user guide has already given you a great insight about playing with EJB with geronimo in the sections of <strong>Sample Applications</strong> and <strong>JBOSS to geronimo migration</strong>.There plenty of samples which demonstrate how to refer a EJB Locally or Remotely.</p>
 
 <p>One of the simplest sample is for referring EJB Locally is "very simple EJB session bean sample" in ( "http://cwiki.apache.org/GMOxDOC11/very-simple-session-ejb-example.html)</p>
 
@@ -1007,19 +1020,19 @@ Each reference must have a ref-name,whic
 
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>web.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>web.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;web-app id="WebApp_ID" version="2.4"
-xmlns="http://java.sun.com/xml/ns/j2ee"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;web-app id=&quot;WebApp_ID&quot; version=&quot;2.4&quot;
+xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
+xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;&gt;
     &lt;display-name&gt;
  	MyTImeWeb&lt;/display-name&gt;
     &lt;welcome-file-list&gt;
         &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
     &lt;/welcome-file-list&gt;
-    &lt;!-- To refer local EJB's --&gt;
+    &lt;!-- To refer local EJB&#39;s --&gt;
     &lt;ejb-local-ref&gt;
         &lt;ejb-ref-name&gt;ejb/MyTimeBean&lt;/ejb-ref-name&gt;
         &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-type&gt;
@@ -1030,16 +1043,16 @@ xsi:schemaLocation="http://java.sun.com/
 &lt;/web-app&gt;
 ]]></script>
 </div></div>
-<p>As above shown in the web.xml file <b>&lt;ejb-local-ref&gt;</b> tag has used to define and set the values for locally referring EJB interfaces <b>MyTimeLocalHome</b> and <b>MyTimeLocal</b>.As you can see in the following <b>geronimo-web.xml</b> has not defined any entry for it that means for there is not server specific entry need to be define for a EJB reference.</p>
+<p>As above shown in the web.xml file <strong>&lt;ejb-local-ref&gt;</strong> tag has used to define and set the values for locally referring EJB interfaces <strong>MyTimeLocalHome</strong> and <strong>MyTimeLocal</strong>.As you can see in the following <strong>geronimo-web.xml</strong> has not defined any entry for it that means for there is not server specific entry need to be define for a EJB reference.</p>
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>geronimo-web.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>geronimo-web.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
-xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"
-xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
-xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;web-app xmlns=&quot;http://geronimo.apache.org/xml/ns/j2ee/web-1.1&quot;
+xmlns:nam=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+xmlns:sec=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;default&lt;/sys:groupId&gt;
@@ -1054,17 +1067,17 @@ xmlns:sys="http://geronimo.apache.org/xm
 </div></div>
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>ejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>ejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;ejb-jar id="ejb-jar_1" xmlns="http://java.sun.com/xml/ns/j2ee"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
- 	http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;ejb-jar id=&quot;ejb-jar_1&quot; xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
+xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee
+ 	http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd&quot; version=&quot;2.1&quot;&gt;
     &lt;description&gt;Example of a session bean&lt;/description&gt;
     &lt;display-name&gt;MyTimeBeanEJBName&lt;/display-name&gt;
     &lt;enterprise-beans&gt;
-        &lt;session id="Session_MyTime"&gt;
+        &lt;session id=&quot;Session_MyTime&quot;&gt;
             &lt;description&gt;An EJB named MyTimeBean&lt;/description&gt;
             &lt;display-name&gt;MyTimeBeanName&lt;/display-name&gt;
             &lt;ejb-name&gt;MyTimeBean&lt;/ejb-name&gt;
@@ -1082,14 +1095,14 @@ xsi:schemaLocation="http://java.sun.com/
 <p>In the ejb-jar.xml shows the normal deployment descriptor entries as usual for any server deployment.</p>
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
-xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"
-xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
-xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
-xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+xmlns:nam=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+xmlns:pkgen=&quot;http://www.openejb.org/xml/ns/pkgen-2.0&quot;
+xmlns:sec=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;default&lt;/sys:groupId&gt;
@@ -1108,12 +1121,12 @@ xmlns:sys="http://geronimo.apache.org/xm
         &lt;/session&gt;
     &lt;/enterprise-beans&gt;
 &lt;/openejb-jar&gt;
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
-xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"
-xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
-xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
-xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+xmlns:nam=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+xmlns:pkgen=&quot;http://www.openejb.org/xml/ns/pkgen-2.0&quot;
+xmlns:sec=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;default&lt;/sys:groupId&gt;
@@ -1135,9 +1148,9 @@ xmlns:sys="http://geronimo.apache.org/xm
 ]]></script>
 </div></div>
 
-<p>As you already know openejb-jar.xml is the Geronimo specific deployment plan to deploy an EJB on Geronimo server.The following peice of code has been excerpt from the above to discuss further.The session bean is defined by giving the information for the client access.Note that <b>ref-name=ejb/MyTimeBean</b> is the same that clients use to lookup for the EJB. <b>ejb-link=MyTimeBean</b> in the openejb-jar.xml is the same  for the <b>ejb-name=MyTimeBean</b>  in ejb-jar.xml. The ejb-link and the ejb-name must be the same and then only a client will locate the EJB.</p>
+<p>As you already know openejb-jar.xml is the Geronimo specific deployment plan to deploy an EJB on Geronimo server.The following peice of code has been excerpt from the above to discuss further.The session bean is defined by giving the information for the client access.Note that <strong>ref-name=ejb/MyTimeBean</strong> is the same that clients use to lookup for the EJB. <strong>ejb-link=MyTimeBean</strong> in the openejb-jar.xml is the same  for the <strong>ejb-name=MyTimeBean</strong>  in ejb-jar.xml. The ejb-link and the ejb-name must be the same and then only a client will locate the EJB.</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;session&gt;
     &lt;ejb-name&gt;MyTimeBean&lt;/ejb-name&gt;
@@ -1149,15 +1162,15 @@ xmlns:sys="http://geronimo.apache.org/xm
 ]]></script>
 </div></div>
 
-<h4><a shape="rect" name="openejb-jar.xml-ResourceReferences"></a>Resource References</h4>
+<h4 id="openejb-jar.xml-ResourceReferences">Resource References</h4>
 
-<p>In EJB applications require to refer many external resources typically JDBC resources,JMS resources or URLS.The geronimo deployment plan for EJB (openejb-jar.xml) handles such situations using the <b>resource-ref</b> .This element is used to map resource references to specific resources available in the geronimo server itself. The elements available for mapping resource references are defined as follows and it has used to some excerpt codes from the sample application to demonstrate these elements.Therefore consider the following openejb-jar.xml in the <a shape="rect" class="external-link" href="http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html">http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html</a></p>
+<p>In EJB applications require to refer many external resources typically JDBC resources,JMS resources or URLS.The geronimo deployment plan for EJB (openejb-jar.xml) handles such situations using the <strong>resource-ref</strong> .This element is used to map resource references to specific resources available in the geronimo server itself. The elements available for mapping resource references are defined as follows and it has used to some excerpt codes from the sample application to demonstrate these elements.Therefore consider the following openejb-jar.xml in the <a shape="rect" class="external-link" href="http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html">http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html</a></p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"&gt;
-    &lt;dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;&gt;
+    &lt;dep:environment xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
         &lt;dep:moduleId&gt;
             &lt;dep:groupId&gt;default&lt;/dep:groupId&gt;
             &lt;dep:artifactId&gt;BankEJB&lt;/dep:artifactId&gt;
@@ -1292,13 +1305,13 @@ xmlns:sys="http://geronimo.apache.org/xm
 ]]></script>
 </div></div>
 
-<p><b>ref-name</b></p>
+<p><strong>ref-name</strong></p>
 
 <p>    Each resource reference must have a ref-name, which is used to match the definition in the openejb-jar.xml to the resource reference in ejb-jar.xml. Specifically, the value here must match the res-ref-name in the resource-ref in ejb-jar.xml.</p>
 
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>Excerpt from openejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>Excerpt from openejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;entity&gt;
  	....
@@ -1310,15 +1323,15 @@ xmlns:sys="http://geronimo.apache.org/xm
 ]]></script>
 </div></div>
 
-<p><b>objectNameGroup</b></p>
+<p><strong>objectNameGroup</strong></p>
 
 <p>This element can refer to the resource deployed in Geronimo using the syntax described in "Common Resource Mapping Elements". For a typical connection factory (such as a JDBC pool or JMS connection factory), the type should be JCAManagedConnectionFactory and the name should match the value of the connectiondefinition-instance/name element in the Geronimo deployment plan for the resource adapter (or the name selected for the resource when deploying it through the console). Note: other resource types may use different types and names.</p>
 
-<p><b>resource-link</b></p>
+<p><strong>resource-link</strong></p>
 
 <p>    This element can be used to identify any resource deployed as a J2EE connector (including JDBC pools and JMS connection factories). The value specified here should match the connectiondefinition-instance/name element in the Geronimo deployment plan for the connector.</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>Excerpt from openejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>Excerpt from openejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;entity&gt;
     &lt;ejb-name&gt;ExchangeRate&lt;/ejb-name&gt;
@@ -1331,29 +1344,29 @@ xmlns:sys="http://geronimo.apache.org/xm
 ]]></script>
 </div></div>
 
-<p>This BankPool is an XML file which is the Geronimo data base plan created using geronimo(Debery has integrated with Geronimo to use as a Data Base resource) data base manager. Therefore, this has been deployed in the Geronimo server itself and <b>resource-link</b> tag will provide the access of it to the application.</p>
+<p>This BankPool is an XML file which is the Geronimo data base plan created using geronimo(Debery has integrated with Geronimo to use as a Data Base resource) data base manager. Therefore, this has been deployed in the Geronimo server itself and <strong>resource-link</strong> tag will provide the access of it to the application.</p>
 
-<p><b>target-name</b></p>
+<p><strong>target-name</strong></p>
 
 <p>    A way to specify any type of resource running in the server. This should be a GBean Name identifying the resource, such as geronimo.server:J2EEServer=geronimo,J2EEApplication=null, JCAModule=my-db-pool,j2eeType=JCAManagedConnectionFactory,name=MyDatasource</p>
 
-<p><b>url</b></p>
+<p><strong>url</strong></p>
 
 <p>    If the resource type was java.net.URL, this element can be used to provide a value for the URL reference (such as <a shape="rect" class="external-link" href="http://www.amazon.com/" rel="nofollow">http://www.amazon.com/</a>). This element should not be used for other resource types.</p>
 
 <p>Therefore, as discussed above there  are several ways to identify a targeted resource. One is to specify the component by a simple name (resource-link), while the other is to use a more complex GBean Name (target-name, or the individual components in the objectNameGroup and there is not sample provided for this). The resource-link handles most common resource situations (J2EE connectors in the same application or deployed standalone, including JDBC pools and JMS connection factories) while the target-name or objectNameGroup can be used for any resource. This might be important if, for example, two resource adapter deployments use the same name for their connection factory, so the resource-link does not uniquely identify one and it must be fully-qualified. Finally, in the special case of URL resources, the url element provides a value for the resource (instead of looking something else up in the server environment).</p>
 
-<h4><a shape="rect" name="openejb-jar.xml-ResolvingJMSResources"></a>Resolving JMS Resources</h4>
+<h4 id="openejb-jar.xml-ResolvingJMSResources">Resolving JMS Resources</h4>
 
 <p>This section will be covered how to resolve JBM references from EJB in geronimo.It's used the JMS sample application in the Uder Guide to demonstrate the deployment plans configurations in order to use JMS in applications(<a shape="rect" class="external-link" href="http://cwiki.apache.org/GMOxDOC11/jms-and-mdb-sample-application.html">http://cwiki.apache.org/GMOxDOC11/jms-and-mdb-sample-application.html</a>) JMS resource can be a topic or queue which need to be configured specifically in the ejb-jar.xml file, as shown below. In this example it has been generated using Xdoclet at the build time.</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 
-&lt;ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1"&gt;
+&lt;ejb-jar xmlns=&quot;http://java.sun.com/xml/ns/j2ee&quot;
+xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd&quot; version=&quot;2.1&quot;&gt;
  	 
  	......
     &lt;enterprise-beans&gt;
@@ -1402,19 +1415,19 @@ xsi:schemaLocation="http://java.sun.com/
 
 <p>This sample application refers a JMS resource from the geronimo server and as you can see in the above ejb-jar.xml,following entried are used to configure it in ejb-jar.xml.This ejb-jar.xml was generated uisng xdoclet.And seems it has been limited to gernerate the primary needs of configuring JMS entries in the ejb-jar.xml</p>
 
-<p><b>messaging-type=javax.jms.MessageListener</b><br clear="none">
-<b>transaction-type=Container</b><br clear="none">
-<b>message-destination-type=javax.jms.Queue</b></p>
+<p><strong>messaging-type=javax.jms.MessageListener</strong><br clear="none">
+<strong>transaction-type=Container</strong><br clear="none">
+<strong>message-destination-type=javax.jms.Queue</strong></p>
 
 <p>Message Listener allows a listener to be notified when a message arrives. Contrary to the pull-style of channels, some building blocks (e.g., PullPushAdapter) provide an event-like, push-style message delivery model. In this case, the entity to be notified of message reception needs to provide a callback to be invoked whenever a message has been received. The MessageListener interface provides a method to do so</p>
 
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>openejb-jar.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
-    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
-    xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
-    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;openejb-jar xmlns=&quot;http://www.openejb.org/xml/ns/openejb-jar-2.1&quot;
+    xmlns:naming=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;
+    xmlns:security=&quot;http://geronimo.apache.org/xml/ns/security-1.1&quot;
+    xmlns:sys=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
     &lt;sys:environment&gt;
         &lt;sys:moduleId&gt;
             &lt;sys:groupId&gt;samples&lt;/sys:groupId&gt;
@@ -1460,26 +1473,26 @@ xsi:schemaLocation="http://java.sun.com/
 ]]></script>
 </div></div>
 
-<p>Now the turn to see how this JMS resource has been configured on Geronimo specific deployment plan(openejb-jar.xml).Note that the segment of <b>dependencies</b> and <b>message-driven</b> has done it.First considering the setting for dependencies segment of the openejb-jar.xml,the JMS resources of the geronimo server and the deployed JMS resource plan have refered in it.<b>artifactId=activemq-broker</b> is the entry to make available( to the application)the  JMS resource in the geronimo server itself.The second dependency setting is <b>artifactId=jms-resources</b> and <b>jms-resources</b> is the name of the JMS plan which refered by the application.This is a XML file which can be generated using Geronimo web console and should be already deployed in the server.</p>
+<p>Now the turn to see how this JMS resource has been configured on Geronimo specific deployment plan(openejb-jar.xml).Note that the segment of <strong>dependencies</strong> and <strong>message-driven</strong> has done it.First considering the setting for dependencies segment of the openejb-jar.xml,the JMS resources of the geronimo server and the deployed JMS resource plan have refered in it.<strong>artifactId=activemq-broker</strong> is the entry to make available( to the application)the  JMS resource in the geronimo server itself.The second dependency setting is <strong>artifactId=jms-resources</strong> and <strong>jms-resources</strong> is the name of the JMS plan which refered by the application.This is a XML file which can be generated using Geronimo web console and should be already deployed in the server.</p>
 
-<p>Basically Message driven bean is the EJB type which has the use of JMS.Therefore name of the EJB(<b>OrderRecvMDB</b>) has given to use the JMS resource.</p>
+<p>Basically Message driven bean is the EJB type which has the use of JMS.Therefore name of the EJB(<strong>OrderRecvMDB</strong>) has given to use the JMS resource.</p>
 
-<p><b>message -destination</b> </p>
+<p><strong>message -destination</strong> </p>
 
 <p>This element declares the Topic and the message-destination-ref in a particular EJB declares a reference to it and places the destination in to</p>
 
 
-<p><b>message-destination-type</b> </p>
+<p><strong>message-destination-type</strong> </p>
 
 <p>Declares the type of Message resource which will be refered by the application.As it's already discussed there are two types of message resources. Those are topic and Queue.In this case it's Queue.</p>
 
 <p>For reference, here's a snippet from a JMS connector deployment plan that matches the EJB JAR configuration above and this can be generated using the geronimo web console.One can identify the &lt;moduleId&gt; ,&lt;dependency&gt; and &lt;adminobject&gt; are mapped the ejb-jar.xml.</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>jms-resource-plan.xml</b></div><div class="codeContent panelContent">
+<div class="code panel pdl" style="border-style: solid;border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>jms-resource-plan.xml</b></div><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-&lt;connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"&gt;
-    &lt;dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"&gt;
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;connector xmlns=&quot;http://geronimo.apache.org/xml/ns/j2ee/connector-1.1&quot;&gt;
+    &lt;dep:environment xmlns:dep=&quot;http://geronimo.apache.org/xml/ns/deployment-1.1&quot;&gt;
         &lt;dep:moduleId&gt;
             &lt;dep:groupId&gt;samples&lt;/dep:groupId&gt;
             &lt;dep:artifactId&gt;jms-resources&lt;/dep:artifactId&gt;
@@ -1497,9 +1510,9 @@ xsi:schemaLocation="http://java.sun.com/
     &lt;resourceadapter&gt;
         &lt;resourceadapter-instance&gt;
             &lt;resourceadapter-name&gt;CommonConnectionFactory&lt;/resourceadapter-name&gt;
-            &lt;config-property-setting name="Password"&gt;geronimo&lt;/config-property-setting&gt;
-            &lt;config-property-setting name="UserName"&gt;geronimo&lt;/config-property-setting&gt;
-            &lt;nam:workmanager xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"&gt;
+            &lt;config-property-setting name=&quot;Password&quot;&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;UserName&quot;&gt;geronimo&lt;/config-property-setting&gt;
+            &lt;nam:workmanager xmlns:nam=&quot;http://geronimo.apache.org/xml/ns/naming-1.1&quot;&gt;
                 &lt;nam:gbean-link&gt;DefaultWorkManager&lt;/nam:gbean-link&gt;
             &lt;/nam:workmanager&gt;
         &lt;/resourceadapter-instance&gt;
@@ -1525,11 +1538,11 @@ xsi:schemaLocation="http://java.sun.com/
         &lt;adminobject-class&gt;org.activemq.message.ActiveMQQueue&lt;/adminobject-class&gt;
         &lt;adminobject-instance&gt;
             &lt;message-destination-name&gt;OrderQueue&lt;/message-destination-name&gt;
-            &lt;config-property-setting name="PhysicalName"&gt;OrderQueue&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;PhysicalName&quot;&gt;OrderQueue&lt;/config-property-setting&gt;
         &lt;/adminobject-instance&gt;
         &lt;adminobject-instance&gt;
             &lt;message-destination-name&gt;ConsignmentQueue&lt;/message-destination-name&gt;
-            &lt;config-property-setting name="PhysicalName"&gt;ConsignmentQueue&lt;/config-property-setting&gt;
+            &lt;config-property-setting name=&quot;PhysicalName&quot;&gt;ConsignmentQueue&lt;/config-property-setting&gt;
         &lt;/adminobject-instance&gt;
     &lt;/adminobject&gt;
     &lt;adminobject&gt;
@@ -1540,33 +1553,33 @@ xsi:schemaLocation="http://java.sun.com/
 ]]></script>
 </div></div>
 

[... 108 lines stripped ...]


Mime
View raw message