users@glassfish.java.net

basic classloader / directory questions

From: Mark Hansen <marklists_at_javector.com>
Date: Fri, 15 Dec 2006 10:36:41 -0500

Can someone clarify a few basic points about the GlassFish class loaders?

(1) Does everything (e.g., the Ant JARs) in the $GLASSFISH_HOME/lib
directory end up on the Bootstrap loader's classpath or they System
loader's classpath? If not, which resources are loaded?
(2) In order to make a JAR available to all applications, in all
domains, should I put it in $GLASSFISH_HOME/lib? or can I segregate it
from the GlassFish JARs by putting it in a subdirectory such as
$GLASSFISH_HOME/lib/myJARs ?

Thanks,

Mark