permaculture playing cards*
The moose likes Servlets and the fly likes request queueing.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "request queueing...." Watch "request queueing...." New topic
Author

request queueing....

sunil kumre
Ranch Hand

Joined: Dec 23, 2000
Posts: 64
When a servlet handles concurrent requests where do the requests get queued?
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Whether the requests gets queued depends on the container and if you specifically implemented the SingleThreadModel interface in your servlet. A container will instantiate a new servlet object for each request to the object, or it can create a pool of instances to handle one request at a time. The container handles the queuing.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
GeeCON Prague 2014
 
subject: request queueing....