library « Glassfish « JPA Q&A

1. GlassFishV3 Hibernate library issue

I am trying to deploy a JAR file in a GlassFishv3 server. This results in the error:

remote failure: 
Exception while preparing the app : 
I thought that the class ...

2. Shared JPA entity library

We have just started using Glassfish 3 and are looking to build a number of JSF web apps and EJB's as part of a larger application. Each of the modules (either local EJBs within the web app WAR's or remote EJB's for common/shared functionality) will utilise the same Oracle database and as such we would like to build a single JPA ...