I'm not the packaging expert here, so you would need to refer to what the spec 
says on this, and then cross your fingers that our current implementation 
conforms to that. (I would guess it probably does not yet support all packaging 
options available in the spec.)

See section 6.2 of the persistence spec.

My understanding is that:

* If you want to share a persistence unit between multiple EJB3 jars, you would 
define the persistence.xml in the root of the EAR instead of the EJB3 jar. This 
would let you share it across all jars.

* It would be best to make sure that PUs have different names, but this is not 
a requirement

* You can (only) have associations between entities in the same PU. The actual 
jar is irrelevant.

* Seam does not care. A Seam "instance" is scoped to a war.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to