What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / sateesh.b
SingleThreadModel is a taged interface i.e. an interface
with out methods.
If any servlet is implimenting singlethreadmodel interface
that servlet is said be thread safe i.e. for each request
to that servlet one new object will be created in the server
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
List some life cycle methods of a servlet.
What are the supporting protocol by HttpServlet ?
Can you refresh servlet in client and server-side automatically?
Explain the difference between servlet and cgi?
What are its drawbacks of cgi?
What is the main purpose of java servlets?
What's the difference between servlets and applets?
Which java framework is most popular?
Which protocol will be used by browser and servlet to communicate
What are the ways to handle multi-threading in servlets?
How to make sure a servlet is loaded at the application startup?
What are all the protocols supported by httpservlet?
What do you mean by cgi and what are its drawbacks?
How can you start a jta transaction from a servlet deployed on jboss?
What is the procedure of invoking different servlet in a different application?