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 .