1 Reply Latest reply on May 4, 2006 5:30 AM by Maxence Warzecha

    @EJB annotation in an entity bean

    dunks80 Newbie


      Should I be able to inject a session bean into an entity bean using the @EJB annotation? It doesn't seem to be working (I'm getting an NPE when I try to use the session bean within a method of the entity bean). I am able to do a straight jndi lookup from within the entity bean's methods and get a handle on the session bean in question.