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
Differentiate between the print writer and servlet output stream?
What is called Scriptlet?
Which application server is best for java?
What is the difference between forward () and sendredirect () functions in servlet? Explain
Which is the methods of generated servlet?
Should I override the service() method?
What do you mean by annotations in servlet?
What is the difference between portlet and servlet?
What do you mean by cgi and what are its drawbacks?
What are the steps involved in placing a servlet within a package?
How is a servlet implemented in code?
What do you mean by httpservlet?
What are the features added in Servlet 2.5?
Why doesn’t a servlet include main()? How does it work?
What is the type of method for sending request from http server?