*
The moose likes Servlets and the fly likes Regarding ClassLoader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Regarding ClassLoader " Watch "Regarding ClassLoader " New topic
Author

Regarding ClassLoader

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

Can somebody explain me how the very first class is loaded in the system in a web application where there is no 'main' method in application code?


Thanks& Regards,

Kousik


Thanks in Advance,
Kousik
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
The web container's bootstrap constructs a class loader which loads the container's internal classes and starts the container. Subsequently, application classes will be loaded by application class loaders.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
wood burning stoves
 
subject: Regarding ClassLoader