users@glassfish.java.net

sharing persistence unit between apps

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Aug 2008 05:02:37 PDT

Hello,

We have a couple of enterprise applications (ejb 3) which share some database objects. I'd like to share a persistence unit between them, so that they share a cache?

I found some references about .par archives for deploying a persistence unit, as in http://blog.hibernate.org/2164.lace . But it seems to me that it didn't make it to the final ejb 3 specs. Is there any alternative? I'm interested in every bit of information!
[Message sent by forum member 'ymajoros' (ymajoros)]

http://forums.java.net/jive/thread.jspa?messageID=295350