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

    @EJB annotation in an entity bean

    dunks80

      Jboss-4.0.4-CR2
      EJB3-RC6

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