We are trying to migrate my application from Websphere 6.1 to JBOSS server 7.1.0.
In my application we are using EJB2.0 and EJB JARs are generated by using IBM ejbdeploy.bat
through an Ant script. Stub classes are created by ejbdeploy.bat
for the EJB interfaces (we have only interfaces and bean class).
We are trying to use JBoss 7.1.0 server and not able to use ejbdeploy.bat
file to generate the stub classes for the EJB interfaces.
How we can create stub classes in JBoss 7.1.0 server using an Ant script? Could you share the Ant build definition in XML?
The web.xml references certain EJBs such as:
<ejb-local-ref id="EJBlRef_00992">
<ejb-ref-name>App/HSession</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.proj.ejb.HSessionHome</local-home>
<local>com.proj.ejb.HSessionLocal</local>
<ejb-link>HSession.jar#HSession</ejb-link>
</ejb-local-ref>