I\'m using Java EE 7. I would like to know what is the proper way to inject a JPA EntityManager into an application scoped CDI bean. You can\'t
EntityManager
You may inject savely EntityManagerFactory, it is thread save
@PersistenceUnit(unitName = "myUnit") private EntityManagerFactory entityManagerFactory;
then you can retrive EntityManager from entityManagerFactory.