tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony J. Biacco" <abia...@formatdynamics.com>
Subject RE: classloaders ?
Date Fri, 27 Feb 2009 18:24:39 GMT
it's a Java/JVM based concept, but understand that Tomcat itself is running in the JVM, so
classloading can be relative to tomcat, or whatever you have running in the JVM. For example,
the concept of servlets in tomcat are actually the JVM classloader loading a GenericServlet
or HttpServlet class, and then instantiating and initializing it.
 
-Tony

 
________________________________

From: André Warnier [mailto:aw@ice-sa.com]
Sent: Fri 27/02/2009 10:56
To: Tomcat Users List
Subject: classloaders ?



Hi.

I am a superficial browser on this list and tend not to delve to deep
into Java intricacies.  But when a term consistently shows up which I do
not understand, I try to at least learn enough about it to be able to
reassure my customers.

Classloader is now such a term.

I gather it is something that the JVM calls when it's missing a class,
to go hunt it down along a logic all its own, and kind of bring it into
service. I also gather that it's rather bad to get one's classloader
confused by setting CLASSPATHs and the like. And I gather that you can
either have your very own, or rely on Tomcat (?) to provide a standard
one.  I haven't a clue however if this is something Tomcat-specific,
Java-generic, or in-between.

Since I doubt that the above is all there is to say about it, could
someone thus be as kind as to point me to an explanation/tutorial about
classloaders ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org





Mime
View raw message