Can a servlet page serve more than one client requests?how

Showing Answers 1 - 3 of 3 Answers

santh kumar

  • Jan 31st, 2007
 

It's True that a servlet can process multiple requests at a time.this can be application specific and the server specific. Concerns to Servers : servers can maintain a numorous instances of a servlet instances in the pool.it assingns the instaces as the requests came.if the requests came more than the instances in the pool , they need to be wait. Concerns to Application : when servlet implements " SingleThrededModel" interface , it follows 2 technologies to answer these concern(multiple requests). 1) Instance pooling (above said concept) 2) Request Serialization : it handles one request at a time.all remains need to be waited.it effects the basic principle of Servlets. that single instance and multiple request handler. not alone above concepts are not good to handle this concern, but combination of these 2 is useful.with regards,santh

  Was this answer useful?  Yes

suman

  • Feb 13th, 2007
 

HI Santh Kumar, As u said servlets have multiple instances(it is wrong) each servle has one instance only, when a new request comes it does not create an instance but it creates a thread to the request.remaing answer is ok, Thanks

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions