• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding ClassLoader  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!