6 Replies Latest reply on Jul 11, 2006 8:19 AM by Hans Zieg

    @In vs. @EJB

    Hans Zieg Newbie


      when I have a stateless service-bean which contains several stateless dao-beans, where is the difference between the two relevant annotations @In and @EJB for injecting the dao.
      Is it correct that @EJB means the EJB-Container manages and injects the dao and that @In means the Seam-framework manages and injects the dao?
      Or if I use @In does Seam recognise the dao as a stateless EJB3.0-Bean and delegates the Injection to the EJB-Container?

      thanks in advance