To enable your applications to locate the class libraries for embedded Enterprise Server, add one of the following JAR files to your class path:
Contains classes needed for deploying Java EE web applications. Download this file from http://download.java.net/maven/glassfish/org/glassfish/extras/.
Contains classes needed for deploying all Java EE application types. Download this file from http://download.java.net/maven/glassfish/org/glassfish/extras/.
Contains references to classes needed for deploying all Java EE application types. Must be used with a nonembedded installation of Enterprise Server. Obtain this file from the as-installglassfish/lib/embedded directory of a nonembedded Enterprise Server installation. For an explanation of as-install, see Installation Root Directory.
In addition, add to the class path any other JAR files or classes upon which your applications depend. For example, if an application uses a database other than Java DB, include the Java DataBase Connectivity (JDBCTM) driver JAR files in the class path.