[jboss-user] [EJB/JBoss] - Re: How do I use the same JPA entities in multiple applicati

krenfro do-not-reply at jboss.com
Thu Jul 17 17:26:58 EDT 2008


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?  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165201#4165201

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165201



More information about the jboss-user mailing list