Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Class Loaders in Tomcat

Share this post!
 Vote this!

Each time a class is instantiated as an object or referenced statically, that class must be loaded by the Java Virtual Machine (JVM) into memory, Tomcat uses class loaders and has different behavior to other class loaders. Tomcat allocates a class loader to each web application, but there are global ones as well.
Class loader Overview
The class loader deals with loading classes that many be on a file system, embedded computer systems (ROM chip), across a network. The role of a class loader is to abstract the process of loading classes, making completely independent of any type of underlying data store.
Since J2SE 1.2 the JVM uses three different class loaders
  • Bootstrap class loader (also called the primordal class loader)
  • Extension class loader
  • System class loader  more...

0 comments:

Post a Comment