0 Replies Latest reply on Feb 13, 2007 9:06 AM by Dalibor Kalna

    POJO calling EJB3

    Dalibor Kalna Newbie

      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 {
       private SomeBean someBean;
       private EntityManager em;

      Thanks a lot for your help