It seems as if the class-loader that loaded a particular class maintains some kind of 
reference to the class.  Any dependent class can be loaded only by this loader or any 
one up the Tomcat hierarchy 
 
             Bootstrap
                   |
               System
                   |
              Common
        /                      \
 Catalina                 Shared
                           /              \
                     Webapp-1  Webapp-2

So in other words, if Class-A is loaded by the Common classloader and Class-A requires 
Class-B the search will only be conducted by the Bootstrap classloader, the System 
classloader and the Common classloader (in that order).

Is this correct?

Sri

Reply via email to