[jboss-dev-forums] [Design of EJB 3.0] - EJB3 container for EJB2 beans
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Mon Apr 21 11:26:51 EDT 2008
AFAICS, if an EJB2 session bean is defined in the ejb-jar.xml version 3 then the EJB3 deployer creates the EJB3 container with the EJB2 client view for the bean.
Is this really how it is supposed to work?
Looking at the test I suspect the setSessionContext(...) is not called on the instance when it is created. Even though I see the Resource annotation is added for the method in the Ejb3DescriptorHandler. Or maybe it doesn't get there or the injection is not performed...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145570#4145570
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145570
More information about the jboss-dev-forums
mailing list