users@glassfish.java.net

Including a persistence archive in an EJB module

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Oct 2007 06:34:51 PDT

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