Is there a way to include a persistence archive (a jar file containing entity classes and/or persistence.xml file) in a standalone EJB module ? I have been trying to achieve this but without much success.
I was hoping that including a persistence.xml file into the EJB module and referencing the persistence archive in a <jar-file> element would work, but it doesn't. (using glassfish v2)
[Message sent by forum member 'kolmis' (kolmis)]
http://forums.java.net/jive/thread.jspa?messageID=241872