What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / rajesh r
Hi
The SingleThreadedModel has been deprecated from Servlet
specification due to a performace hit.
Please donot use this in future use Synchronized block if
you really need to protect your Attributes from cuncurrent
access.
Thanks
Rajesh
rajeshr1988@gmail.com
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What are the exceptions thrown by servlets? Why?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What is servlet in simple terms?
How we can get ip address of client in servlet?
Why do we have servlet listeners?
Difference between GET and POST?
What do you mean by mime type?
Elucidate servlet attributes and its scope?
How do we call one servlet from another servlet?
What is called Session Tracking?
When to use doget() and when dopost()?
What are the differences between servlet context vs servlet config?
What is life cycle of Servlet?
Explain is servlet mapping?
What do you mean by web applications? Explain web application directory arrangement?