| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#2 (permalink) |
|
Member
Join Date: Mar 2008
Posts: 32
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
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. |
|
|
|
|
|
#3 (permalink) |
|
Banned
Join Date: Sep 2007
Age: 25
Posts: 88
Thanks: 0 Thanked 4 Times in 4 Posts Thanks: 0
Thanked 4 Times in 4 Posts
Rep Power: 0
|
Re: ServletPool
nice explanation.
Free Downloadable Java,J2EE,Struts,XML EBooks |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|