EJB 2.1 Web Service Migration to JBoss

Latest response

I want to migrating old EJB RPC based web services in WebLogic to JBoss. WebLogic has a set of tools and Ant tasks to create all the necessary artifacts to expose a stateless sessions EJB as a Web Service. Below is a snippet from the Ant build script which (magically :) creates a WSDL, .war and .ear file given a set of EJBs.

As far as possible I want to avoid changing any code and hopefully only change the build script to use the (old) JBoss tools and Ant tasks. Are there any such tools? Any other suggestion too please.