You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2012/04/27 03:28:38 UTC

svn commit: r1331169 - /openejb/site/trunk/content/jndi-names.mdtext

Author: vishwanathk
Date: Fri Apr 27 01:28:38 2012
New Revision: 1331169

URL: http://svn.apache.org/viewvc?rev=1331169&view=rev
Log:
correct docs

Modified:
    openejb/site/trunk/content/jndi-names.mdtext

Modified: openejb/site/trunk/content/jndi-names.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/jndi-names.mdtext?rev=1331169&r1=1331168&r2=1331169&view=diff
==============================================================================
--- openejb/site/trunk/content/jndi-names.mdtext (original)
+++ openejb/site/trunk/content/jndi-names.mdtext Fri Apr 27 01:28:38 2012
@@ -246,6 +246,7 @@ your bean had a legacy EJBObject interfa
 interfaces, and two business local interfaces, this pattern would result in
 *six* proxies bound into JNDI.
 
+<pre>
 {deploymentId}/{interfaceClass.simpleName}    
 {moduleId}/{ejbName}/{interfaceClass}    
 {ejbName}/{interfaceClass}    
@@ -254,11 +255,13 @@ interfaces, and two business local inter
 {ejbClass}/{interfaceClass.simpleName}    
 {ejbClass.simpleName}/{interfaceClass.simpleName}    
 {interfaceClass}/{ejbName}    
+</pre>
 
 Bordeline optimistic:    
+<pre>
  - {moduleId}/{interfaceClass}    
  - {interfaceClass}    
-
+</pre>
 The above two settings would work if you the interface wasn't shared by
 other beans.
 
@@ -275,12 +278,13 @@ implementing all three business remote i
 the two business local interfaces.
 
 Similarly pragmatic settings would be    
+<pre>
  - {moduleId}/\{ejbClass}/\{interfaceType.annotationName}    
  - {ejbClass}/\{interfaceType.xmlName}    
  - {ejbClass.simpleName}/\{interfaceType.xmlNameCc}    
  - {interfaceType}/\{ejbName}    
  - {interfaceType}/\{ejbClass}    
-
+</pre>
 <a name="JNDINames-Optimisticsettings"></a>
 ### Optimistic settings
 
@@ -300,12 +304,13 @@ cannot be bound to JNDI, tell you which 
 continue loading your app.
 
 Similarly optimistic settings would be:    
+<pre>
  - {ejbName}    
  - {ejbClass}    
  - {ejbClass.simpleName}    
  - {moduleId}/\{ejbClass.simpleName}    
  - {moduleId}/\{ejbName}    
-
+</pre>
 <a name="JNDINames-AdvancedDetailsonEJB3.0BusinessProxies(thesimplepart)"></a>
 ### Advanced Details on EJB 3.0 Business Proxies (the simple part)