users@glassfish.java.net

Question about Java Persistence packaging...

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Wed, 30 Aug 2006 12:02:31 -0700

If I have a jar that has Entity classes, does the jar need to contain a
persistence.xml file (according to the spec)?

If the file is not necessary, is there a use-case where a user would
need to create one and insert it into a jar to make that jar deployable?

Thanks,
vbk