users@glassfish.java.net

Re: How to package Persistence Unit at Application Level

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 May 2009 07:19:44 PDT

Java ee5 allows to deploy java ee modules directly which could be shared by Multiple applications.
Is there a possibility to deploy PU at application server level which different modules could share ?
Is there anther solutions, like SOA, to resolve these scenarios? I dose not familiar with SOA.

to deploy PU at [b]application server[/b] level
not at [b]application[/b] level

I will separate the persistence service from business service and multiple applications can share common business service modules

To reference the PU JAR file, add a Class-Path entry to the META-INF/
MANIFEST.MF file in the java ee module's JAR file that points to these locations:
Class-Path: PU.jar
[Message sent by forum member 'jim_wang18' (jim_wang18)]

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