users@glassfish.java.net

Re: ear file structure

From: <glassfish_at_javadesktop.org>
Date: Mon, 02 Jun 2008 08:34:46 PDT

Put your library .jar in a directory called "lib" at the top-level of the .ear. Any .jars in there are
automatically made visible to all modules (ejb-jars, .wars, Application Clients) in the application.

myapps.ear
|--lib
|----mylibrary.jar
|----anotherlibrary.jar
fooejb.jar
foowar.war

A library .jar is not considered a Java EE module so it's not specified in application.xml.
The <java> element is for Application Client modules.
[Message sent by forum member 'ksak' (ksak)]

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