[jboss-user] [EJB 3.0] - Re: Mixed EJB2.1 / EJB3 SessionBeans in same ear fail deploy

Vijay_javaoca do-not-reply at jboss.com
Fri Feb 13 09:29:06 EST 2009


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

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209904#4209904

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209904



More information about the jboss-user mailing list