3 Replies Latest reply on Feb 10, 2007 6:32 AM by Ashish Patwari

    Jboss.xml (deployment descriptor)

    Ashish Patwari Newbie

      I want to make new deployment descriptor for JBoss app server as I am migrating my application from websphere to JBoss

      IN websphere we have ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi
      code for both of them are

      ibm-ejb-jar-bnd.xmi

      <?xml version="1.0" encoding="UTF-8"?>
      <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106">

      <ejbBindings xmi:id="EnterpriseBeanBinding_1101636685106" jndiName="com.sa.Account">
      <enterpriseBean xmi:type="ejb:Entity" href="META-INF/ejb-jar.xml#Account"/>

      </ejbbnd:EJBJarBinding>


      ibm-ejb-jar-ext.xmi

      <?xml version="1.0" encoding="UTF-8"?>
      <ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarExtension_1108911522650">
      <ejbExtensions xmi:type="ejbext:EntityExtension" xmi:id="EntityExtension_1108911522650">
      <enterpriseBean xmi:type="ejb:Entity" href="META-INF/ejb-jar.xml#Account"/>
      <localTransaction xmi:id="LocalTransaction_1108911522650" unresolvedAction="Commit"/>


      </ejbext:EJBJarExtension>

      Now in JBoss.xml I wrote:

      <?xml version="1.0" encoding="UTF-8"?>

      <enterprise-beans>

      <ejb-name>amdocs.AccountHome</ejb-name>
      <jndi-name>com.amdocs.ecare.sa.Account</jndi-name>


      </enterprise-beans>


      How can I specify ejb Bindings and rest of the things like <localTransaction xmi:id="LocalTransaction_1108911522650" unresolvedAction="Commit"/> from ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi in JBoss.xml

      Please help if anyone knows..

      Thanks