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

    Get entityManager(Factory) in client

    nomike

      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