When a servlet handles concurrent requests where do the requests get queued?
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
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
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.