0 Replies Latest reply on Jul 6, 2005 11:25 AM by Alan Berezin

    using EJB3 EntityManager outside a session bean

    Alan Berezin Newbie

      All the examples I have seen using the EntityManager @Inject it in a session bean to do the transaction.

      Is there anyway to inject and use it from within a simple servlet or POJO. I like the idea of wrapping my access in a simple DAO-like pattern