This content has been marked as final.
Show 2 replies
-
1. Re: Mixed EJB2.1 / EJB3 SessionBeans in same ear fail deploy
hakand Nov 17, 2006 3:08 AM (in response to hakand)Anyone that succeded in deploying EJB2.1 beans together with EJB3 beans (in the same ear) ?
/hakan -
2. Re: Mixed EJB2.1 / EJB3 SessionBeans in same ear fail deploy
vijay_javaoca Feb 13, 2009 9:29 AM (in response to hakand)EJB 3 with annotation and EJB 2 defined in ejb3DD - is possible, and works excellently in one single jar file.
But the constraint is: EJB-2 Bean behaves like EJB-3 Bean. So the call to context.lookup("EJB2-Bean-JNDI") will return Remote object instead of Home object.
I have try this kind of implementation in JBoss 4.2.2