Define the life cycle methods of a servlet? , JAVA Programming

The Web container is used for managing the servlet's life cycle. The Web container produces an instance of the servlet and then the container invokes the init() function. At the completion of the init() function the servlet is in ready state to service givens from clients. The container invokes the servlet's service() function for handling each request by spawning a new thread for each and every request from the Web container's thread pool. Before deleting the instance the container will call the destroy() function. After destroy() the servlet converts the potential candidate for garbage collection.

 

428_Untitled.png

Posted Date: 7/25/2012 3:54:33 AM | Location : United States







Related Discussions:- Define the life cycle methods of a servlet? , Assignment Help, Ask Question on Define the life cycle methods of a servlet? , Get Answer, Expert's Help, Define the life cycle methods of a servlet? Discussions

Write discussion on Define the life cycle methods of a servlet?
Your posts are moderated
Related Questions
frequently used java array method

Search on column demonstration in Semantic Vector Project Description: I am preparing a research on Semantic Vectors. But I am not able to check out in a vector representa

Write JavaScript code to convert the number 236.2363611111556 into currency format and JavaScript statement to show output? Var input_amt = 236.2363611111556 ; mid_data = input

Develop a School java project Project Description: Programming java, threads. Not so hard but requires knowledgeSkills required: Java

String concatenation and comparison public class StringTest { public static void main(String[] args) { int i = 4; int j = 5; System.out.println ("Hello" + i); // wi

(Login User Control) Create a UserControl called LoginPasswordUserControl that contains a Label (loginLabel) that displays string "Login:", a TextBox (loginTextBox), where the user

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing tha

I do not understand how to do this? can someone help me?


school management system