library « Glassfish « JPA Q&A





1. GlassFishV3 Hibernate library issue    stackoverflow.com

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

com.sun.enterprise.admin.cli.CommandException: 
remote failure: 
Exception while preparing the app : 
java.lang.RuntimeException:
java.lang.ClassNotFoundException: 
org.hibernate.ejb.HibernatePersistence
I thought that the class ...

2. Shared JPA entity library    java.net

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 ...