Hi, I have simple (well may be not that simple) question:
I have POJO that implements specific interface as a part of JEE application. Can I inject EJB into this POJO? Or even EntityManager?
for example:
public class MyClass implements MyInterface {
@EJB
private SomeBean someBean;
@PersistenceContext
private EntityManager em;
}