Thread: ServletPool
View Single Post
Old 25-03-08, 05:05 PM   #2 (permalink)
writetokaruna@yahoo.com
Member
 
Join Date: Mar 2008
Posts: 32
Thanks: 0
Thanked 1 Times in 1 Posts
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 1 writetokaruna@yahoo.com is on a distinguished road
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.
writetokaruna@yahoo.com is offline   Reply With Quote