3 Replies Latest reply on Apr 24, 2008 8:22 AM by Alexey Loubyansky

    EJB3 container for EJB2 beans

    Alexey Loubyansky Master

      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...