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