0 Replies Latest reply on Oct 6, 2006 8:10 AM by Michael Postmann

    Get entityManager(Factory) in client

    Michael Postmann Newbie

      I need an entityManager in a Client application (outside JBoss)
      I read, that this could somehow be acomplished by an EntityManagerFactory.

      so I do
      emf = Persistence.createEntityManagerFactory("foo");
      em = emf.getEntityManager();
      em.getTransaction(). etc.

      now I need to specify the factory "foo" in some XML-File.

      Which XML File? And with what Contents?

      thx in advance

      nomike aka Michael Postmann