This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
whenevr a request for servlet comes the request is sent from web server(Apache)
to servlet engine and then it checks the deployment descriptor for configuration
information and instantiates a particular servlet accordingly and then it invokes service method
ans as per http request doGet() or doPost() is invoked.
If multiple request comes at a time, a thread is created to serve each request.
Does it instantiate servlet only once for all requests or for each request a servlet is instantiated??
I think servlet is instantiated only once when 1st request comes and then for all further requests
a new thread is started in service method....
please check and rectify the above quote.
please tell me sequence of event dat take place when multiple request comes at a time from thread point of view.