Monday, January 19, 2009

EJB 3.0 Migration from JBoss to Oracle Weblogic

Scenario: Customer has a JBoss EJB 3.0 app he wants to deploy to WLS.
JBoss generates a JNDI name as follows –


Weblogic, per default, generates


however he wants to keep the JBoss naming convention


Add the following tag to weblogic-ejb-jar.xml


Note: If you are testing this by creating an EJB in Jdev 11g and then deploying it to WLS, you may get a jps deployment error. This his to do with the following entries created by Jdev in the weblogic-application.xml

simply delete the 2 listener entries before deploying.

No comments: