Hello everybody,
I am developping ejb-jar module (let's call it service.jar) which contains
EJB, Entity, Service and persistence.xml (in META-INF).
I am developping webapp module (let's call it test.war) which contains
Servlets who are calling some Service in service.jar (using entityManager to
Hi Maxime,
It should be possible to put the service.jar in the Tomcat lib/
directory without a persistence.xml in it and then include that
persistence xml in your webapp. You should be able to include a jar-
file element in the unit declaration that points to the C:/tomcat6/
Not entirely sure though if that's really what you're after. We don't
currently have any support for global persistence units. Meaning say a
persistence unit declared outside of an ear at server level and available to
all ears/apps deployed. It might be something we could add if that's