What we have to do if we want more sevlet objects?

Showing Answers 1 - 2 of 2 Answers

Jagan Mohan Rao koneedi

  • Mar 1st, 2006
 

you just implement single thread model then automatically servlet conainer

will create  objects for each client(request)

  Was this answer useful?  Yes

Kunde Venkata Ramana Rao

  • Apr 5th, 2006
 

Single Threaded Model permits only one request to access the service() method of the servlet.As when request hit the webcontainer the container will create a thread and permits the request through that thread to access the servlet. I don't think we can have more than one servlet instance present at any point of time. If you want you can always increase the threadpool size depending on the number of requests hits.RegardsVenkata Kunde

  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