0 Replies Latest reply on Oct 3, 2013 11:43 AM by ajinkya bambal

    How to Inject EJB(Container Resource) into POJO(non Container resource)?

    ajinkya bambal Newbie

      I want EJB should  get injected from my POJO class .

      With the new EJB 3.1 spec is it possible to inject an EJB into a pojo? I know in EJB 3.0 the @EJB annotation could be used to inject an EJB but this did not work on simple pojos.

      @javax.inject.Inject  also not working for me.


      One more thing is , What is the difference between

      How Do I achieve it , I am using jboss 7.1.1 as .