Yep, it's very much possible. Package your persistence entity jar
containing entity classes and META-INF/persistence.xml in lib/ directory
of the ear.
Sahoo
glassfish_at_javadesktop.org wrote:
> 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.
> [Message sent by forum member 'jim_wang18' (jim_wang18)]
>
> http://forums.java.net/jive/thread.jspa?messageID=347852
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>