Thanks for all your replies
but
I have a one more big issue.
Actually I am migrating my application from websphere to JBoss.
In my application there are 3 deployment descriptors files in each ejb jar.
ibm-ejb-jar-bnd.xmi
ibm-ejb-jar-ext.xmi
code for 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.ecare.sa.BackendSource">
<enterpriseBean xmi:type="ejb:Entity" href="META-INF/ejb-jar.xml#Account"/>
</ejbBindings>
</ejbbnd:EJBJarBinding>
code for 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>
and one more file is ejb-jar.xml
in webpshere i didn't give jndi name in ejb-jar.xml because jndi name is in ibm-ejb-jar-bnd.xmi
And now in JBoss i gave jndi name in ejb-jar.xml
App server does not show error while deploying but when I am running my application it shows
BackendSource.getRemote Failed to create remote interface by jndiName: com.ecare.def.BackendSource
I also tried in Jboss.xml and I tried to gave jndi name in Jboss.xml but that didn't work also.
Can you give me solution of this probelm ?Means can give any hint how can I convert these xmi s in JBoss format descriptors.
THANKS