1) How does the server call on the servlet residing on the server , what are the exact setps it takes.
The container handles these details for you. Each container is free to do so how it sees fit as long as it complies with the Servlet Specs (see link below)
2) How many instances of the servlet will be created on the server.
One
3) even if 100 clients request the servlet will there be ony one instance of servlet ?? how does the servlet handle so many request ???
Yes, the servlet spawns a new
thread for each request.
4) Who calls the Init() method of the servlet ???
The container.
The best place to find the answers to these types of questions is in the Servlet Specification itself. This is the document that the developers of a servlet container follow.
http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ Also,
Tomcat is the reference implementation for the servlet and
JSP specs.
It's open source so you're free to download it and explore till your heart's content.
[ January 05, 2005: Message edited by: Ben Souther ]