Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Servlet Container ...

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can a servlet container maintain a pool of servlet instances (same servlet) ?...I guess it can but how can it be done ? do we need to specify something in the deployment descriptor ?
Any help is appreciated...
Thanks
Venkatesh
[ January 09, 2004: Message edited by: venkatesh rajmendram ]
 
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At any point in time the servelet container has only one instance of servlet.
There is no question of servlet pool arises here.
 
venkatesh rajmendram
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi...
As a matter of fact you can have many instances of same servlet at same time in servlet container. You have to specify the same servlet multiple times in the deployment descriptor...web.xml
- Venkatesh
[ January 09, 2004: Message edited by: venkatesh rajmendram ]
 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vijay S Rathore:
At any point in time the servelet container has only one instance of servlet.
There is no question of servlet pool arises here.


hi Vijay,
You may search the word "pool" in Servlet spec, you will see that a container is allowed to use a pool of servlet instances to improve the performace!
Venkatesh, the implementation of servlet instance pool is specific to container, containers may maintain a pool for servlet, but it is not required, some containers may allow you to maintain the pool by setting, but some may not allowed, you must read the container's documentation to get the information about this!
 
Vijay S. Rathore
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jacky Chow for the information
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic