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