This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet loading" Watch "Servlet loading" New topic
Author

Servlet loading

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I was fumbled on one sequence, whether servlet class is first loaded and then instantiated or whether it is first instantiated and then servlet class is loaded

Can anyone please tell me the sequence?


I am slow but sure
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3017
    
  35

Any type of class should be first loaded into the memory before it can be instantiated.


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet loading
 
Similar Threads
order of execution in java
Compiling jsp to servlet-Concept
servlet loading
whether servlet of filter is instantiated first?
When is a Servlet class loaded and instantiated?