File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Regarding ClassLoader " Watch "Regarding ClassLoader " New topic

Regarding ClassLoader

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 237
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,


Thanks in Advance,
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
I agree. Here's the link:
subject: Regarding ClassLoader
It's not a secret anymore!