|
Re: ServletPool
Hi,
In earlier days CGI(Common Gateway Interface) was used for creating dynamic web pages.Whenever user requests the CGI container,It will create new instance for that.
After that when servlet was introduced,It will create new thread whenever user requests.So same instance will be handling more requests with the help of multithreading.It helps to increate the performance.
Even there is an option to make our servlet single threaded.In that case new instance will be created for each request.After the requets have been over, the instances will not be destroyed permanantely.Instead of that,that will be passivated to instance pooling area.That is nothing but the place where instances are sleeping after work.Then again when user requests for the servlet, these instances will be activated to servlet container responding place and it will start responding.
As of my knowledge i have answered this question.
Comments are welcome
Thanks.
Regards,
R.P.Karunakaran
Last edited by writetokaruna@yahoo.com; 26-03-08 at 12:30 PM.
|