Having two persistence.xml defines two persistence units. You can not have
relationships across persistence units. I think you can use following
packaging
app.ear
lib/
person.jar --> Contains entities (no ejbs) you intended to package
in this jar
dog.jar --> Contains entities (no ejbs) you intended to
package in this jar
ejb.jar --> contains ejbs that operate over entities defined above and
persistence.xml that refers to above jars
--
[Message sent by forum member 'mm110999']
View Post: http://forums.java.net/node/814658