code: @Produces
      @RequestScoped
      public EntityManager getEntityManager(EntityManagerFactory emf) {
          log.debug("producing EntityManager");
          return emf.createEntityManager();
      }
docs: Use a producer method so that CDI will find this EntityManager.
  
  @param emf
  entity manager factory
  @return entity manager