This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request queueing...." Watch "request queueing...." New topic

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.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: request queueing....
It's not a secret anymore!