File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Session Bean Portability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Session Bean Portability" Watch "Session Bean Portability" New topic

Session Bean Portability

Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
We are using session Beans in our project, to make portability across different servers (Jboss, Weblogic, Websphere) is any modifications required in the deployment descriptor specific to application servers?
Currently we are using jboss application server

thx in advance

Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Mudi Appu
Ranch Hand

Joined: Apr 06, 2005
Posts: 44
Yes, you can re-use ejb-jar.xml as it is but you will have to re-create( there are migration tools to get this done) vendor specific deployment descriptors. But you need to avoid using vendor specific stuff in your EJB.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Session Bean Portability