Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 01-02-08, 09:24 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2008
Age: 26
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 jazz_2k2 is on a distinguished road
ServletPool

In one of my interviews they have asked me "What is Servlet Pooling"?
jazz_2k2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25-03-08, 05:05 PM   #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 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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 26-03-08, 12:54 AM   #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 satya5321 is on a distinguished road
Re: ServletPool

nice explanation.
Free Downloadable Java,J2EE,Struts,XML EBooks
satya5321 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 03:13 AM.





Search Engine Optimization by vBSEO 3.1.0