J2EE - JPA and Stateless Session Bean (EJB) as Data Access Object (DAO)
Stateless EJB session beans as Data Access Object (DAO) implementation with JPA. You must use the EntityManagerFactory to get an EntityManager The resulting EntityManager instance is a PersistenceContext/Cache...