This content has been marked as final.
Show 1 reply
-
1. Re: How do I use the same JPA entities in multiple applicati
krenfro Jul 17, 2008 5:26 PM (in response to krenfro)So this documentation seems to indicate that I can reference the entity manager from separate applications if it is configured in the global jndi namespace.
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html
This is done by adding these properties to persistence.xml<property name="jboss.entity.manager.jndi.name" value="java:/Manager1"/> <property name="jboss.entity.manager.factory.jndi.name" value="java:/Manager1Factory"/>
Am I on the right track here?