Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding ClassLoader

 
Kousik Majumder
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic