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">
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
<ejbBindings xmi:id="EnterpriseBeanBinding_1101636685106" jndiName="com.sa.Account">
<enterpriseBean xmi:type="ejb:Entity" href="META-INF/ejb-jar.xml#Account"/>
</ejbBindings>
</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"/>
</ejbExtensions>
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
</ejbext:EJBJarExtension>

Now in JBoss.xml I wrote:

<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
<session>
<ejb-name>amdocs.AccountHome</ejb-name>
<jndi-name>com.amdocs.ecare.sa.Account</jndi-name>

</session>
</enterprise-beans>
</jboss>

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

Hi , Same Issue with me , i have to migrate from websphere to jboss. Can you suggest me what to do and how to do.RegardsBasha

This article has been dead for over six months. Start a new discussion instead.