when the several requests comes to server..how it manage
the requests

Answers were Sorted based on User's Feedback



when the several requests comes to server..how it manage the requests..

Answer / goutham

When several requests comes to the server,I am assuming here
the requests coming to the same servlet,then the
webcontainer sees whether the Servlet is instantiated if it
is not the servlet is instantiated (only for the first time)
then a thread is spawned for each request and assigned to it.

*servlets does not implement singlethreadmodel , this
interface is depricated and hits the performance very
badly..instead of singlethreadmodel you can use sychronized
blocks(not methods)

Is This Answer Correct ?    15 Yes 0 No

when the several requests comes to server..how it manage the requests..

Answer / suresh mediboyina

When the request comes to IIS server,it can identify the
file extension by http handlers and send to Http modules
which can be processing the request send to http handlers,
this can send to browsers.

Is This Answer Correct ?    3 Yes 0 No

when the several requests comes to server..how it manage the requests..

Answer / malligontla

As the servlet is a single thread model, then the requests
will be served one by one. That’s the internal process by
the web container.

Is This Answer Correct ?    6 Yes 3 No

when the several requests comes to server..how it manage the requests..

Answer / siva thimmannagari

i think its only servlet and instance and multiple thread..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Servlets Interview Questions

explain the advantages of servlet life cycle?

0 Answers  


what do you understand by url rewriting?

0 Answers  


What is ServletContext() and what is its use?

9 Answers   Prime Technology, TCS,


1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

5 Answers   OnMobile,


What is the role of the webserver?

4 Answers  






i am bca student,give me suggest for bright future

18 Answers   BSNL, Future Considerations,


What is a servlet context?

0 Answers  


List out difference between a JavaBean from a Servlet?

0 Answers  


How can you push data from an Applet to a Servlet?

0 Answers  


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

0 Answers  


How do we translate jsp?

0 Answers  


What are the ways to handle multi-threading in servlets?

0 Answers  


Categories