[jboss-cvs] JBossAS SVN: r73740 - in projects/metadata/trunk/src: main/java/org/jboss/metadata/ejb/jboss and 6 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 28 09:06:46 EDT 2008


Author: emuckenhuber
Date: 2008-05-28 09:06:46 -0400 (Wed, 28 May 2008)
New Revision: 73740

Added:
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase.java
   projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/
   projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/unit/
   projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase_testEverything.xml
Modified:
   projects/metadata/trunk/src/main/java/org/jboss/metadata/BeanMetaData.java
   projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossEnterpriseBeanMetaData.java
   projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionBeanMetaData.java
   projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionPolicyDecorator.java
   projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/jndipolicy/plugins/BasicJndiBindingPolicy.java
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/JBoss50UnitTestCase.java
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/ResolvedJndiNameUnitTestCase.java
Log:
JBMETA-42: determine jndi names for EJB2

Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/BeanMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/BeanMetaData.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/BeanMetaData.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -529,7 +529,7 @@
       String bindingName = binding.getJndiName();
       if(bindingName == null)
       {
-         bindingName = this.getEjbName();
+         bindingName = isMessageDriven() ? getEjbName() : getJndiName();
       }
       return bindingName;
    }

Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossEnterpriseBeanMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossEnterpriseBeanMetaData.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossEnterpriseBeanMetaData.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -559,7 +559,7 @@
          return localJndiName;
       
       String ejbName = getEjbName();
-      return ejbName + "/local";
+      return localJndiName = "local/" + ejbName + '@' + System.identityHashCode(ejbName);
    }
 
    /**
@@ -694,7 +694,12 @@
          else if (ebeanMD.getHome() != null && ebeanMD.getHome().equals(iface))
             ifaceType = KnownInterfaceType.REMOTE_HOME;
       }
-
+      
+      // Check if it is know interface
+      if( ifaceType == KnownInterfaceType.UNKNOWN)
+         throw new IllegalArgumentException("Can't find interface " + iface + " in " + this);
+      
+      
       // Have the policy generate the actual name
       String resolvedJndiName = policy.getJndiName(ejbSummary, iface, ifaceType);
 

Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionBeanMetaData.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionBeanMetaData.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionBeanMetaData.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -635,7 +635,7 @@
          name = getRemoteBindings().get(0).getJndiName();
       // TODO: JBMETA-6, this should be the policy with ejb2 metadata defaulting to an ejb-name policy
       if(name == null)
-         name = getEjbName() + "/remote";
+         name = getEjbName();
       return name;
    }
    

Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionPolicyDecorator.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionPolicyDecorator.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/JBossSessionPolicyDecorator.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -152,9 +152,15 @@
       DeploymentSummary dsummary = getJBossMetaData().getDeploymentSummary();
       if(dsummary == null)
          dsummary = new DeploymentSummary();
-      return new EjbDeploymentSummary(this, dsummary);
+      return new EjbDeploymentSummary(delegate, dsummary);
    }
    
+   
+   private DefaultJndiBindingPolicy getDefaultJndiBindingPolicy()
+   {
+      return getDefaultJndiBindingPolicy(null);
+   }
+   
    /**
     * Resolve the JNDI binding policy that's to be used.
     * 
@@ -162,9 +168,11 @@
     * 
     * @return the JNDI binding policy to be used
     */
-   private DefaultJndiBindingPolicy getDefaultJndiBindingPolicy()
+   private DefaultJndiBindingPolicy getDefaultJndiBindingPolicy(DefaultJndiBindingPolicy defaultPolicy)
    {
-      String baseName = getEjbName();
+      String baseName = delegate.getMappedName();
+      if(baseName == null)
+         baseName = delegate.determineJndiName();
       
       // Obtain the Deployment Summary
       DeploymentSummary dsummary = getJBossMetaData().getDeploymentSummary();
@@ -184,10 +192,9 @@
          {
          }
       }
-      // TODO: I don't get defaultPolicy
-//      if (policy == null)
-//         policy = defaultPolicy;
       if (policy == null)
+         policy = defaultPolicy;
+      if (policy == null)
       {
          // Use the metadata default binding policy
          policy = new BasicJndiBindingPolicy(baseName);
@@ -210,7 +217,7 @@
 
    public String determineResolvedJndiName(String iface, DefaultJndiBindingPolicy defaultPolicy)
    {
-      DefaultJndiBindingPolicy policy = getDefaultJndiBindingPolicy();
+      DefaultJndiBindingPolicy policy = getDefaultJndiBindingPolicy(defaultPolicy);
       
       KnownInterfaceType ifaceType = classifyInterface(iface);
 

Modified: projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/jndipolicy/plugins/BasicJndiBindingPolicy.java
===================================================================
--- projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/jndipolicy/plugins/BasicJndiBindingPolicy.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/jndipolicy/plugins/BasicJndiBindingPolicy.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -51,7 +51,6 @@
    {
       this.baseJndiName = baseJndiName;
    }
-
    
    public String getBaseJndiName()
    {
@@ -104,42 +103,52 @@
       else
       {
          boolean is3x = summary.getBeanMD().getJBossMetaData().isEJB3x();
-         switch(ifaceType)
+         
+         if(is3x)
          {
-            // base-name / (local|remote) - iface
-            case BUSINESS_LOCAL:
-            case BUSINESS_REMOTE:
-            case UNKNOWN:
-               if(iface == null)
-                  jndiName = baseJndiName + "/" + ifaceType.toSuffix();
-               else
-                  jndiName = baseJndiName + "/" + ifaceType.toSuffix() + "-" + iface;
-            break;
-            case LOCAL_HOME:
-               if(is3x)
-               {
-                  // base-name / (local|remote)Home
-                  jndiName = baseJndiName + "/" + ifaceType.toSuffix();
-               }
-               else
-               {
-                  // Use the bean local jndi name or generated name for ejb2.x local homes
-                  jndiName = summary.getBeanMD().determineLocalJndiName();
-               }
+            // EJB 3
+            switch(ifaceType)
+            {
+               // base-name / (local|remote) - iface
+               case BUSINESS_LOCAL:
+               case BUSINESS_REMOTE:
+               case UNKNOWN:
+                  if(iface == null)
+                     jndiName = baseJndiName + "/" + ifaceType.toSuffix();
+                  else
+                     jndiName = baseJndiName + "/" + ifaceType.toSuffix() + "-" + iface;
                break;
-            case REMOTE_HOME:
-               if(is3x)
-               {
-                  // base-name / (local|remote)Home
-                  jndiName = baseJndiName + "/" + ifaceType.toSuffix();
-               }
-               else
-               {
-                  // Don't append the iface suffix for ejb2.x homes
-                  jndiName = baseJndiName;
-               }
-               break;
+               case LOCAL_HOME:
+                     // base-name / (local|remote)Home
+                     jndiName = baseJndiName + "/" + ifaceType.toSuffix();
+                  break;
+               case REMOTE_HOME:
+                     // base-name / (local|remote)Home
+                     jndiName = baseJndiName + "/" + ifaceType.toSuffix();
+                  break;
+            }
          }
+         else
+         {
+            // EJB 2.x
+            switch(ifaceType)
+            {               
+               // The local home jndi name (same for getLocalJndiName and getLocalHomeJndiName)
+               case BUSINESS_LOCAL:
+               case LOCAL_HOME:
+                     // Use the bean local jndi name or generated name for ejb2.x local homes
+                     jndiName = summary.getBeanMD().determineLocalJndiName();
+                  break;
+                  
+               // The home jndi name (same for getJndiName and getHomeJndiName) 
+               case BUSINESS_REMOTE:
+               case REMOTE_HOME:
+                     // Don't append the iface suffix for ejb2.x homes
+                     jndiName = baseJndiName;
+                  break;
+            }
+         }
+
       }
       return jndiName;
    }

Modified: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/JBoss50UnitTestCase.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/JBoss50UnitTestCase.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/JBoss50UnitTestCase.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -52,6 +52,7 @@
 import org.jboss.metadata.ejb.jboss.JBossMetaDataWrapper;
 import org.jboss.metadata.ejb.jboss.JBossServiceBeanMetaData;
 import org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData;
+import org.jboss.metadata.ejb.jboss.JBossSessionPolicyDecorator;
 import org.jboss.metadata.ejb.jboss.MessagePropertiesMetaData;
 import org.jboss.metadata.ejb.jboss.ProducerMetaData;
 import org.jboss.metadata.ejb.jboss.RemoteBindingMetaData;
@@ -331,6 +332,7 @@
       assertEquals(1, jboss.getEnterpriseBeans().size());
       
       JBossSessionBeanMetaData sessionBean = (JBossSessionBeanMetaData) jboss.getEnterpriseBean("StatefulBean");
+      sessionBean = new JBossSessionPolicyDecorator(sessionBean);
       String determinedJndiName = sessionBean.determineJndiName();
       boolean determinedValid = false;
       for(int i = 0; i < 2; i++)

Modified: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/ResolvedJndiNameUnitTestCase.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/ResolvedJndiNameUnitTestCase.java	2008-05-28 12:58:11 UTC (rev 73739)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/ejb/ResolvedJndiNameUnitTestCase.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -26,6 +26,7 @@
 import org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData;
 import org.jboss.metadata.ejb.jboss.JBossMetaData;
 import org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData;
+import org.jboss.metadata.ejb.jboss.JBossSessionPolicyDecorator;
 import org.jboss.metadata.ejb.jboss.jndipolicy.plugins.EjbNameJndiBindingPolicy;
 import org.jboss.metadata.ejb.jboss.jndipolicy.spi.DeploymentSummary;
 import org.jboss.metadata.ejb.jboss.jndipolicy.spi.KnownInterfaces;
@@ -35,7 +36,8 @@
 import junit.framework.TestCase;
 
 /**
- * Tests of the JBossEnterpriseBeanMetaData.determineResolvedJndiName behavior
+ * Tests of the JBossSessionPolicyDecorator.determineResolvedJndiName behavior for SessionBeans
+ * and JBossEnterpriseBeanMetaData.determineResolvedJndiName behavior for EntityBeans
  * 
  * @author Scott.Stark at jboss.org
  * @version $Revision:$
@@ -47,21 +49,20 @@
    public void testResolvedJndiName()
    {
       JBossEnterpriseBeanMetaData beanMD = getEjbMetaData();
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiName-jndi-name", resolvedJndiName);
+      String resolvedJndiName = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
+      assertEquals("testResolvedJndiName-jndi-name/home", resolvedJndiName);
    }
    public void testResolvedJndiNameWithMappedName()
    {
       JBossEnterpriseBeanMetaData beanMD = getEjbMetaData();
       beanMD.setMappedName("testResolvedJndiName-mapped-name");
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiName-mapped-name", resolvedJndiName);
+      String resolvedJndiName = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
+      assertEquals("testResolvedJndiName-mapped-name/home", resolvedJndiName);
    }
    public void testResolvedJndiNames()
    {
       JBossEnterpriseBeanMetaData beanMD = getEjbMetaData();
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiNames-jndi-name", resolvedJndiName);      
+
       String resolvedJndiNameRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
       assertEquals("testResolvedJndiNames-jndi-name/remote", resolvedJndiNameRemote);      
       String resolvedJndiNameHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
@@ -70,8 +71,6 @@
       assertEquals("testResolvedJndiNames-jndi-name/local", resolvedJndiNameLocal);      
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
       assertEquals("testResolvedJndiNames-jndi-name/localHome", resolvedJndiNameLocalHome);      
-      String resolvedJndiNameIface = beanMD.determineResolvedJndiName("org.jboss.test.some.IFace", null);
-      assertEquals("testResolvedJndiNames-jndi-name/org.jboss.test.some.IFace", resolvedJndiNameIface);      
    }
    /**
     * JBMETA-36, JBMETA-37
@@ -93,8 +92,6 @@
       remotes.add("org.jboss.ifaces.RemoteIF2");
       sbeanMD.setBusinessRemotes(remotes);
 
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name", resolvedJndiName);      
       String resolvedJndiNameRemote = beanMD.determineResolvedJndiName("org.jboss.ifaces.RemoteIF", null);
       assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name/remote-org.jboss.ifaces.RemoteIF", resolvedJndiNameRemote);      
       String resolvedJndiNameRemote2 = beanMD.determineResolvedJndiName("org.jboss.ifaces.RemoteIF2", null);
@@ -106,9 +103,7 @@
       String resolvedJndiNameLocal2 = beanMD.determineResolvedJndiName("org.jboss.ifaces.LocalIF2", null);
       assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name/local-org.jboss.ifaces.LocalIF2", resolvedJndiNameLocal2);      
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName("org.jboss.ifaces.LocalHomeIF", null);
-      assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name/localHome", resolvedJndiNameLocalHome);      
-      String resolvedJndiNameIface = beanMD.determineResolvedJndiName("org.jboss.test.some.IFace", null);
-      assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name/org.jboss.test.some.IFace", resolvedJndiNameIface);      
+      assertEquals("testResolvedJndiNamesWithKnownIfaces-jndi-name/localHome", resolvedJndiNameLocalHome);            
    }
    public void testResolvedJndiNamesWithKnownIfaces2x()
    {
@@ -122,14 +117,21 @@
       sbeanMD.setRemote("org.jboss.ifaces.RemoteIF");
 
 
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
+      String resolvedJndiName = beanMD.determineJndiName();
       assertEquals("testResolvedJndiNamesWithKnownIfaces2x-jndi-name", resolvedJndiName);      
       String resolvedJndiNameHome = beanMD.determineResolvedJndiName("org.jboss.ifaces.HomeIF", null);
-      assertEquals("testResolvedJndiNamesWithKnownIfaces2x-jndi-name", resolvedJndiNameHome);      
+      assertEquals("testResolvedJndiNamesWithKnownIfaces2x-jndi-name", resolvedJndiNameHome);
+      
+      String expectedLocalHomeName = "local/" + beanMD.getEjbName() + '@' + System.identityHashCode(beanMD.getEjbName());
+      assertEquals(expectedLocalHomeName, beanMD.determineLocalJndiName());
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName("org.jboss.ifaces.LocalHomeIF", null);
-      assertEquals(sbeanMD.determineLocalJndiName(), resolvedJndiNameLocalHome);      
+      assertEquals(sbeanMD.determineLocalJndiName(), resolvedJndiNameLocalHome);
+      
    }
 
+   /**
+    * Test resolved jndi name for an entity bean 
+    */
    public void testResolvedJndiNamesWithKnownIfacesEntity()
    {
       JBossEnterpriseBeanMetaData beanMD = getEntityMetaData();
@@ -139,27 +141,21 @@
       sbeanMD.setHome("org.jboss.ifaces.HomeIF");
       sbeanMD.setRemote("org.jboss.ifaces.RemoteIF");
 
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiNamesWithKnownIfacesEntity-jndi-name", resolvedJndiName);      
       String resolvedJndiNameHome = beanMD.determineResolvedJndiName("org.jboss.ifaces.HomeIF", null);
       assertEquals("testResolvedJndiNamesWithKnownIfacesEntity-jndi-name/home", resolvedJndiNameHome);      
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName("org.jboss.ifaces.LocalHomeIF", null);
       assertEquals("testResolvedJndiNamesWithKnownIfacesEntity-jndi-name/localHome", resolvedJndiNameLocalHome);      
-      String resolvedJndiNameIface = beanMD.determineResolvedJndiName("org.jboss.test.some.IFace", null);
-      assertEquals("testResolvedJndiNamesWithKnownIfacesEntity-jndi-name/org.jboss.test.some.IFace", resolvedJndiNameIface);      
    }
 
    /**
     * Test the determineResolvedJndiName with a jndiBindingPolicy on the
-    * JBossEnterpriseBeanMetaData
+    * JBossSessionPolicyDecorator
     * 
     */
    public void testResolvedJndiNamesWithMDPolicy()
    {
       JBossEnterpriseBeanMetaData beanMD = getEjbMetaData();
       beanMD.setJndiBindingPolicy(EjbNameJndiBindingPolicy.class.getName());
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, null);
-      assertEquals("testResolvedJndiNamesWithMDPolicy-ejb", resolvedJndiName);      
       String resolvedJndiNameRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, null);
       assertEquals("testResolvedJndiNamesWithMDPolicy-ejbRemote", resolvedJndiNameRemote);      
       String resolvedJndiNameHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, null);
@@ -167,9 +163,7 @@
       String resolvedJndiNameLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, null);
       assertEquals("testResolvedJndiNamesWithMDPolicy-ejbLocal", resolvedJndiNameLocal);      
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, null);
-      assertEquals("testResolvedJndiNamesWithMDPolicy-ejbLocalHome", resolvedJndiNameLocalHome);      
-      String resolvedJndiNameIface = beanMD.determineResolvedJndiName("org.jboss.test.some.IFace", null);
-      assertEquals("testResolvedJndiNamesWithMDPolicy-ejb/org.jboss.test.some.IFace", resolvedJndiNameIface);      
+      assertEquals("testResolvedJndiNamesWithMDPolicy-ejbLocalHome", resolvedJndiNameLocalHome);
    }
    /**
     * Test the determineResolvedJndiName with a jndiBindingPolicy passed into
@@ -180,8 +174,6 @@
    {
       JBossEnterpriseBeanMetaData beanMD = getEjbMetaData();
       EjbNameJndiBindingPolicy policy = new EjbNameJndiBindingPolicy();
-      String resolvedJndiName = beanMD.determineResolvedJndiName(null, policy);
-      assertEquals("testResolvedJndiNamesWithExternalPolicy-ejb", resolvedJndiName);      
       String resolvedJndiNameRemote = beanMD.determineResolvedJndiName(KnownInterfaces.REMOTE, policy);
       assertEquals("testResolvedJndiNamesWithExternalPolicy-ejbRemote", resolvedJndiNameRemote);      
       String resolvedJndiNameHome = beanMD.determineResolvedJndiName(KnownInterfaces.HOME, policy);
@@ -189,9 +181,7 @@
       String resolvedJndiNameLocal = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL, policy);
       assertEquals("testResolvedJndiNamesWithExternalPolicy-ejbLocal", resolvedJndiNameLocal);      
       String resolvedJndiNameLocalHome = beanMD.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME, policy);
-      assertEquals("testResolvedJndiNamesWithExternalPolicy-ejbLocalHome", resolvedJndiNameLocalHome);      
-      String resolvedJndiNameIface = beanMD.determineResolvedJndiName("org.jboss.test.some.IFace", policy);
-      assertEquals("testResolvedJndiNamesWithExternalPolicy-ejb/org.jboss.test.some.IFace", resolvedJndiNameIface);      
+      assertEquals("testResolvedJndiNamesWithExternalPolicy-ejbLocalHome", resolvedJndiNameLocalHome);            
    }
 
    /**
@@ -219,7 +209,9 @@
       beans.setEjbJarMetaData(jbossMetaData);
       beans.add(sbeanMD);
       jbossMetaData.setEnterpriseBeans(beans);
-      return sbeanMD;
+      
+      // We want the meta data decorated with the JNDI binding policy.
+      return new JBossSessionPolicyDecorator(sbeanMD);
    }
    /**
     * Creates a JBossEntityBeanMetaData with associated JBossMetaData with:

Added: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase.java	                        (rev 0)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase.java	2008-05-28 13:06:46 UTC (rev 73740)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.metadata.jbmeta42.unit;
+
+import junit.framework.Test;
+
+import org.jboss.metadata.ejb.jboss.JBossMetaData;
+import org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData;
+import org.jboss.metadata.ejb.jboss.JBossSessionPolicyDecorator;
+import org.jboss.metadata.ejb.jboss.jndipolicy.spi.KnownInterfaces;
+import org.jboss.metadata.ejb.spec.EjbJar21MetaData;
+import org.jboss.metadata.ejb.spec.EjbJar2xMetaData;
+import org.jboss.test.metadata.ejb.AbstractEJBEverythingTest;
+import org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver;
+
+/**
+ * Legacy ejb 2.x naming tests 
+ * 
+ * @author <a href="mailto:emuckenh at redhat.com">Emanuel Muckenhuber</a>
+ * @version $Revision$
+ */
+public class Default2xNamingStrategyTestCase extends AbstractEJBEverythingTest
+{
+   public static Test suite()
+   {
+      return suite(Default2xNamingStrategyTestCase.class);
+   }
+
+   public static SchemaBindingResolver initResolver()
+   {
+      return schemaResolverForClass(EjbJar21MetaData.class);
+   }
+   
+   public Default2xNamingStrategyTestCase(String name)
+   {
+      super(name);
+   }
+   
+   protected EjbJar21MetaData unmarshal() throws Exception
+   {
+      return unmarshal(EjbJar21MetaData.class);
+   }
+   
+   public void testEverything() throws Exception
+   {
+      EjbJar2xMetaData ejbJarMetaData = unmarshal();
+      
+      JBossMetaData mergedMetaData = new JBossMetaData();
+      JBossMetaData metaData = null;
+      mergedMetaData.merge(metaData, ejbJarMetaData);
+      
+      assertSessionBeans((JBossSessionBeanMetaData) mergedMetaData.getEnterpriseBean("session1EjbName"));
+      assertSessionBeans((JBossSessionBeanMetaData) mergedMetaData.getEnterpriseBean("session2EjbName"));
+   }
+   
+   protected void assertSessionBeans(JBossSessionBeanMetaData metaData)
+   {
+      metaData = new JBossSessionPolicyDecorator(metaData);
+      
+      assertNotNull(metaData);
+      
+      assertLocalHome(metaData);
+      assertHome(metaData);
+   }
+
+   
+   protected void assertLocalHome(JBossSessionBeanMetaData metaData)
+   {
+      String expected = "local/" + metaData.getEjbName() + '@' + System.identityHashCode(metaData.getEjbName());
+      
+      assertEquals(expected, metaData.determineLocalJndiName());
+      assertEquals(expected, metaData.getLocalHomeJndiName());
+      assertEquals(expected, metaData.getLocalJndiName());
+      assertEquals(expected, metaData.determineResolvedJndiName(KnownInterfaces.LOCAL_HOME));
+   }
+   
+   protected void assertHome(JBossSessionBeanMetaData metaData)
+   {
+      assertEquals(metaData.getEjbName(), metaData.determineJndiName());
+      assertEquals(metaData.getEjbName(), metaData.getJndiName());
+      assertEquals(metaData.getEjbName(), metaData.getHomeJndiName());
+      assertEquals(metaData.getEjbName(), metaData.determineResolvedJndiName(KnownInterfaces.HOME));
+   }
+}
+

Added: projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase_testEverything.xml
===================================================================
--- projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase_testEverything.xml	                        (rev 0)
+++ projects/metadata/trunk/src/test/resources/org/jboss/test/metadata/jbmeta42/unit/Default2xNamingStrategyTestCase_testEverything.xml	2008-05-28 13:06:46 UTC (rev 73740)
@@ -0,0 +1,3438 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Id -->
+<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"
+   id="ejb-jar-id">
+         
+   <description>en-ejb-jar-desc</description>
+   <description xml:lang="fr">fr-ejb-jar-desc</description>
+   <description xml:lang="de">de-ejb-jar-desc</description>
+   <display-name>en-ejb-jar-disp</display-name>
+   <display-name xml:lang="fr">fr-ejb-jar-disp</display-name>
+   <display-name xml:lang="de">de-ejb-jar-disp</display-name>
+   <icon id="en-ejb-jar-icon-id">
+      <small-icon>en-ejb-jar-small-icon</small-icon>
+      <large-icon>en-ejb-jar-large-icon</large-icon>
+   </icon>
+   <icon xml:lang="fr" id="fr-ejb-jar-icon-id">
+      <small-icon>fr-ejb-jar-small-icon</small-icon>
+      <large-icon>fr-ejb-jar-large-icon</large-icon>
+   </icon>
+   <icon xml:lang="de" id="de-ejb-jar-icon-id">
+      <small-icon>de-ejb-jar-small-icon</small-icon>
+      <large-icon>de-ejb-jar-large-icon</large-icon>
+   </icon>
+
+   <enterprise-beans id="enterprise-beans-id">
+
+      <session>
+         <ejb-name>session0EjbName</ejb-name>
+         <ejb-class>session0EjbClass</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Container</transaction-type>
+         <security-identity id="session0SecurityIdentity-id">
+            <use-caller-identity/>
+         </security-identity>
+      </session>
+
+      <session id="session1-id">
+      
+         <description>en-session1-desc</description>
+         <description xml:lang="fr">fr-session1-desc</description>
+         <description xml:lang="de">de-session1-desc</description>
+         <display-name>en-session1-disp</display-name>
+         <display-name xml:lang="fr">fr-session1-disp</display-name>
+         <display-name xml:lang="de">de-session1-disp</display-name>
+         <icon id="en-session1-icon-id">
+            <small-icon>en-session1-small-icon</small-icon>
+            <large-icon>en-session1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-session1-icon-id">
+            <small-icon>fr-session1-small-icon</small-icon>
+            <large-icon>fr-session1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-session1-icon-id">
+            <small-icon>de-session1-small-icon</small-icon>
+            <large-icon>de-session1-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>session1EjbName</ejb-name>
+
+         <home>session1Home</home>
+         <remote>session1Remote</remote>
+         <local-home>session1LocalHome</local-home>
+         <local>session1Local</local>
+         <service-endpoint>session1ServiceEndpoint</service-endpoint>
+         <ejb-class>session1EjbClass</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Container</transaction-type>
+
+         <env-entry id="session1EnvEntry1-id">
+            <description>en-session1EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-session1EnvEntry1-desc</description>
+            <description xml:lang="de">de-session1EnvEntry1-desc</description>
+            <env-entry-name>session1EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>session1EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="session1EnvEntry2-id">
+            <description>en-session1EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-session1EnvEntry2-desc</description>
+            <description xml:lang="de">de-session1EnvEntry2-desc</description>
+            <env-entry-name>session1EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>session1EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="session1EjbRef1-id">
+            <description>en-session1EjbRef1-desc</description>
+            <description xml:lang="fr">fr-session1EjbRef1-desc</description>
+            <description xml:lang="de">de-session1EjbRef1-desc</description>
+            <ejb-ref-name>session1EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>session1EjbRef1Home</home>
+            <remote>session1EjbRef1Remote</remote>
+            <ejb-link>session1EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="session1EjbRef2-id">
+            <description>en-session1EjbRef2-desc</description>
+            <description xml:lang="fr">fr-session1EjbRef2-desc</description>
+            <description xml:lang="de">de-session1EjbRef2-desc</description>
+            <ejb-ref-name>session1EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>session1EjbRef2Home</home>
+            <remote>session1EjbRef2Remote</remote>
+            <ejb-link>session1EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="session1EjbLocalRef1-id">
+            <description>en-session1EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-session1EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-session1EjbLocalRef1-desc</description>
+            <ejb-ref-name>session1EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>session1EjbLocalRef1LocalHome</local-home>
+            <local>session1EjbLocalRef1Local</local>
+            <ejb-link>session1EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="session1EjbLocalRef2-id">
+            <description>en-session1EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-session1EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-session1EjbLocalRef2-desc</description>
+            <ejb-ref-name>session1EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>session1EjbLocalRef2LocalHome</local-home>
+            <local>session1EjbLocalRef2Local</local>
+            <ejb-link>session1EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+         
+         <service-ref id="session1ServiceRef1-id">
+            <description>en-session1ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-session1ServiceRef1-desc</description>
+            <description xml:lang="de">de-session1ServiceRef1-desc</description>
+            <service-ref-name>session1ServiceRef1Name</service-ref-name>
+            <service-interface>session1ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="session1ServiceRef2-id">
+            <description>en-session1ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-session1ServiceRef2-desc</description>
+            <description xml:lang="de">de-session1ServiceRef2-desc</description>
+            <service-ref-name>session1ServiceRef2Name</service-ref-name>
+            <service-interface>session1ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="session1ResourceRef1-id">
+            <description>en-session1ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-session1ResourceRef1-desc</description>
+            <description xml:lang="de">de-session1ResourceRef1-desc</description>
+            <res-ref-name>session1ResourceRef1Name</res-ref-name>
+            <res-type>session1ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="session1ResourceRef2-id">
+            <description>en-session1ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-session1ResourceRef2-desc</description>
+            <description xml:lang="de">de-session1ResourceRef2-desc</description>
+            <res-ref-name>session1ResourceRef2Name</res-ref-name>
+            <res-type>session1ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="session1ResourceEnvRef1-id">
+            <description>en-session1ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-session1ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-session1ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>session1ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>session1ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="session1ResourceEnvRef2-id">
+            <description>en-session1ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-session1ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-session1ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>session1ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>session1ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="session1MessageDestinationRef1-id">
+            <description>en-session1MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-session1MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-session1MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>session1MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>session1MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>session1MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="session1MessageDestinationRef2-id">
+            <description>en-session1MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-session1MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-session1MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>session1MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>session1MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>session1MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="session1MessageDestinationRef3-id">
+            <description>en-session1MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-session1MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-session1MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>session1MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>session1MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>session1MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+         <security-role-ref id="session1SecurityRoleRef1-id">
+            <description>en-session1SecurityRoleRef1-desc</description>
+            <description xml:lang="fr">fr-session1SecurityRoleRef1-desc</description>
+            <description xml:lang="de">de-session1SecurityRoleRef1-desc</description>
+            <role-name>session1SecurityRoleRef1RoleName</role-name>
+            <role-link>securityRoleRef1RoleLink</role-link>
+         </security-role-ref>
+         <security-role-ref id="session1SecurityRoleRef2-id">
+            <description>en-session1SecurityRoleRef2-desc</description>
+            <description xml:lang="fr">fr-session1SecurityRoleRef2-desc</description>
+            <description xml:lang="de">de-session1SecurityRoleRef2-desc</description>
+            <role-name>session1SecurityRoleRef2RoleName</role-name>
+            <role-link>securityRoleRef2RoleLink</role-link>
+         </security-role-ref>
+         <security-identity id="session1SecurityIdentity-id">
+            <description>en-session1SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-session1SecurityIdentity-desc</description>
+            <description xml:lang="de">de-session1SecurityIdentity-desc</description>
+            <run-as id="session1SecurityIdentityRunAs-id">
+               <description>en-session1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-session1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-session1SecurityIdentityRunAs-desc</description>
+               <role-name>session1SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+
+      </session>
+
+      <session id="session2-id">
+      
+         <description>en-session2-desc</description>
+         <description xml:lang="fr">fr-session2-desc</description>
+         <description xml:lang="de">de-session2-desc</description>
+         <display-name>en-session2-disp</display-name>
+         <display-name xml:lang="fr">fr-session2-disp</display-name>
+         <display-name xml:lang="de">de-session2-disp</display-name>
+         <icon id="en-session2-icon-id">
+            <small-icon>en-session2-small-icon</small-icon>
+            <large-icon>en-session2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-session2-icon-id">
+            <small-icon>fr-session2-small-icon</small-icon>
+            <large-icon>fr-session2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-session2-icon-id">
+            <small-icon>de-session2-small-icon</small-icon>
+            <large-icon>de-session2-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>session2EjbName</ejb-name>
+
+         <home>session2Home</home>
+         <remote>session2Remote</remote>
+         <local-home>session2LocalHome</local-home>
+         <local>session2Local</local>
+         <service-endpoint>session2ServiceEndpoint</service-endpoint>
+         <ejb-class>session2EjbClass</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Container</transaction-type>
+
+         <env-entry id="session2EnvEntry1-id">
+            <description>en-session2EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-session2EnvEntry1-desc</description>
+            <description xml:lang="de">de-session2EnvEntry1-desc</description>
+            <env-entry-name>session2EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>session2EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="session2EnvEntry2-id">
+            <description>en-session2EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-session2EnvEntry2-desc</description>
+            <description xml:lang="de">de-session2EnvEntry2-desc</description>
+            <env-entry-name>session2EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>session2EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="session2EjbRef1-id">
+            <description>en-session2EjbRef1-desc</description>
+            <description xml:lang="fr">fr-session2EjbRef1-desc</description>
+            <description xml:lang="de">de-session2EjbRef1-desc</description>
+            <ejb-ref-name>session2EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>session2EjbRef1Home</home>
+            <remote>session2EjbRef1Remote</remote>
+            <ejb-link>session2EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="session2EjbRef2-id">
+            <description>en-session2EjbRef2-desc</description>
+            <description xml:lang="fr">fr-session2EjbRef2-desc</description>
+            <description xml:lang="de">de-session2EjbRef2-desc</description>
+            <ejb-ref-name>session2EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>session2EjbRef2Home</home>
+            <remote>session2EjbRef2Remote</remote>
+            <ejb-link>session2EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="session2EjbLocalRef1-id">
+            <description>en-session2EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-session2EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-session2EjbLocalRef1-desc</description>
+            <ejb-ref-name>session2EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>session2EjbLocalRef1LocalHome</local-home>
+            <local>session2EjbLocalRef1Local</local>
+            <ejb-link>session2EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="session2EjbLocalRef2-id">
+            <description>en-session2EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-session2EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-session2EjbLocalRef2-desc</description>
+            <ejb-ref-name>session2EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>session2EjbLocalRef2LocalHome</local-home>
+            <local>session2EjbLocalRef2Local</local>
+            <ejb-link>session2EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+
+         <service-ref id="session2ServiceRef1-id">
+            <description>en-session2ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-session2ServiceRef1-desc</description>
+            <description xml:lang="de">de-session2ServiceRef1-desc</description>
+            <service-ref-name>session2ServiceRef1Name</service-ref-name>
+            <service-interface>session2ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="session2ServiceRef2-id">
+            <description>en-session2ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-session2ServiceRef2-desc</description>
+            <description xml:lang="de">de-session2ServiceRef2-desc</description>
+            <service-ref-name>session2ServiceRef2Name</service-ref-name>
+            <service-interface>session2ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="session2ResourceRef1-id">
+            <description>en-session2ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-session2ResourceRef1-desc</description>
+            <description xml:lang="de">de-session2ResourceRef1-desc</description>
+            <res-ref-name>session2ResourceRef1Name</res-ref-name>
+            <res-type>session2ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="session2ResourceRef2-id">
+            <description>en-session2ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-session2ResourceRef2-desc</description>
+            <description xml:lang="de">de-session2ResourceRef2-desc</description>
+            <res-ref-name>session2ResourceRef2Name</res-ref-name>
+            <res-type>session2ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="session2ResourceEnvRef1-id">
+            <description>en-session2ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-session2ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-session2ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>session2ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>session2ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="session2ResourceEnvRef2-id">
+            <description>en-session2ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-session2ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-session2ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>session2ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>session2ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="session2MessageDestinationRef1-id">
+            <description>en-session2MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-session2MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-session2MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>session2MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>session2MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>session2MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="session2MessageDestinationRef2-id">
+            <description>en-session2MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-session2MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-session2MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>session2MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>session2MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>session2MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="session2MessageDestinationRef3-id">
+            <description>en-session2MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-session2MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-session2MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>session2MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>session2MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>session2MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+         <security-role-ref id="session2SecurityRoleRef1-id">
+            <description>en-session2SecurityRoleRef1-desc</description>
+            <description xml:lang="fr">fr-session2SecurityRoleRef1-desc</description>
+            <description xml:lang="de">de-session2SecurityRoleRef1-desc</description>
+            <role-name>session2SecurityRoleRef1RoleName</role-name>
+            <role-link>securityRoleRef1RoleLink</role-link>
+         </security-role-ref>
+         <security-role-ref id="session2SecurityRoleRef2-id">
+            <description>en-session2SecurityRoleRef2-desc</description>
+            <description xml:lang="fr">fr-session2SecurityRoleRef2-desc</description>
+            <description xml:lang="de">de-session2SecurityRoleRef2-desc</description>
+            <role-name>session2SecurityRoleRef2RoleName</role-name>
+            <role-link>securityRoleRef2RoleLink</role-link>
+         </security-role-ref>
+         <security-identity id="session2SecurityIdentity-id">
+            <description>en-session2SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-session2SecurityIdentity-desc</description>
+            <description xml:lang="de">de-session2SecurityIdentity-desc</description>
+            <run-as id="session2SecurityIdentityRunAs-id">
+               <description>en-session2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-session2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-session2SecurityIdentityRunAs-desc</description>
+               <role-name>session2SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+
+      </session>
+
+      <session>
+         <ejb-name>session3EjbName</ejb-name>
+         <ejb-class>session3EjbClass</ejb-class>
+         <session-type>Stateful</session-type>
+         <transaction-type>Container</transaction-type>
+         <security-identity id="session3SecurityIdentity-id">
+            <use-caller-identity/>
+         </security-identity>
+      </session>
+
+      <session>
+         <ejb-name>session4EjbName</ejb-name>
+         <ejb-class>session4EjbClass</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Bean</transaction-type>
+      </session>
+
+      <session>
+         <ejb-name>session5EjbName</ejb-name>
+         <ejb-class>session5EjbClass</ejb-class>
+         <session-type>Stateless</session-type>
+         <transaction-type>Container</transaction-type>
+         <security-identity>
+            <use-caller-identity id="session5Ejb-caller-identity"/>
+         </security-identity>
+      </session>
+
+      <entity>
+         <ejb-name>entity0EjbName</ejb-name>
+         <ejb-class>entity0EjbClass</ejb-class>
+         <persistence-type>Container</persistence-type>
+         <prim-key-class>entity0EjbKeyClass</prim-key-class>
+         <reentrant>false</reentrant>
+         <security-identity id="entity0SecurityIdentity-id">
+            <use-caller-identity/>
+         </security-identity>
+      </entity>
+
+      <entity id="entity1-id">
+      
+         <description>en-entity1-desc</description>
+         <description xml:lang="fr">fr-entity1-desc</description>
+         <description xml:lang="de">de-entity1-desc</description>
+         <display-name>en-entity1-disp</display-name>
+         <display-name xml:lang="fr">fr-entity1-disp</display-name>
+         <display-name xml:lang="de">de-entity1-disp</display-name>
+         <icon id="en-entity1-icon-id">
+            <small-icon>en-entity1-small-icon</small-icon>
+            <large-icon>en-entity1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-entity1-icon-id">
+            <small-icon>fr-entity1-small-icon</small-icon>
+            <large-icon>fr-entity1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-entity1-icon-id">
+            <small-icon>de-entity1-small-icon</small-icon>
+            <large-icon>de-entity1-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>entity1EjbName</ejb-name>
+
+         <home>entity1Home</home>
+         <remote>entity1Remote</remote>
+         <local-home>entity1LocalHome</local-home>
+         <local>entity1Local</local>
+         <ejb-class>entity1EjbClass</ejb-class>
+         <persistence-type>Container</persistence-type>
+         <prim-key-class>entity1PrimKeyClass</prim-key-class>
+         <reentrant>true</reentrant>
+         <cmp-version>2.x</cmp-version>
+         <abstract-schema-name>entity1AbstractSchemaName</abstract-schema-name>
+         <cmp-field id="entity1CmpField1-id">
+            <field-name>entity1CmpField1</field-name>
+         </cmp-field>
+         <cmp-field id="entity1CmpField2-id">
+            <field-name>entity1CmpField2</field-name>
+         </cmp-field>
+         <primkey-field>entity1PrimKeyField</primkey-field>
+
+         <env-entry id="entity1EnvEntry1-id">
+            <description>en-entity1EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-entity1EnvEntry1-desc</description>
+            <description xml:lang="de">de-entity1EnvEntry1-desc</description>
+            <env-entry-name>entity1EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>entity1EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="entity1EnvEntry2-id">
+            <description>en-entity1EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-entity1EnvEntry2-desc</description>
+            <description xml:lang="de">de-entity1EnvEntry2-desc</description>
+            <env-entry-name>entity1EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>entity1EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="entity1EjbRef1-id">
+            <description>en-entity1EjbRef1-desc</description>
+            <description xml:lang="fr">fr-entity1EjbRef1-desc</description>
+            <description xml:lang="de">de-entity1EjbRef1-desc</description>
+            <ejb-ref-name>entity1EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>entity1EjbRef1Home</home>
+            <remote>entity1EjbRef1Remote</remote>
+            <ejb-link>entity1EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="entity1EjbRef2-id">
+            <description>en-entity1EjbRef2-desc</description>
+            <description xml:lang="fr">fr-entity1EjbRef2-desc</description>
+            <description xml:lang="de">de-entity1EjbRef2-desc</description>
+            <ejb-ref-name>entity1EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>entity1EjbRef2Home</home>
+            <remote>entity1EjbRef2Remote</remote>
+            <ejb-link>entity1EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="entity1EjbLocalRef1-id">
+            <description>en-entity1EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-entity1EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-entity1EjbLocalRef1-desc</description>
+            <ejb-ref-name>entity1EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>entity1EjbLocalRef1LocalHome</local-home>
+            <local>entity1EjbLocalRef1Local</local>
+            <ejb-link>entity1EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="entity1EjbLocalRef2-id">
+            <description>en-entity1EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-entity1EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-entity1EjbLocalRef2-desc</description>
+            <ejb-ref-name>entity1EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>entity1EjbLocalRef2LocalHome</local-home>
+            <local>entity1EjbLocalRef2Local</local>
+            <ejb-link>entity1EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+         
+         <!-- service ref -->
+         <service-ref id="entity1ServiceRef1-id">
+            <description>en-entity1ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-entity1ServiceRef1-desc</description>
+            <description xml:lang="de">de-entity1ServiceRef1-desc</description>
+            <service-ref-name>entity1ServiceRef1Name</service-ref-name>
+            <service-interface>entity1ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="entity1ServiceRef2-id">
+            <description>en-entity1ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-entity1ServiceRef2-desc</description>
+            <description xml:lang="de">de-entity1ServiceRef2-desc</description>
+            <service-ref-name>entity1ServiceRef2Name</service-ref-name>
+            <service-interface>entity1ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="entity1ResourceRef1-id">
+            <description>en-entity1ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-entity1ResourceRef1-desc</description>
+            <description xml:lang="de">de-entity1ResourceRef1-desc</description>
+            <res-ref-name>entity1ResourceRef1Name</res-ref-name>
+            <res-type>entity1ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="entity1ResourceRef2-id">
+            <description>en-entity1ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-entity1ResourceRef2-desc</description>
+            <description xml:lang="de">de-entity1ResourceRef2-desc</description>
+            <res-ref-name>entity1ResourceRef2Name</res-ref-name>
+            <res-type>entity1ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="entity1ResourceEnvRef1-id">
+            <description>en-entity1ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-entity1ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-entity1ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>entity1ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>entity1ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="entity1ResourceEnvRef2-id">
+            <description>en-entity1ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-entity1ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-entity1ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>entity1ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>entity1ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="entity1MessageDestinationRef1-id">
+            <description>en-entity1MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-entity1MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-entity1MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>entity1MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>entity1MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>entity1MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="entity1MessageDestinationRef2-id">
+            <description>en-entity1MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-entity1MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-entity1MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>entity1MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>entity1MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>entity1MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="entity1MessageDestinationRef3-id">
+            <description>en-entity1MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-entity1MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-entity1MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>entity1MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>entity1MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>entity1MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+         
+         <security-role-ref id="entity1SecurityRoleRef1-id">
+            <description>en-entity1SecurityRoleRef1-desc</description>
+            <description xml:lang="fr">fr-entity1SecurityRoleRef1-desc</description>
+            <description xml:lang="de">de-entity1SecurityRoleRef1-desc</description>
+            <role-name>entity1SecurityRoleRef1RoleName</role-name>
+            <role-link>securityRoleRef1RoleLink</role-link>
+         </security-role-ref>
+         <security-role-ref id="entity1SecurityRoleRef2-id">
+            <description>en-entity1SecurityRoleRef2-desc</description>
+            <description xml:lang="fr">fr-entity1SecurityRoleRef2-desc</description>
+            <description xml:lang="de">de-entity1SecurityRoleRef2-desc</description>
+            <role-name>entity1SecurityRoleRef2RoleName</role-name>
+            <role-link>securityRoleRef2RoleLink</role-link>
+         </security-role-ref>
+         <security-identity id="entity1SecurityIdentity-id">
+            <description>en-entity1SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-entity1SecurityIdentity-desc</description>
+            <description xml:lang="de">de-entity1SecurityIdentity-desc</description>
+            <run-as id="entity1SecurityIdentityRunAs-id">
+               <description>en-entity1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-entity1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-entity1SecurityIdentityRunAs-desc</description>
+               <role-name>entity1SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+         <query id="entity1Query1-id">
+            <description>en-entity1Query1-desc</description>
+            <query-method id="entity1Query1QueryMethod-id">
+               <method-name>entity1Query1QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity1Query1QueryMethodParam1</method-param>
+                  <method-param>entity1Query1QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <result-type-mapping>Local</result-type-mapping>
+            <ejb-ql>entity1Query1EjbQL</ejb-ql>    
+         </query>
+         <query id="entity1Query2-id">
+            <description>en-entity1Query2-desc</description>
+            <query-method id="entity1Query2QueryMethod-id">
+               <method-name>entity1Query2QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity1Query2QueryMethodParam1</method-param>
+                  <method-param>entity1Query2QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <result-type-mapping>Remote</result-type-mapping>
+            <ejb-ql>entity1Query2EjbQL</ejb-ql>    
+         </query>
+         <query id="entity1Query3-id">
+            <description>en-entity1Query3-desc</description>
+            <query-method id="entity1Query3QueryMethod-id">
+               <method-name>entity1Query3QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity1Query3QueryMethodParam1</method-param>
+                  <method-param>entity1Query3QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <!-- test default value <result-type-mapping>Local</result-type-mapping> -->
+            <ejb-ql>entity1Query3EjbQL</ejb-ql>    
+         </query>
+         
+      </entity>
+
+      <entity id="entity2-id">
+      
+         <description>en-entity2-desc</description>
+         <description xml:lang="fr">fr-entity2-desc</description>
+         <description xml:lang="de">de-entity2-desc</description>
+         <display-name>en-entity2-disp</display-name>
+         <display-name xml:lang="fr">fr-entity2-disp</display-name>
+         <display-name xml:lang="de">de-entity2-disp</display-name>
+         <icon id="en-entity2-icon-id">
+            <small-icon>en-entity2-small-icon</small-icon>
+            <large-icon>en-entity2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-entity2-icon-id">
+            <small-icon>fr-entity2-small-icon</small-icon>
+            <large-icon>fr-entity2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-entity2-icon-id">
+            <small-icon>de-entity2-small-icon</small-icon>
+            <large-icon>de-entity2-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>entity2EjbName</ejb-name>
+
+         <home>entity2Home</home>
+         <remote>entity2Remote</remote>
+         <local-home>entity2LocalHome</local-home>
+         <local>entity2Local</local>
+         <ejb-class>entity2EjbClass</ejb-class>
+         <persistence-type>Container</persistence-type>
+         <prim-key-class>entity2PrimKeyClass</prim-key-class>
+         <reentrant>true</reentrant>
+         <cmp-version>2.x</cmp-version>
+         <abstract-schema-name>entity2AbstractSchemaName</abstract-schema-name>
+         <cmp-field id="entity2CmpField1-id">
+            <field-name>entity2CmpField1</field-name>
+         </cmp-field>
+         <cmp-field id="entity2CmpField2-id">
+            <field-name>entity2CmpField2</field-name>
+         </cmp-field>
+         <primkey-field>entity2PrimKeyField</primkey-field>
+
+         <env-entry id="entity2EnvEntry1-id">
+            <description>en-entity2EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-entity2EnvEntry1-desc</description>
+            <description xml:lang="de">de-entity2EnvEntry1-desc</description>
+            <env-entry-name>entity2EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>entity2EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="entity2EnvEntry2-id">
+            <description>en-entity2EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-entity2EnvEntry2-desc</description>
+            <description xml:lang="de">de-entity2EnvEntry2-desc</description>
+            <env-entry-name>entity2EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>entity2EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="entity2EjbRef1-id">
+            <description>en-entity2EjbRef1-desc</description>
+            <description xml:lang="fr">fr-entity2EjbRef1-desc</description>
+            <description xml:lang="de">de-entity2EjbRef1-desc</description>
+            <ejb-ref-name>entity2EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>entity2EjbRef1Home</home>
+            <remote>entity2EjbRef1Remote</remote>
+            <ejb-link>entity2EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="entity2EjbRef2-id">
+            <description>en-entity2EjbRef2-desc</description>
+            <description xml:lang="fr">fr-entity2EjbRef2-desc</description>
+            <description xml:lang="de">de-entity2EjbRef2-desc</description>
+            <ejb-ref-name>entity2EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>entity2EjbRef2Home</home>
+            <remote>entity2EjbRef2Remote</remote>
+            <ejb-link>entity2EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="entity2EjbLocalRef1-id">
+            <description>en-entity2EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-entity2EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-entity2EjbLocalRef1-desc</description>
+            <ejb-ref-name>entity2EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>entity2EjbLocalRef1LocalHome</local-home>
+            <local>entity2EjbLocalRef1Local</local>
+            <ejb-link>entity2EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="entity2EjbLocalRef2-id">
+            <description>en-entity2EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-entity2EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-entity2EjbLocalRef2-desc</description>
+            <ejb-ref-name>entity2EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>entity2EjbLocalRef2LocalHome</local-home>
+            <local>entity2EjbLocalRef2Local</local>
+            <ejb-link>entity2EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+         
+         <!-- service ref -->
+         <service-ref id="entity2ServiceRef1-id">
+            <description>en-entity2ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-entity2ServiceRef1-desc</description>
+            <description xml:lang="de">de-entity2ServiceRef1-desc</description>
+            <service-ref-name>entity2ServiceRef1Name</service-ref-name>
+            <service-interface>entity2ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="entity2ServiceRef2-id">
+            <description>en-entity2ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-entity2ServiceRef2-desc</description>
+            <description xml:lang="de">de-entity2ServiceRef2-desc</description>
+            <service-ref-name>entity2ServiceRef2Name</service-ref-name>
+            <service-interface>entity2ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="entity2ResourceRef1-id">
+            <description>en-entity2ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-entity2ResourceRef1-desc</description>
+            <description xml:lang="de">de-entity2ResourceRef1-desc</description>
+            <res-ref-name>entity2ResourceRef1Name</res-ref-name>
+            <res-type>entity2ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="entity2ResourceRef2-id">
+            <description>en-entity2ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-entity2ResourceRef2-desc</description>
+            <description xml:lang="de">de-entity2ResourceRef2-desc</description>
+            <res-ref-name>entity2ResourceRef2Name</res-ref-name>
+            <res-type>entity2ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="entity2ResourceEnvRef1-id">
+            <description>en-entity2ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-entity2ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-entity2ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>entity2ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>entity2ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="entity2ResourceEnvRef2-id">
+            <description>en-entity2ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-entity2ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-entity2ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>entity2ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>entity2ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="entity2MessageDestinationRef1-id">
+            <description>en-entity2MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-entity2MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-entity2MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>entity2MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>entity2MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>entity2MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="entity2MessageDestinationRef2-id">
+            <description>en-entity2MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-entity2MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-entity2MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>entity2MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>entity2MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>entity2MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="entity2MessageDestinationRef3-id">
+            <description>en-entity2MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-entity2MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-entity2MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>entity2MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>entity2MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>entity2MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+         
+         <security-role-ref id="entity2SecurityRoleRef1-id">
+            <description>en-entity2SecurityRoleRef1-desc</description>
+            <description xml:lang="fr">fr-entity2SecurityRoleRef1-desc</description>
+            <description xml:lang="de">de-entity2SecurityRoleRef1-desc</description>
+            <role-name>entity2SecurityRoleRef1RoleName</role-name>
+            <role-link>securityRoleRef1RoleLink</role-link>
+         </security-role-ref>
+         <security-role-ref id="entity2SecurityRoleRef2-id">
+            <description>en-entity2SecurityRoleRef2-desc</description>
+            <description xml:lang="fr">fr-entity2SecurityRoleRef2-desc</description>
+            <description xml:lang="de">de-entity2SecurityRoleRef2-desc</description>
+            <role-name>entity2SecurityRoleRef2RoleName</role-name>
+            <role-link>securityRoleRef2RoleLink</role-link>
+         </security-role-ref>
+         <security-identity id="entity2SecurityIdentity-id">
+            <description>en-entity2SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-entity2SecurityIdentity-desc</description>
+            <description xml:lang="de">de-entity2SecurityIdentity-desc</description>
+            <run-as id="entity2SecurityIdentityRunAs-id">
+               <description>en-entity2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-entity2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-entity2SecurityIdentityRunAs-desc</description>
+               <role-name>entity2SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+         <query id="entity2Query1-id">
+            <description>en-entity2Query1-desc</description>
+            <query-method id="entity2Query1QueryMethod-id">
+               <method-name>entity2Query1QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity2Query1QueryMethodParam1</method-param>
+                  <method-param>entity2Query1QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <result-type-mapping>Local</result-type-mapping>
+            <ejb-ql>entity2Query1EjbQL</ejb-ql>    
+         </query>
+         <query id="entity2Query2-id">
+            <description>en-entity2Query2-desc</description>
+            <query-method id="entity2Query2QueryMethod-id">
+               <method-name>entity2Query2QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity2Query2QueryMethodParam1</method-param>
+                  <method-param>entity2Query2QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <result-type-mapping>Remote</result-type-mapping>
+            <ejb-ql>entity2Query2EjbQL</ejb-ql>    
+         </query>
+         <query id="entity2Query3-id">
+            <description>en-entity2Query3-desc</description>
+            <query-method id="entity2Query3QueryMethod-id">
+               <method-name>entity2Query3QueryMethod</method-name>
+               <method-params>
+                  <method-param>entity2Query3QueryMethodParam1</method-param>
+                  <method-param>entity2Query3QueryMethodParam2</method-param>
+               </method-params>
+            </query-method>
+            <!-- test default value <result-type-mapping>Local</result-type-mapping> -->
+            <ejb-ql>entity2Query3EjbQL</ejb-ql>    
+         </query>
+         
+      </entity>
+
+      <entity>
+         <ejb-name>entity3EjbName</ejb-name>
+         <ejb-class>entity3Class</ejb-class>
+         <persistence-type>Bean</persistence-type>
+         <prim-key-class>entity3EjbKeyClass</prim-key-class>
+         <reentrant>false</reentrant>
+      </entity>
+
+      <entity>
+         <ejb-name>entity4EjbName</ejb-name>
+         <ejb-class>entity4Class</ejb-class>
+         <persistence-type>Container</persistence-type>
+         <prim-key-class>java.lang.Object</prim-key-class>
+         <reentrant>false</reentrant>
+      </entity>
+
+      <entity>
+         <ejb-name>entity5EjbName</ejb-name>
+         <ejb-class>entity5Class</ejb-class>
+         <persistence-type>Container</persistence-type>
+         <prim-key-class>java.lang.Object</prim-key-class>
+         <reentrant>false</reentrant>
+         <cmp-version>1.x</cmp-version>
+      </entity>
+
+      <message-driven>
+         <ejb-name>mdb0EjbName</ejb-name>
+         <ejb-class>mdb0EjbClass</ejb-class>
+         <transaction-type>Container</transaction-type>
+         <security-identity id="mdb0SecurityIdentity-id">
+            <use-caller-identity/>
+         </security-identity>
+      </message-driven>
+
+      <message-driven id="mdb1-id">
+      
+         <description>en-mdb1-desc</description>
+         <description xml:lang="fr">fr-mdb1-desc</description>
+         <description xml:lang="de">de-mdb1-desc</description>
+         <display-name>en-mdb1-disp</display-name>
+         <display-name xml:lang="fr">fr-mdb1-disp</display-name>
+         <display-name xml:lang="de">de-mdb1-disp</display-name>
+         <icon id="en-mdb1-icon-id">
+            <small-icon>en-mdb1-small-icon</small-icon>
+            <large-icon>en-mdb1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-mdb1-icon-id">
+            <small-icon>fr-mdb1-small-icon</small-icon>
+            <large-icon>fr-mdb1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-mdb1-icon-id">
+            <small-icon>de-mdb1-small-icon</small-icon>
+            <large-icon>de-mdb1-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>mdb1EjbName</ejb-name>
+
+         <ejb-class>mdb1EjbClass</ejb-class>
+         <messaging-type>mdb1MessagingType</messaging-type>
+         <transaction-type>Container</transaction-type>
+         <message-destination-type>mdb1MessageDestinationType</message-destination-type>
+         <message-destination-link>mdb1MessageDestinationLink</message-destination-link>
+         <activation-config id="mdb1ActivationConfig-id">
+            <activation-config-property id="mdb1ActivationConfigProperty1-id">
+               <activation-config-property-name>mdb1ActivationConfigProperty1Name</activation-config-property-name>
+               <activation-config-property-value>mdb1ActivationConfigProperty1Value</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property id="mdb1ActivationConfigProperty2-id">
+               <activation-config-property-name>mdb1ActivationConfigProperty2Name</activation-config-property-name>
+               <activation-config-property-value>mdb1ActivationConfigProperty2Value</activation-config-property-value>
+            </activation-config-property>
+         </activation-config>
+
+         <env-entry id="mdb1EnvEntry1-id">
+            <description>en-mdb1EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-mdb1EnvEntry1-desc</description>
+            <description xml:lang="de">de-mdb1EnvEntry1-desc</description>
+            <env-entry-name>mdb1EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>mdb1EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="mdb1EnvEntry2-id">
+            <description>en-mdb1EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-mdb1EnvEntry2-desc</description>
+            <description xml:lang="de">de-mdb1EnvEntry2-desc</description>
+            <env-entry-name>mdb1EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>mdb1EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="mdb1EjbRef1-id">
+            <description>en-mdb1EjbRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1EjbRef1-desc</description>
+            <description xml:lang="de">de-mdb1EjbRef1-desc</description>
+            <ejb-ref-name>mdb1EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>mdb1EjbRef1Home</home>
+            <remote>mdb1EjbRef1Remote</remote>
+            <ejb-link>mdb1EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="mdb1EjbRef2-id">
+            <description>en-mdb1EjbRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1EjbRef2-desc</description>
+            <description xml:lang="de">de-mdb1EjbRef2-desc</description>
+            <ejb-ref-name>mdb1EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>mdb1EjbRef2Home</home>
+            <remote>mdb1EjbRef2Remote</remote>
+            <ejb-link>mdb1EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="mdb1EjbLocalRef1-id">
+            <description>en-mdb1EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-mdb1EjbLocalRef1-desc</description>
+            <ejb-ref-name>mdb1EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>mdb1EjbLocalRef1LocalHome</local-home>
+            <local>mdb1EjbLocalRef1Local</local>
+            <ejb-link>mdb1EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="mdb1EjbLocalRef2-id">
+            <description>en-mdb1EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-mdb1EjbLocalRef2-desc</description>
+            <ejb-ref-name>mdb1EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>mdb1EjbLocalRef2LocalHome</local-home>
+            <local>mdb1EjbLocalRef2Local</local>
+            <ejb-link>mdb1EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+         
+         <!-- service ref -->
+         <service-ref id="mdb1ServiceRef1-id">
+            <description>en-mdb1ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1ServiceRef1-desc</description>
+            <description xml:lang="de">de-mdb1ServiceRef1-desc</description>
+            <service-ref-name>mdb1ServiceRef1Name</service-ref-name>
+            <service-interface>mdb1ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="mdb1ServiceRef2-id">
+            <description>en-mdb1ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1ServiceRef2-desc</description>
+            <description xml:lang="de">de-mdb1ServiceRef2-desc</description>
+            <service-ref-name>mdb1ServiceRef2Name</service-ref-name>
+            <service-interface>mdb1ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="mdb1ResourceRef1-id">
+            <description>en-mdb1ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1ResourceRef1-desc</description>
+            <description xml:lang="de">de-mdb1ResourceRef1-desc</description>
+            <res-ref-name>mdb1ResourceRef1Name</res-ref-name>
+            <res-type>mdb1ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="mdb1ResourceRef2-id">
+            <description>en-mdb1ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1ResourceRef2-desc</description>
+            <description xml:lang="de">de-mdb1ResourceRef2-desc</description>
+            <res-ref-name>mdb1ResourceRef2Name</res-ref-name>
+            <res-type>mdb1ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="mdb1ResourceEnvRef1-id">
+            <description>en-mdb1ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-mdb1ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>mdb1ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>mdb1ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="mdb1ResourceEnvRef2-id">
+            <description>en-mdb1ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-mdb1ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>mdb1ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>mdb1ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="mdb1MessageDestinationRef1-id">
+            <description>en-mdb1MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-mdb1MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-mdb1MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>mdb1MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>mdb1MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>mdb1MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="mdb1MessageDestinationRef2-id">
+            <description>en-mdb1MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-mdb1MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-mdb1MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>mdb1MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>mdb1MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>mdb1MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="mdb1MessageDestinationRef3-id">
+            <description>en-mdb1MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-mdb1MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-mdb1MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>mdb1MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>mdb1MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>mdb1MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+
+         <security-identity id="mdb1SecurityIdentity-id">
+            <description>en-mdb1SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-mdb1SecurityIdentity-desc</description>
+            <description xml:lang="de">de-mdb1SecurityIdentity-desc</description>
+            <run-as id="mdb1SecurityIdentityRunAs-id">
+               <description>en-mdb1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-mdb1SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-mdb1SecurityIdentityRunAs-desc</description>
+               <role-name>mdb1SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+
+      </message-driven>
+
+      <message-driven id="mdb2-id">
+      
+         <description>en-mdb2-desc</description>
+         <description xml:lang="fr">fr-mdb2-desc</description>
+         <description xml:lang="de">de-mdb2-desc</description>
+         <display-name>en-mdb2-disp</display-name>
+         <display-name xml:lang="fr">fr-mdb2-disp</display-name>
+         <display-name xml:lang="de">de-mdb2-disp</display-name>
+         <icon id="en-mdb2-icon-id">
+            <small-icon>en-mdb2-small-icon</small-icon>
+            <large-icon>en-mdb2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-mdb2-icon-id">
+            <small-icon>fr-mdb2-small-icon</small-icon>
+            <large-icon>fr-mdb2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-mdb2-icon-id">
+            <small-icon>de-mdb2-small-icon</small-icon>
+            <large-icon>de-mdb2-large-icon</large-icon>
+         </icon>
+
+         <ejb-name>mdb2EjbName</ejb-name>
+
+         <ejb-class>mdb2EjbClass</ejb-class>
+         <messaging-type>mdb2MessagingType</messaging-type>
+         <transaction-type>Container</transaction-type>
+         <message-destination-type>mdb2MessageDestinationType</message-destination-type>
+         <message-destination-link>mdb2MessageDestinationLink</message-destination-link>
+         <activation-config id="mdb2ActivationConfig-id">
+            <activation-config-property id="mdb2ActivationConfigProperty1-id">
+               <activation-config-property-name>mdb2ActivationConfigProperty1Name</activation-config-property-name>
+               <activation-config-property-value>mdb2ActivationConfigProperty1Value</activation-config-property-value>
+            </activation-config-property>
+            <activation-config-property id="mdb2ActivationConfigProperty2-id">
+               <activation-config-property-name>mdb2ActivationConfigProperty2Name</activation-config-property-name>
+               <activation-config-property-value>mdb2ActivationConfigProperty2Value</activation-config-property-value>
+            </activation-config-property>
+         </activation-config>
+
+         <env-entry id="mdb2EnvEntry1-id">
+            <description>en-mdb2EnvEntry1-desc</description>
+            <description xml:lang="fr">fr-mdb2EnvEntry1-desc</description>
+            <description xml:lang="de">de-mdb2EnvEntry1-desc</description>
+            <env-entry-name>mdb2EnvEntry1Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>mdb2EnvEntry1Value</env-entry-value>
+         </env-entry>
+         <env-entry id="mdb2EnvEntry2-id">
+            <description>en-mdb2EnvEntry2-desc</description>
+            <description xml:lang="fr">fr-mdb2EnvEntry2-desc</description>
+            <description xml:lang="de">de-mdb2EnvEntry2-desc</description>
+            <env-entry-name>mdb2EnvEntry2Name</env-entry-name>
+            <env-entry-type>java.lang.String</env-entry-type>
+            <env-entry-value>mdb2EnvEntry2Value</env-entry-value>
+         </env-entry>
+         <ejb-ref id="mdb2EjbRef1-id">
+            <description>en-mdb2EjbRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2EjbRef1-desc</description>
+            <description xml:lang="de">de-mdb2EjbRef1-desc</description>
+            <ejb-ref-name>mdb2EjbRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <home>mdb2EjbRef1Home</home>
+            <remote>mdb2EjbRef1Remote</remote>
+            <ejb-link>mdb2EjbRef1EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-ref id="mdb2EjbRef2-id">
+            <description>en-mdb2EjbRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2EjbRef2-desc</description>
+            <description xml:lang="de">de-mdb2EjbRef2-desc</description>
+            <ejb-ref-name>mdb2EjbRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <home>mdb2EjbRef2Home</home>
+            <remote>mdb2EjbRef2Remote</remote>
+            <ejb-link>mdb2EjbRef2EjbLink</ejb-link>
+         </ejb-ref>
+         <ejb-local-ref id="mdb2EjbLocalRef1-id">
+            <description>en-mdb2EjbLocalRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2EjbLocalRef1-desc</description>
+            <description xml:lang="de">de-mdb2EjbLocalRef1-desc</description>
+            <ejb-ref-name>mdb2EjbLocalRef1Name</ejb-ref-name>
+            <ejb-ref-type>Session</ejb-ref-type>
+            <local-home>mdb2EjbLocalRef1LocalHome</local-home>
+            <local>mdb2EjbLocalRef1Local</local>
+            <ejb-link>mdb2EjbLocalRef1EjbLink</ejb-link>
+         </ejb-local-ref>
+         <ejb-local-ref id="mdb2EjbLocalRef2-id">
+            <description>en-mdb2EjbLocalRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2EjbLocalRef2-desc</description>
+            <description xml:lang="de">de-mdb2EjbLocalRef2-desc</description>
+            <ejb-ref-name>mdb2EjbLocalRef2Name</ejb-ref-name>
+            <ejb-ref-type>Entity</ejb-ref-type>
+            <local-home>mdb2EjbLocalRef2LocalHome</local-home>
+            <local>mdb2EjbLocalRef2Local</local>
+            <ejb-link>mdb2EjbLocalRef2EjbLink</ejb-link>
+         </ejb-local-ref>
+         
+         <!-- service ref -->
+         <service-ref id="mdb2ServiceRef1-id">
+            <description>en-mdb2ServiceRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2ServiceRef1-desc</description>
+            <description xml:lang="de">de-mdb2ServiceRef1-desc</description>
+            <service-ref-name>mdb2ServiceRef1Name</service-ref-name>
+            <service-interface>mdb2ServiceRef1Iface</service-interface>
+         </service-ref>
+         <service-ref id="mdb2ServiceRef2-id">
+            <description>en-mdb2ServiceRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2ServiceRef2-desc</description>
+            <description xml:lang="de">de-mdb2ServiceRef2-desc</description>
+            <service-ref-name>mdb2ServiceRef2Name</service-ref-name>
+            <service-interface>mdb2ServiceRef2Iface</service-interface>
+         </service-ref>
+         
+         <resource-ref id="mdb2ResourceRef1-id">
+            <description>en-mdb2ResourceRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2ResourceRef1-desc</description>
+            <description xml:lang="de">de-mdb2ResourceRef1-desc</description>
+            <res-ref-name>mdb2ResourceRef1Name</res-ref-name>
+            <res-type>mdb2ResourceRef1Type</res-type>
+            <res-auth>Application</res-auth>
+            <res-sharing-scope>Shareable</res-sharing-scope>
+         </resource-ref>
+         <resource-ref id="mdb2ResourceRef2-id">
+            <description>en-mdb2ResourceRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2ResourceRef2-desc</description>
+            <description xml:lang="de">de-mdb2ResourceRef2-desc</description>
+            <res-ref-name>mdb2ResourceRef2Name</res-ref-name>
+            <res-type>mdb2ResourceRef2Type</res-type>
+            <res-auth>Container</res-auth>
+            <res-sharing-scope>Unshareable</res-sharing-scope>
+         </resource-ref>
+         <resource-env-ref id="mdb2ResourceEnvRef1-id">
+            <description>en-mdb2ResourceEnvRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2ResourceEnvRef1-desc</description>
+            <description xml:lang="de">de-mdb2ResourceEnvRef1-desc</description>
+            <resource-env-ref-name>mdb2ResourceEnvRef1Name</resource-env-ref-name>
+            <resource-env-ref-type>mdb2ResourceEnvRef1Type</resource-env-ref-type>
+         </resource-env-ref>
+         <resource-env-ref id="mdb2ResourceEnvRef2-id">
+            <description>en-mdb2ResourceEnvRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2ResourceEnvRef2-desc</description>
+            <description xml:lang="de">de-mdb2ResourceEnvRef2-desc</description>
+            <resource-env-ref-name>mdb2ResourceEnvRef2Name</resource-env-ref-name>
+            <resource-env-ref-type>mdb2ResourceEnvRef2Type</resource-env-ref-type>
+         </resource-env-ref>
+         <message-destination-ref id="mdb2MessageDestinationRef1-id">
+            <description>en-mdb2MessageDestinationRef1-desc</description>
+            <description xml:lang="fr">fr-mdb2MessageDestinationRef1-desc</description>
+            <description xml:lang="de">de-mdb2MessageDestinationRef1-desc</description>
+            <message-destination-ref-name>mdb2MessageDestinationRef1Name</message-destination-ref-name>
+            <message-destination-type>mdb2MessageDestinationRef1Type</message-destination-type>
+            <message-destination-usage>Consumes</message-destination-usage>
+            <message-destination-link>mdb2MessageDestinationRef1Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="mdb2MessageDestinationRef2-id">
+            <description>en-mdb2MessageDestinationRef2-desc</description>
+            <description xml:lang="fr">fr-mdb2MessageDestinationRef2-desc</description>
+            <description xml:lang="de">de-mdb2MessageDestinationRef2-desc</description>
+            <message-destination-ref-name>mdb2MessageDestinationRef2Name</message-destination-ref-name>
+            <message-destination-type>mdb2MessageDestinationRef2Type</message-destination-type>
+            <message-destination-usage>Produces</message-destination-usage>
+            <message-destination-link>mdb2MessageDestinationRef2Link</message-destination-link>
+         </message-destination-ref>
+         <message-destination-ref id="mdb2MessageDestinationRef3-id">
+            <description>en-mdb2MessageDestinationRef3-desc</description>
+            <description xml:lang="fr">fr-mdb2MessageDestinationRef3-desc</description>
+            <description xml:lang="de">de-mdb2MessageDestinationRef3-desc</description>
+            <message-destination-ref-name>mdb2MessageDestinationRef3Name</message-destination-ref-name>
+            <message-destination-type>mdb2MessageDestinationRef3Type</message-destination-type>
+            <message-destination-usage>ConsumesProduces</message-destination-usage>
+            <message-destination-link>mdb2MessageDestinationRef3Link</message-destination-link>
+         </message-destination-ref>
+
+         <security-identity id="mdb2SecurityIdentity-id">
+            <description>en-mdb2SecurityIdentity-desc</description>
+            <description xml:lang="fr">fr-mdb2SecurityIdentity-desc</description>
+            <description xml:lang="de">de-mdb2SecurityIdentity-desc</description>
+            <run-as id="mdb2SecurityIdentityRunAs-id">
+               <description>en-mdb2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="fr">fr-mdb2SecurityIdentityRunAs-desc</description>
+               <description xml:lang="de">de-mdb2SecurityIdentityRunAs-desc</description>
+               <role-name>mdb2SecurityIdentityRunAsRoleName</role-name>
+            </run-as>
+         </security-identity>
+
+      </message-driven>
+   </enterprise-beans>   
+
+   <relationships id="relationships-id">
+      <description>en-relationships-desc</description>
+      <description xml:lang="fr">fr-relationships-desc</description>
+      <description xml:lang="de">de-relationships-desc</description>
+      <ejb-relation id="relation1-id">
+         <description>en-relation1-desc</description>
+         <description xml:lang="fr">fr-relation1-desc</description>
+         <description xml:lang="de">de-relation1-desc</description>
+         <ejb-relation-name>relation1Name</ejb-relation-name>
+         <ejb-relationship-role id="relation1Role1-id">
+            <description>en-relation1Role1-desc</description>
+            <description xml:lang="fr">fr-relation1Role1-desc</description>
+            <description xml:lang="de">de-relation1Role1-desc</description>
+            <ejb-relationship-role-name>relation1Role1Name</ejb-relationship-role-name>
+            <multiplicity>One</multiplicity>
+            <cascade-delete id="relation1Role1CascadeDelete-id"/>
+            <relationship-role-source id="relation1Role1RoleSource-id">
+               <description>en-relation1Role1RoleSource-desc</description>
+               <description xml:lang="fr">fr-relation1Role1RoleSource-desc</description>
+               <description xml:lang="de">de-relation1Role1RoleSource-desc</description>
+               <ejb-name>entity5EjbName</ejb-name>
+            </relationship-role-source>
+            <cmr-field id="relation1Role1CmrField-id">
+               <description>en-relation1Role1CmrField-desc</description>
+               <description xml:lang="fr">fr-relation1Role1CmrField-desc</description>
+               <description xml:lang="de">de-relation1Role1CmrField-desc</description>
+               <cmr-field-name>relation1Role1CmrFieldName</cmr-field-name>
+               <cmr-field-type>java.util.Set</cmr-field-type>
+            </cmr-field>
+         </ejb-relationship-role>
+         <ejb-relationship-role id="relation1Role2-id">
+            <description>en-relation1Role2-desc</description>
+            <description xml:lang="fr">fr-relation1Role2-desc</description>
+            <description xml:lang="de">de-relation1Role2-desc</description>
+            <ejb-relationship-role-name>relation1Role2Name</ejb-relationship-role-name>
+            <multiplicity>Many</multiplicity>
+            <cascade-delete id="relation1Role2CascadeDelete-id"/>
+            <relationship-role-source id="relation1Role2RoleSource-id">
+               <description>en-relation1Role2RoleSource-desc</description>
+               <description xml:lang="fr">fr-relation1Role2RoleSource-desc</description>
+               <description xml:lang="de">de-relation1Role2RoleSource-desc</description>
+               <ejb-name>entity5EjbName</ejb-name>
+            </relationship-role-source>
+            <cmr-field id="relation1Role2CmrField-id">
+               <description>en-relation1Role2CmrField-desc</description>
+               <description xml:lang="fr">fr-relation1Role2CmrField-desc</description>
+               <description xml:lang="de">de-relation1Role2CmrField-desc</description>
+               <cmr-field-name>relation1Role2CmrFieldName</cmr-field-name>
+               <cmr-field-type>java.util.Set</cmr-field-type>
+            </cmr-field>
+         </ejb-relationship-role>
+      </ejb-relation>
+      <ejb-relation id="relation2-id">
+         <description>en-relation2-desc</description>
+         <description xml:lang="fr">fr-relation2-desc</description>
+         <description xml:lang="de">de-relation2-desc</description>
+         <ejb-relation-name>relation2Name</ejb-relation-name>
+         <ejb-relationship-role id="relation2Role1-id">
+            <description>en-relation2Role1-desc</description>
+            <description xml:lang="fr">fr-relation2Role1-desc</description>
+            <description xml:lang="de">de-relation2Role1-desc</description>
+            <ejb-relationship-role-name>relation2Role1Name</ejb-relationship-role-name>
+            <multiplicity>One</multiplicity>
+            <cascade-delete id="relation2Role1CascadeDelete-id"/>
+            <relationship-role-source id="relation2Role1RoleSource-id">
+               <description>en-relation2Role1RoleSource-desc</description>
+               <description xml:lang="fr">fr-relation2Role1RoleSource-desc</description>
+               <description xml:lang="de">de-relation2Role1RoleSource-desc</description>
+               <ejb-name>entity5EjbName</ejb-name>
+            </relationship-role-source>
+            <cmr-field id="relation2Role1CmrField-id">
+               <description>en-relation2Role1CmrField-desc</description>
+               <description xml:lang="fr">fr-relation2Role1CmrField-desc</description>
+               <description xml:lang="de">de-relation2Role1CmrField-desc</description>
+               <cmr-field-name>relation2Role1CmrFieldName</cmr-field-name>
+               <cmr-field-type>java.util.Set</cmr-field-type>
+            </cmr-field>
+         </ejb-relationship-role>
+         <ejb-relationship-role id="relation2Role2-id">
+            <description>en-relation2Role2-desc</description>
+            <description xml:lang="fr">fr-relation2Role2-desc</description>
+            <description xml:lang="de">de-relation2Role2-desc</description>
+            <ejb-relationship-role-name>relation2Role2Name</ejb-relationship-role-name>
+            <multiplicity>Many</multiplicity>
+            <cascade-delete id="relation2Role2CascadeDelete-id"/>
+            <relationship-role-source id="relation2Role2RoleSource-id">
+               <description>en-relation2Role2RoleSource-desc</description>
+               <description xml:lang="fr">fr-relation2Role2RoleSource-desc</description>
+               <description xml:lang="de">de-relation2Role2RoleSource-desc</description>
+               <ejb-name>entity5EjbName</ejb-name>
+            </relationship-role-source>
+            <cmr-field id="relation2Role2CmrField-id">
+               <description>en-relation2Role2CmrField-desc</description>
+               <description xml:lang="fr">fr-relation2Role2CmrField-desc</description>
+               <description xml:lang="de">de-relation2Role2CmrField-desc</description>
+               <cmr-field-name>relation2Role2CmrFieldName</cmr-field-name>
+               <cmr-field-type>java.util.Set</cmr-field-type>
+            </cmr-field>
+         </ejb-relationship-role>
+      </ejb-relation>
+   </relationships>
+
+   <assembly-descriptor id="assembly-descriptor-id">
+
+      <security-role id="securityRole1-id">
+         <description>en-securityRole1-desc</description>
+         <description xml:lang="fr">fr-securityRole1-desc</description>
+         <description xml:lang="de">de-securityRole1-desc</description>
+         <role-name>securityRoleRef1RoleLink</role-name>
+      </security-role>
+      <security-role id="securityRole2-id">
+         <description>en-securityRole2-desc</description>
+         <description xml:lang="fr">fr-securityRole2-desc</description>
+         <description xml:lang="de">de-securityRole2-desc</description>
+         <role-name>securityRoleRef2RoleLink</role-name>
+      </security-role>
+
+      <method-permission id="methodPermission1-id">
+         <description>en-methodPermission1-desc</description>
+         <description xml:lang="fr">fr-methodPermission1-desc</description>
+         <description xml:lang="de">de-methodPermission1-desc</description>
+         <unchecked id="methodPermission1Unchecked-id"/>
+         <method id="methodPermission1Method1-id">
+            <description>en-methodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-methodPermission1Method1-desc</description>
+            <description xml:lang="de">de-methodPermission1Method1-desc</description>
+            <ejb-name>methodPermission1Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>methodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>methodPermission1Method1Param1</method-param>
+               <method-param>methodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="methodPermission1Method2-id">
+            <description>en-methodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-methodPermission1Method2-desc</description>
+            <description xml:lang="de">de-methodPermission1Method2-desc</description>
+            <ejb-name>methodPermission1Method2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>methodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="methodPermission1Method3-id">
+            <description>en-methodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-methodPermission1Method3-desc</description>
+            <description xml:lang="de">de-methodPermission1Method3-desc</description>
+            <ejb-name>methodPermission1Method3EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>methodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="methodPermission1Method4-id">
+            <description>en-methodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-methodPermission1Method4-desc</description>
+            <description xml:lang="de">de-methodPermission1Method4-desc</description>
+            <ejb-name>methodPermission1Method4EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>methodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="methodPermission1Method5-id">
+            <description>en-methodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-methodPermission1Method5-desc</description>
+            <description xml:lang="de">de-methodPermission1Method5-desc</description>
+            <ejb-name>methodPermission1Method5EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>methodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="methodPermission2-id">
+         <description>en-methodPermission2-desc</description>
+         <description xml:lang="fr">fr-methodPermission2-desc</description>
+         <description xml:lang="de">de-methodPermission2-desc</description>
+         <role-name>methodPermission2RoleName1</role-name>
+         <role-name>methodPermission2RoleName2</role-name>
+         <method id="methodPermission2Method1-id">
+            <description>en-methodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-methodPermission2Method1-desc</description>
+            <description xml:lang="de">de-methodPermission2Method1-desc</description>
+            <ejb-name>methodPermission2Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>methodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>methodPermission2Method1Param1</method-param>
+               <method-param>methodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="methodPermission3-id">
+         <description>en-methodPermission3-desc</description>
+         <description xml:lang="fr">fr-methodPermission3-desc</description>
+         <description xml:lang="de">de-methodPermission3-desc</description>
+         <role-name>methodPermission3RoleName1</role-name>
+         <role-name>methodPermission3RoleName2</role-name>
+         <method id="methodPermission3Method1-id">
+            <description>en-methodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-methodPermission3Method1-desc</description>
+            <description xml:lang="de">de-methodPermission3Method1-desc</description>
+            <ejb-name>methodPermission3Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>methodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>methodPermission3Method1Param1</method-param>
+               <method-param>methodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="session1MethodPermission1-id">
+         <description>en-session1MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-session1MethodPermission1-desc</description>
+         <description xml:lang="de">de-session1MethodPermission1-desc</description>
+         <unchecked id="session1MethodPermission1Unchecked-id"/>
+         <method id="session1MethodPermission1Method1-id">
+            <description>en-session1MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-session1MethodPermission1Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1MethodPermission1Method1Param1</method-param>
+               <method-param>session1MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session1MethodPermission1Method2-id">
+            <description>en-session1MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-session1MethodPermission1Method2-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session1MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="session1MethodPermission1Method3-id">
+            <description>en-session1MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-session1MethodPermission1Method3-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session1MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="session1MethodPermission1Method4-id">
+            <description>en-session1MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-session1MethodPermission1Method4-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session1MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="session1MethodPermission1Method5-id">
+            <description>en-session1MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-session1MethodPermission1Method5-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session1MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="session1MethodPermission2-id">
+         <description>en-session1MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-session1MethodPermission2-desc</description>
+         <description xml:lang="de">de-session1MethodPermission2-desc</description>
+         <role-name>session1MethodPermission2RoleName1</role-name>
+         <role-name>session1MethodPermission2RoleName2</role-name>
+         <method id="session1MethodPermission2Method1-id">
+            <description>en-session1MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-session1MethodPermission2Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1MethodPermission2Method1Param1</method-param>
+               <method-param>session1MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="session1MethodPermission3-id">
+         <description>en-session1MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-session1MethodPermission3-desc</description>
+         <description xml:lang="de">de-session1MethodPermission3-desc</description>
+         <role-name>session1MethodPermission3RoleName1</role-name>
+         <role-name>session1MethodPermission3RoleName2</role-name>
+         <method id="session1MethodPermission3Method1-id">
+            <description>en-session1MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-session1MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-session1MethodPermission3Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1MethodPermission3Method1Param1</method-param>
+               <method-param>session1MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="session2MethodPermission1-id">
+         <description>en-session2MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-session2MethodPermission1-desc</description>
+         <description xml:lang="de">de-session2MethodPermission1-desc</description>
+         <unchecked id="session2MethodPermission1Unchecked-id"/>
+         <method id="session2MethodPermission1Method1-id">
+            <description>en-session2MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-session2MethodPermission1Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2MethodPermission1Method1Param1</method-param>
+               <method-param>session2MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session2MethodPermission1Method2-id">
+            <description>en-session2MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-session2MethodPermission1Method2-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session2MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="session2MethodPermission1Method3-id">
+            <description>en-session2MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-session2MethodPermission1Method3-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session2MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="session2MethodPermission1Method4-id">
+            <description>en-session2MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-session2MethodPermission1Method4-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session2MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="session2MethodPermission1Method5-id">
+            <description>en-session2MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-session2MethodPermission1Method5-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session2MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="session2MethodPermission2-id">
+         <description>en-session2MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-session2MethodPermission2-desc</description>
+         <description xml:lang="de">de-session2MethodPermission2-desc</description>
+         <role-name>session2MethodPermission2RoleName1</role-name>
+         <role-name>session2MethodPermission2RoleName2</role-name>
+         <method id="session2MethodPermission2Method1-id">
+            <description>en-session2MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-session2MethodPermission2Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2MethodPermission2Method1Param1</method-param>
+               <method-param>session2MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="session2MethodPermission3-id">
+         <description>en-session2MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-session2MethodPermission3-desc</description>
+         <description xml:lang="de">de-session2MethodPermission3-desc</description>
+         <role-name>session2MethodPermission3RoleName1</role-name>
+         <role-name>session2MethodPermission3RoleName2</role-name>
+         <method id="session2MethodPermission3Method1-id">
+            <description>en-session2MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-session2MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-session2MethodPermission3Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2MethodPermission3Method1Param1</method-param>
+               <method-param>session2MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="entity1MethodPermission1-id">
+         <description>en-entity1MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-entity1MethodPermission1-desc</description>
+         <description xml:lang="de">de-entity1MethodPermission1-desc</description>
+         <unchecked id="entity1MethodPermission1Unchecked-id"/>
+         <method id="entity1MethodPermission1Method1-id">
+            <description>en-entity1MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission1Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1MethodPermission1Method1Param1</method-param>
+               <method-param>entity1MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity1MethodPermission1Method2-id">
+            <description>en-entity1MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission1Method2-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity1MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="entity1MethodPermission1Method3-id">
+            <description>en-entity1MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission1Method3-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity1MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="entity1MethodPermission1Method4-id">
+            <description>en-entity1MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission1Method4-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity1MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="entity1MethodPermission1Method5-id">
+            <description>en-entity1MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission1Method5-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity1MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="entity1MethodPermission2-id">
+         <description>en-entity1MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-entity1MethodPermission2-desc</description>
+         <description xml:lang="de">de-entity1MethodPermission2-desc</description>
+         <role-name>entity1MethodPermission2RoleName1</role-name>
+         <role-name>entity1MethodPermission2RoleName2</role-name>
+         <method id="entity1MethodPermission2Method1-id">
+            <description>en-entity1MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission2Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1MethodPermission2Method1Param1</method-param>
+               <method-param>entity1MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="entity1MethodPermission3-id">
+         <description>en-entity1MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-entity1MethodPermission3-desc</description>
+         <description xml:lang="de">de-entity1MethodPermission3-desc</description>
+         <role-name>entity1MethodPermission3RoleName1</role-name>
+         <role-name>entity1MethodPermission3RoleName2</role-name>
+         <method id="entity1MethodPermission3Method1-id">
+            <description>en-entity1MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-entity1MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-entity1MethodPermission3Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1MethodPermission3Method1Param1</method-param>
+               <method-param>entity1MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="entity2MethodPermission1-id">
+         <description>en-entity2MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-entity2MethodPermission1-desc</description>
+         <description xml:lang="de">de-entity2MethodPermission1-desc</description>
+         <unchecked id="entity2MethodPermission1Unchecked-id"/>
+         <method id="entity2MethodPermission1Method1-id">
+            <description>en-entity2MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission1Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2MethodPermission1Method1Param1</method-param>
+               <method-param>entity2MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity2MethodPermission1Method2-id">
+            <description>en-entity2MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission1Method2-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity2MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="entity2MethodPermission1Method3-id">
+            <description>en-entity2MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission1Method3-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity2MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="entity2MethodPermission1Method4-id">
+            <description>en-entity2MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission1Method4-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity2MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="entity2MethodPermission1Method5-id">
+            <description>en-entity2MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission1Method5-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity2MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="entity2MethodPermission2-id">
+         <description>en-entity2MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-entity2MethodPermission2-desc</description>
+         <description xml:lang="de">de-entity2MethodPermission2-desc</description>
+         <role-name>entity2MethodPermission2RoleName1</role-name>
+         <role-name>entity2MethodPermission2RoleName2</role-name>
+         <method id="entity2MethodPermission2Method1-id">
+            <description>en-entity2MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission2Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2MethodPermission2Method1Param1</method-param>
+               <method-param>entity2MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="entity2MethodPermission3-id">
+         <description>en-entity2MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-entity2MethodPermission3-desc</description>
+         <description xml:lang="de">de-entity2MethodPermission3-desc</description>
+         <role-name>entity2MethodPermission3RoleName1</role-name>
+         <role-name>entity2MethodPermission3RoleName2</role-name>
+         <method id="entity2MethodPermission3Method1-id">
+            <description>en-entity2MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-entity2MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-entity2MethodPermission3Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2MethodPermission3Method1Param1</method-param>
+               <method-param>entity2MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="mdb1MethodPermission1-id">
+         <description>en-mdb1MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-mdb1MethodPermission1-desc</description>
+         <description xml:lang="de">de-mdb1MethodPermission1-desc</description>
+         <unchecked id="mdb1MethodPermission1Unchecked-id"/>
+         <method id="mdb1MethodPermission1Method1-id">
+            <description>en-mdb1MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission1Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1MethodPermission1Method1Param1</method-param>
+               <method-param>mdb1MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb1MethodPermission1Method2-id">
+            <description>en-mdb1MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission1Method2-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb1MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="mdb1MethodPermission1Method3-id">
+            <description>en-mdb1MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission1Method3-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb1MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="mdb1MethodPermission1Method4-id">
+            <description>en-mdb1MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission1Method4-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb1MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="mdb1MethodPermission1Method5-id">
+            <description>en-mdb1MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission1Method5-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb1MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="mdb1MethodPermission2-id">
+         <description>en-mdb1MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-mdb1MethodPermission2-desc</description>
+         <description xml:lang="de">de-mdb1MethodPermission2-desc</description>
+         <role-name>mdb1MethodPermission2RoleName1</role-name>
+         <role-name>mdb1MethodPermission2RoleName2</role-name>
+         <method id="mdb1MethodPermission2Method1-id">
+            <description>en-mdb1MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission2Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1MethodPermission2Method1Param1</method-param>
+               <method-param>mdb1MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="mdb1MethodPermission3-id">
+         <description>en-mdb1MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-mdb1MethodPermission3-desc</description>
+         <description xml:lang="de">de-mdb1MethodPermission3-desc</description>
+         <role-name>mdb1MethodPermission3RoleName1</role-name>
+         <role-name>mdb1MethodPermission3RoleName2</role-name>
+         <method id="mdb1MethodPermission3Method1-id">
+            <description>en-mdb1MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-mdb1MethodPermission3Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1MethodPermission3Method1Param1</method-param>
+               <method-param>mdb1MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      
+      <method-permission id="mdb2MethodPermission1-id">
+         <description>en-mdb2MethodPermission1-desc</description>
+         <description xml:lang="fr">fr-mdb2MethodPermission1-desc</description>
+         <description xml:lang="de">de-mdb2MethodPermission1-desc</description>
+         <unchecked id="mdb2MethodPermission1Unchecked-id"/>
+         <method id="mdb2MethodPermission1Method1-id">
+            <description>en-mdb2MethodPermission1Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission1Method1-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission1Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2MethodPermission1Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2MethodPermission1Method1Param1</method-param>
+               <method-param>mdb2MethodPermission1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb2MethodPermission1Method2-id">
+            <description>en-mdb2MethodPermission1Method2-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission1Method2-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission1Method2-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb2MethodPermission1Method2MethodName</method-name>
+         </method>
+         <method id="mdb2MethodPermission1Method3-id">
+            <description>en-mdb2MethodPermission1Method3-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission1Method3-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission1Method3-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb2MethodPermission1Method3MethodName</method-name>
+         </method>
+         <method id="mdb2MethodPermission1Method4-id">
+            <description>en-mdb2MethodPermission1Method4-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission1Method4-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission1Method4-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb2MethodPermission1Method4MethodName</method-name>
+         </method>
+         <method id="mdb2MethodPermission1Method5-id">
+            <description>en-mdb2MethodPermission1Method5-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission1Method5-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission1Method5-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb2MethodPermission1Method5MethodName</method-name>
+         </method>
+      </method-permission>
+      <method-permission id="mdb2MethodPermission2-id">
+         <description>en-mdb2MethodPermission2-desc</description>
+         <description xml:lang="fr">fr-mdb2MethodPermission2-desc</description>
+         <description xml:lang="de">de-mdb2MethodPermission2-desc</description>
+         <role-name>mdb2MethodPermission2RoleName1</role-name>
+         <role-name>mdb2MethodPermission2RoleName2</role-name>
+         <method id="mdb2MethodPermission2Method1-id">
+            <description>en-mdb2MethodPermission2Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission2Method1-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission2Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2MethodPermission2Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2MethodPermission2Method1Param1</method-param>
+               <method-param>mdb2MethodPermission2Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+      <method-permission id="mdb2MethodPermission3-id">
+         <description>en-mdb2MethodPermission3-desc</description>
+         <description xml:lang="fr">fr-mdb2MethodPermission3-desc</description>
+         <description xml:lang="de">de-mdb2MethodPermission3-desc</description>
+         <role-name>mdb2MethodPermission3RoleName1</role-name>
+         <role-name>mdb2MethodPermission3RoleName2</role-name>
+         <method id="mdb2MethodPermission3Method1-id">
+            <description>en-mdb2MethodPermission3Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2MethodPermission3Method1-desc</description>
+            <description xml:lang="de">de-mdb2MethodPermission3Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2MethodPermission3Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2MethodPermission3Method1Param1</method-param>
+               <method-param>mdb2MethodPermission3Method1Param2</method-param>
+            </method-params>
+         </method>
+      </method-permission>
+
+      <container-transaction id="containerTransaction1-id">
+         <description>en-containerTransaction1-desc</description>
+         <description xml:lang="fr">fr-containerTransaction1-desc</description>
+         <description xml:lang="de">de-containerTransaction1-desc</description>
+         <method id="containerTransaction1Method1-id">
+            <description>en-containerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction1Method1-desc</description>
+            <ejb-name>containerTransaction1Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction1Method1Param1</method-param>
+               <method-param>containerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="containerTransaction1Method2-id">
+            <description>en-containerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-containerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-containerTransaction1Method2-desc</description>
+            <ejb-name>containerTransaction1Method2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>containerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="containerTransaction1Method3-id">
+            <description>en-containerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-containerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-containerTransaction1Method3-desc</description>
+            <ejb-name>containerTransaction1Method3EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>containerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="containerTransaction1Method4-id">
+            <description>en-containerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-containerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-containerTransaction1Method4-desc</description>
+            <ejb-name>containerTransaction1Method4EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>containerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="containerTransaction1Method5-id">
+            <description>en-containerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-containerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-containerTransaction1Method5-desc</description>
+            <ejb-name>containerTransaction1Method5EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>containerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="containerTransaction2-id">
+         <description>en-containerTransaction2-desc</description>
+         <description xml:lang="fr">fr-containerTransaction2-desc</description>
+         <description xml:lang="de">de-containerTransaction2-desc</description>
+         <method id="containerTransaction2Method1-id">
+            <description>en-containerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction2Method1-desc</description>
+            <ejb-name>containerTransaction2Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction2Method1Param1</method-param>
+               <method-param>containerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="containerTransaction3-id">
+         <description>en-containerTransaction3-desc</description>
+         <description xml:lang="fr">fr-containerTransaction3-desc</description>
+         <description xml:lang="de">de-containerTransaction3-desc</description>
+         <method id="containerTransaction3Method1-id">
+            <description>en-containerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction3Method1-desc</description>
+            <ejb-name>containerTransaction3Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction3Method1Param1</method-param>
+               <method-param>containerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="containerTransaction4-id">
+         <description>en-containerTransaction4-desc</description>
+         <description xml:lang="fr">fr-containerTransaction4-desc</description>
+         <description xml:lang="de">de-containerTransaction4-desc</description>
+         <method id="containerTransaction4Method1-id">
+            <description>en-containerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction4Method1-desc</description>
+            <ejb-name>containerTransaction4Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction4Method1Param1</method-param>
+               <method-param>containerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="containerTransaction5-id">
+         <description>en-containerTransaction5-desc</description>
+         <description xml:lang="fr">fr-containerTransaction5-desc</description>
+         <description xml:lang="de">de-containerTransaction5-desc</description>
+         <method id="containerTransaction5Method1-id">
+            <description>en-containerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction5Method1-desc</description>
+            <ejb-name>containerTransaction5Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction5Method1Param1</method-param>
+               <method-param>containerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="containerTransaction6-id">
+         <description>en-containerTransaction6-desc</description>
+         <description xml:lang="fr">fr-containerTransaction6-desc</description>
+         <description xml:lang="de">de-containerTransaction6-desc</description>
+         <method id="containerTransaction6Method1-id">
+            <description>en-containerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-containerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-containerTransaction6Method1-desc</description>
+            <ejb-name>containerTransaction6Method1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>containerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>containerTransaction6Method1Param1</method-param>
+               <method-param>containerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="session1ContainerTransaction1-id">
+         <description>en-session1ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction1-desc</description>
+         <method id="session1ContainerTransaction1Method1-id">
+            <description>en-session1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction1Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction1Method1Param1</method-param>
+               <method-param>session1ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session1ContainerTransaction1Method2-id">
+            <description>en-session1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction1Method2-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session1ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="session1ContainerTransaction1Method3-id">
+            <description>en-session1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction1Method3-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session1ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="session1ContainerTransaction1Method4-id">
+            <description>en-session1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction1Method4-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session1ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="session1ContainerTransaction1Method5-id">
+            <description>en-session1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction1Method5-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session1ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session1ContainerTransaction2-id">
+         <description>en-session1ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction2-desc</description>
+         <method id="session1ContainerTransaction2Method1-id">
+            <description>en-session1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction2Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction2Method1Param1</method-param>
+               <method-param>session1ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session1ContainerTransaction3-id">
+         <description>en-session1ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction3-desc</description>
+         <method id="session1ContainerTransaction3Method1-id">
+            <description>en-session1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction3Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction3Method1Param1</method-param>
+               <method-param>session1ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session1ContainerTransaction4-id">
+         <description>en-session1ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction4-desc</description>
+         <method id="session1ContainerTransaction4Method1-id">
+            <description>en-session1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction4Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction4Method1Param1</method-param>
+               <method-param>session1ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session1ContainerTransaction5-id">
+         <description>en-session1ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction5-desc</description>
+         <method id="session1ContainerTransaction5Method1-id">
+            <description>en-session1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction5Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction5Method1Param1</method-param>
+               <method-param>session1ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session1ContainerTransaction6-id">
+         <description>en-session1ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-session1ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-session1ContainerTransaction6-desc</description>
+         <method id="session1ContainerTransaction6Method1-id">
+            <description>en-session1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-session1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-session1ContainerTransaction6Method1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>session1ContainerTransaction6Method1Param1</method-param>
+               <method-param>session1ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="session2ContainerTransaction1-id">
+         <description>en-session2ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction1-desc</description>
+         <method id="session2ContainerTransaction1Method1-id">
+            <description>en-session2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction1Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction1Method1Param1</method-param>
+               <method-param>session2ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session2ContainerTransaction1Method2-id">
+            <description>en-session2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction1Method2-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session2ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="session2ContainerTransaction1Method3-id">
+            <description>en-session2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction1Method3-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session2ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="session2ContainerTransaction1Method4-id">
+            <description>en-session2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction1Method4-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session2ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="session2ContainerTransaction1Method5-id">
+            <description>en-session2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction1Method5-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session2ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session2ContainerTransaction2-id">
+         <description>en-session2ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction2-desc</description>
+         <method id="session2ContainerTransaction2Method1-id">
+            <description>en-session2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction2Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction2Method1Param1</method-param>
+               <method-param>session2ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session2ContainerTransaction3-id">
+         <description>en-session2ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction3-desc</description>
+         <method id="session2ContainerTransaction3Method1-id">
+            <description>en-session2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction3Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction3Method1Param1</method-param>
+               <method-param>session2ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session2ContainerTransaction4-id">
+         <description>en-session2ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction4-desc</description>
+         <method id="session2ContainerTransaction4Method1-id">
+            <description>en-session2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction4Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction4Method1Param1</method-param>
+               <method-param>session2ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session2ContainerTransaction5-id">
+         <description>en-session2ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction5-desc</description>
+         <method id="session2ContainerTransaction5Method1-id">
+            <description>en-session2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction5Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction5Method1Param1</method-param>
+               <method-param>session2ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="session2ContainerTransaction6-id">
+         <description>en-session2ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-session2ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-session2ContainerTransaction6-desc</description>
+         <method id="session2ContainerTransaction6Method1-id">
+            <description>en-session2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-session2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-session2ContainerTransaction6Method1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>session2ContainerTransaction6Method1Param1</method-param>
+               <method-param>session2ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="entity1ContainerTransaction1-id">
+         <description>en-entity1ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction1-desc</description>
+         <method id="entity1ContainerTransaction1Method1-id">
+            <description>en-entity1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction1Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction1Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity1ContainerTransaction1Method2-id">
+            <description>en-entity1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction1Method2-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity1ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="entity1ContainerTransaction1Method3-id">
+            <description>en-entity1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction1Method3-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity1ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="entity1ContainerTransaction1Method4-id">
+            <description>en-entity1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction1Method4-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity1ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="entity1ContainerTransaction1Method5-id">
+            <description>en-entity1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction1Method5-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity1ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity1ContainerTransaction2-id">
+         <description>en-entity1ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction2-desc</description>
+         <method id="entity1ContainerTransaction2Method1-id">
+            <description>en-entity1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction2Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction2Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity1ContainerTransaction3-id">
+         <description>en-entity1ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction3-desc</description>
+         <method id="entity1ContainerTransaction3Method1-id">
+            <description>en-entity1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction3Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction3Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity1ContainerTransaction4-id">
+         <description>en-entity1ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction4-desc</description>
+         <method id="entity1ContainerTransaction4Method1-id">
+            <description>en-entity1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction4Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction4Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity1ContainerTransaction5-id">
+         <description>en-entity1ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction5-desc</description>
+         <method id="entity1ContainerTransaction5Method1-id">
+            <description>en-entity1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction5Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction5Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity1ContainerTransaction6-id">
+         <description>en-entity1ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-entity1ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-entity1ContainerTransaction6-desc</description>
+         <method id="entity1ContainerTransaction6Method1-id">
+            <description>en-entity1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-entity1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-entity1ContainerTransaction6Method1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ContainerTransaction6Method1Param1</method-param>
+               <method-param>entity1ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="entity2ContainerTransaction1-id">
+         <description>en-entity2ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction1-desc</description>
+         <method id="entity2ContainerTransaction1Method1-id">
+            <description>en-entity2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction1Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction1Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity2ContainerTransaction1Method2-id">
+            <description>en-entity2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction1Method2-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity2ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="entity2ContainerTransaction1Method3-id">
+            <description>en-entity2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction1Method3-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity2ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="entity2ContainerTransaction1Method4-id">
+            <description>en-entity2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction1Method4-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity2ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="entity2ContainerTransaction1Method5-id">
+            <description>en-entity2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction1Method5-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity2ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity2ContainerTransaction2-id">
+         <description>en-entity2ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction2-desc</description>
+         <method id="entity2ContainerTransaction2Method1-id">
+            <description>en-entity2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction2Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction2Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity2ContainerTransaction3-id">
+         <description>en-entity2ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction3-desc</description>
+         <method id="entity2ContainerTransaction3Method1-id">
+            <description>en-entity2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction3Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction3Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity2ContainerTransaction4-id">
+         <description>en-entity2ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction4-desc</description>
+         <method id="entity2ContainerTransaction4Method1-id">
+            <description>en-entity2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction4Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction4Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity2ContainerTransaction5-id">
+         <description>en-entity2ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction5-desc</description>
+         <method id="entity2ContainerTransaction5Method1-id">
+            <description>en-entity2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction5Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction5Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="entity2ContainerTransaction6-id">
+         <description>en-entity2ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-entity2ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-entity2ContainerTransaction6-desc</description>
+         <method id="entity2ContainerTransaction6Method1-id">
+            <description>en-entity2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-entity2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-entity2ContainerTransaction6Method1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ContainerTransaction6Method1Param1</method-param>
+               <method-param>entity2ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="mdb1ContainerTransaction1-id">
+         <description>en-mdb1ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction1-desc</description>
+         <method id="mdb1ContainerTransaction1Method1-id">
+            <description>en-mdb1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction1Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction1Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb1ContainerTransaction1Method2-id">
+            <description>en-mdb1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction1Method2-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb1ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="mdb1ContainerTransaction1Method3-id">
+            <description>en-mdb1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction1Method3-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb1ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="mdb1ContainerTransaction1Method4-id">
+            <description>en-mdb1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction1Method4-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb1ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="mdb1ContainerTransaction1Method5-id">
+            <description>en-mdb1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction1Method5-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb1ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb1ContainerTransaction2-id">
+         <description>en-mdb1ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction2-desc</description>
+         <method id="mdb1ContainerTransaction2Method1-id">
+            <description>en-mdb1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction2Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction2Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb1ContainerTransaction3-id">
+         <description>en-mdb1ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction3-desc</description>
+         <method id="mdb1ContainerTransaction3Method1-id">
+            <description>en-mdb1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction3Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction3Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb1ContainerTransaction4-id">
+         <description>en-mdb1ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction4-desc</description>
+         <method id="mdb1ContainerTransaction4Method1-id">
+            <description>en-mdb1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction4Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction4Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb1ContainerTransaction5-id">
+         <description>en-mdb1ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction5-desc</description>
+         <method id="mdb1ContainerTransaction5Method1-id">
+            <description>en-mdb1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction5Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction5Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb1ContainerTransaction6-id">
+         <description>en-mdb1ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-mdb1ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-mdb1ContainerTransaction6-desc</description>
+         <method id="mdb1ContainerTransaction6Method1-id">
+            <description>en-mdb1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-mdb1ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-mdb1ContainerTransaction6Method1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ContainerTransaction6Method1Param1</method-param>
+               <method-param>mdb1ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <container-transaction id="mdb2ContainerTransaction1-id">
+         <description>en-mdb2ContainerTransaction1-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction1-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction1-desc</description>
+         <method id="mdb2ContainerTransaction1Method1-id">
+            <description>en-mdb2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction1Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction1Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction1Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction1Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction1Method1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb2ContainerTransaction1Method2-id">
+            <description>en-mdb2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction1Method2-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction1Method2-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb2ContainerTransaction1Method2MethodName</method-name>
+         </method>
+         <method id="mdb2ContainerTransaction1Method3-id">
+            <description>en-mdb2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction1Method3-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction1Method3-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb2ContainerTransaction1Method3MethodName</method-name>
+         </method>
+         <method id="mdb2ContainerTransaction1Method4-id">
+            <description>en-mdb2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction1Method4-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction1Method4-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb2ContainerTransaction1Method4MethodName</method-name>
+         </method>
+         <method id="mdb2ContainerTransaction1Method5-id">
+            <description>en-mdb2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction1Method5-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction1Method5-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb2ContainerTransaction1Method5MethodName</method-name>
+         </method>
+         <trans-attribute>NotSupported</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb2ContainerTransaction2-id">
+         <description>en-mdb2ContainerTransaction2-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction2-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction2-desc</description>
+         <method id="mdb2ContainerTransaction2Method1-id">
+            <description>en-mdb2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction2Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction2Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction2Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction2Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction2Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Supports</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb2ContainerTransaction3-id">
+         <description>en-mdb2ContainerTransaction3-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction3-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction3-desc</description>
+         <method id="mdb2ContainerTransaction3Method1-id">
+            <description>en-mdb2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction3Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction3Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction3Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction3Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction3Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Required</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb2ContainerTransaction4-id">
+         <description>en-mdb2ContainerTransaction4-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction4-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction4-desc</description>
+         <method id="mdb2ContainerTransaction4Method1-id">
+            <description>en-mdb2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction4Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction4Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction4Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction4Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction4Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>RequiresNew</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb2ContainerTransaction5-id">
+         <description>en-mdb2ContainerTransaction5-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction5-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction5-desc</description>
+         <method id="mdb2ContainerTransaction5Method1-id">
+            <description>en-mdb2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction5Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction5Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction5Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction5Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction5Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Mandatory</trans-attribute>
+      </container-transaction>
+      <container-transaction id="mdb2ContainerTransaction6-id">
+         <description>en-mdb2ContainerTransaction6-desc</description>
+         <description xml:lang="fr">fr-mdb2ContainerTransaction6-desc</description>
+         <description xml:lang="de">de-mdb2ContainerTransaction6-desc</description>
+         <method id="mdb2ContainerTransaction6Method1-id">
+            <description>en-mdb2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="fr">fr-mdb2ContainerTransaction6Method1-desc</description>
+            <description xml:lang="de">de-mdb2ContainerTransaction6Method1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ContainerTransaction6Method1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ContainerTransaction6Method1Param1</method-param>
+               <method-param>mdb2ContainerTransaction6Method1Param2</method-param>
+            </method-params>
+         </method>
+         <trans-attribute>Never</trans-attribute>
+      </container-transaction>
+
+      <message-destination id="messageDestination1-id">
+         <description>en-messageDestination1-desc</description>
+         <description xml:lang="fr">fr-messageDestination1-desc</description>
+         <description xml:lang="de">de-messageDestination1-desc</description>
+         <display-name>en-messageDestination1-disp</display-name>
+         <display-name xml:lang="fr">fr-messageDestination1-disp</display-name>
+         <display-name xml:lang="de">de-messageDestination1-disp</display-name>
+         <icon id="en-messageDestination1-icon-id">
+            <small-icon>en-messageDestination1-small-icon</small-icon>
+            <large-icon>en-messageDestination1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-messageDestination1-icon-id">
+            <small-icon>fr-messageDestination1-small-icon</small-icon>
+            <large-icon>fr-messageDestination1-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-messageDestination1-icon-id">
+            <small-icon>de-messageDestination1-small-icon</small-icon>
+            <large-icon>de-messageDestination1-large-icon</large-icon>
+         </icon>
+         <message-destination-name>messageDestination1Name</message-destination-name>
+      </message-destination>
+      <message-destination id="messageDestination2-id">
+         <description>en-messageDestination2-desc</description>
+         <description xml:lang="fr">fr-messageDestination2-desc</description>
+         <description xml:lang="de">de-messageDestination2-desc</description>
+         <display-name>en-messageDestination2-disp</display-name>
+         <display-name xml:lang="fr">fr-messageDestination2-disp</display-name>
+         <display-name xml:lang="de">de-messageDestination2-disp</display-name>
+         <icon id="en-messageDestination2-icon-id">
+            <small-icon>en-messageDestination2-small-icon</small-icon>
+            <large-icon>en-messageDestination2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="fr" id="fr-messageDestination2-icon-id">
+            <small-icon>fr-messageDestination2-small-icon</small-icon>
+            <large-icon>fr-messageDestination2-large-icon</large-icon>
+         </icon>
+         <icon xml:lang="de" id="de-messageDestination2-icon-id">
+            <small-icon>de-messageDestination2-small-icon</small-icon>
+            <large-icon>de-messageDestination2-large-icon</large-icon>
+         </icon>
+         <message-destination-name>messageDestination2Name</message-destination-name>
+      </message-destination>
+
+      <exclude-list id="excludeList-id">
+         <description>en-excludeList-desc</description>
+         <description xml:lang="fr">fr-excludeList-desc</description>
+         <description xml:lang="de">de-excludeList-desc</description>
+         <method id="excludeListMethod1-id">
+            <description>en-excludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-excludeListMethod1-desc</description>
+            <description xml:lang="de">de-excludeListMethod1-desc</description>
+            <ejb-name>excludeListMethod1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>excludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>excludeListMethod1Param1</method-param>
+               <method-param>excludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="excludeListMethod2-id">
+            <description>en-excludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-excludeListMethod2-desc</description>
+            <description xml:lang="de">de-excludeListMethod2-desc</description>
+            <ejb-name>excludeListMethod2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>excludeListMethod2MethodName</method-name>
+         </method>
+         <method id="excludeListMethod3-id">
+            <description>en-excludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-excludeListMethod3-desc</description>
+            <description xml:lang="de">de-excludeListMethod3-desc</description>
+            <ejb-name>excludeListMethod3EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>excludeListMethod3MethodName</method-name>
+         </method>
+         <method id="excludeListMethod4-id">
+            <description>en-excludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-excludeListMethod4-desc</description>
+            <description xml:lang="de">de-excludeListMethod4-desc</description>
+            <ejb-name>excludeListMethod4EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>excludeListMethod4MethodName</method-name>
+         </method>
+         <method id="excludeListMethod5-id">
+            <description>en-excludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-excludeListMethod5-desc</description>
+            <description xml:lang="de">de-excludeListMethod5-desc</description>
+            <ejb-name>excludeListMethod5EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>excludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="session1ExcludeListMethod1-id">
+            <description>en-session1ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-session1ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-session1ExcludeListMethod1-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session1ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>session1ExcludeListMethod1Param1</method-param>
+               <method-param>session1ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session1ExcludeListMethod2-id">
+            <description>en-session1ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-session1ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-session1ExcludeListMethod2-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session1ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="session1ExcludeListMethod3-id">
+            <description>en-session1ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-session1ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-session1ExcludeListMethod3-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session1ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="session1ExcludeListMethod4-id">
+            <description>en-session1ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-session1ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-session1ExcludeListMethod4-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session1ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="session1ExcludeListMethod5-id">
+            <description>en-session1ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-session1ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-session1ExcludeListMethod5-desc</description>
+            <ejb-name>session1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session1ExcludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="session2ExcludeListMethod1-id">
+            <description>en-session2ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-session2ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-session2ExcludeListMethod1-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>session2ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>session2ExcludeListMethod1Param1</method-param>
+               <method-param>session2ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="session2ExcludeListMethod2-id">
+            <description>en-session2ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-session2ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-session2ExcludeListMethod2-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>session2ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="session2ExcludeListMethod3-id">
+            <description>en-session2ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-session2ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-session2ExcludeListMethod3-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>session2ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="session2ExcludeListMethod4-id">
+            <description>en-session2ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-session2ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-session2ExcludeListMethod4-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>session2ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="session2ExcludeListMethod5-id">
+            <description>en-session2ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-session2ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-session2ExcludeListMethod5-desc</description>
+            <ejb-name>session2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>session2ExcludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="entity1ExcludeListMethod1-id">
+            <description>en-entity1ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-entity1ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-entity1ExcludeListMethod1-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity1ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>entity1ExcludeListMethod1Param1</method-param>
+               <method-param>entity1ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity1ExcludeListMethod2-id">
+            <description>en-entity1ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-entity1ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-entity1ExcludeListMethod2-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity1ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="entity1ExcludeListMethod3-id">
+            <description>en-entity1ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-entity1ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-entity1ExcludeListMethod3-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity1ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="entity1ExcludeListMethod4-id">
+            <description>en-entity1ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-entity1ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-entity1ExcludeListMethod4-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity1ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="entity1ExcludeListMethod5-id">
+            <description>en-entity1ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-entity1ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-entity1ExcludeListMethod5-desc</description>
+            <ejb-name>entity1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity1ExcludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="entity2ExcludeListMethod1-id">
+            <description>en-entity2ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-entity2ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-entity2ExcludeListMethod1-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>entity2ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>entity2ExcludeListMethod1Param1</method-param>
+               <method-param>entity2ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="entity2ExcludeListMethod2-id">
+            <description>en-entity2ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-entity2ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-entity2ExcludeListMethod2-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>entity2ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="entity2ExcludeListMethod3-id">
+            <description>en-entity2ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-entity2ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-entity2ExcludeListMethod3-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>entity2ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="entity2ExcludeListMethod4-id">
+            <description>en-entity2ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-entity2ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-entity2ExcludeListMethod4-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>entity2ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="entity2ExcludeListMethod5-id">
+            <description>en-entity2ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-entity2ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-entity2ExcludeListMethod5-desc</description>
+            <ejb-name>entity2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>entity2ExcludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="mdb1ExcludeListMethod1-id">
+            <description>en-mdb1ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-mdb1ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-mdb1ExcludeListMethod1-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb1ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>mdb1ExcludeListMethod1Param1</method-param>
+               <method-param>mdb1ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb1ExcludeListMethod2-id">
+            <description>en-mdb1ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-mdb1ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-mdb1ExcludeListMethod2-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb1ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="mdb1ExcludeListMethod3-id">
+            <description>en-mdb1ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-mdb1ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-mdb1ExcludeListMethod3-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb1ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="mdb1ExcludeListMethod4-id">
+            <description>en-mdb1ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-mdb1ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-mdb1ExcludeListMethod4-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb1ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="mdb1ExcludeListMethod5-id">
+            <description>en-mdb1ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-mdb1ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-mdb1ExcludeListMethod5-desc</description>
+            <ejb-name>mdb1EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb1ExcludeListMethod5MethodName</method-name>
+         </method>
+
+         <method id="mdb2ExcludeListMethod1-id">
+            <description>en-mdb2ExcludeListMethod1-desc</description>
+            <description xml:lang="fr">fr-mdb2ExcludeListMethod1-desc</description>
+            <description xml:lang="de">de-mdb2ExcludeListMethod1-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Home</method-intf>
+            <method-name>mdb2ExcludeListMethod1MethodName</method-name>
+            <method-params>
+               <method-param>mdb2ExcludeListMethod1Param1</method-param>
+               <method-param>mdb2ExcludeListMethod1Param2</method-param>
+            </method-params>
+         </method>
+         <method id="mdb2ExcludeListMethod2-id">
+            <description>en-mdb2ExcludeListMethod2-desc</description>
+            <description xml:lang="fr">fr-mdb2ExcludeListMethod2-desc</description>
+            <description xml:lang="de">de-mdb2ExcludeListMethod2-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Remote</method-intf>
+            <method-name>mdb2ExcludeListMethod2MethodName</method-name>
+         </method>
+         <method id="mdb2ExcludeListMethod3-id">
+            <description>en-mdb2ExcludeListMethod3-desc</description>
+            <description xml:lang="fr">fr-mdb2ExcludeListMethod3-desc</description>
+            <description xml:lang="de">de-mdb2ExcludeListMethod3-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>LocalHome</method-intf>
+            <method-name>mdb2ExcludeListMethod3MethodName</method-name>
+         </method>
+         <method id="mdb2ExcludeListMethod4-id">
+            <description>en-mdb2ExcludeListMethod4-desc</description>
+            <description xml:lang="fr">fr-mdb2ExcludeListMethod4-desc</description>
+            <description xml:lang="de">de-mdb2ExcludeListMethod4-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>Local</method-intf>
+            <method-name>mdb2ExcludeListMethod4MethodName</method-name>
+         </method>
+         <method id="mdb2ExcludeListMethod5-id">
+            <description>en-mdb2ExcludeListMethod5-desc</description>
+            <description xml:lang="fr">fr-mdb2ExcludeListMethod5-desc</description>
+            <description xml:lang="de">de-mdb2ExcludeListMethod5-desc</description>
+            <ejb-name>mdb2EjbName</ejb-name>
+            <method-intf>ServiceEndpoint</method-intf>
+            <method-name>mdb2ExcludeListMethod5MethodName</method-name>
+         </method>
+
+      </exclude-list>
+
+   </assembly-descriptor>
+   
+   <ejb-client-jar>some/path/client.jar</ejb-client-jar>
+   
+</ejb-jar>




More information about the jboss-cvs-commits mailing list