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;
  |     
  | }
  | 

Thanks a lot for your help

Bye
Dalibor

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015774#4015774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015774
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to