0 Replies Latest reply on Jun 16, 2006 10:34 PM by Jeff Schnitzer

    Accessing EntityManager from LoginModule

    Jeff Schnitzer Newbie

      Is there any way to access the entity manager from a loginmodule? Obviously I can call a session EJB that does my entity manager work, but it would be convenient if I could directly access the EM.

      I've found a number of references to "out of container" EM usage but it's all pretty sparse. I'm just wondering if "keep using a session EJB" is the best answer :-)

      Thanks,
      Jeff