File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes what is SingleThreadModel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "what is SingleThreadModel?" Watch "what is SingleThreadModel?" New topic

what is SingleThreadModel?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
what is SingleThreadModel?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

SingleThreadModel was an attempt at making it easier to to write thread safe servlets. The idea didn't really work out and the interface is now deprecated. It is worth understanding but only for maintaining older applications that employ it.

If you're interested in learning more about it, there is a link to the servlet spec in my signature. A quick search on that document for SingleThreadModel will bring you right to the relevant section.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: what is SingleThreadModel?
It's not a secret anymore!