What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / rajkumar
In Single Thread model multiple instances of Servlet class
is Created for every request and in MultiThread model thread
instance is created for every request.
Single thread model is used in case code safety.Performance
fo server is degraded when we use single thread as it
creates Servlet instance for every request where server
gives fast response in multi thread model.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
How do I know if java is running on linux?
What is the type of method for sending request from http server?
How do you invoke a servelt?
Why do we have servlet listeners?
What is the capacity the doget can send to the server?
What is session?
The code in a finally clause will never fail to execute, right?
How to create war file?
How can you create a session in servlet?
What is the major difference between servlet and applet?
What must be implemented by all servlets?
Write a servlet to upload file on server.
What methods do you use in servlet - applet communication?
How can we achieve transport layer security for our web application?
What is webservlet?