[jboss-user] [Advanced Documentation] - Jboss.xml (deployment descriptor)

ashishpatwari do-not-reply at jboss.com
Thu Feb 8 00:11:37 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012837#4012837

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012837



More information about the jboss-user mailing list