This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Single Thread Model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Single Thread Model" Watch "Single Thread Model" New topic

Single Thread Model

amit sanghai
Ranch Hand

Joined: Dec 05, 2000
Posts: 231
How do you implement Single Thread Model in servlets?
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
Not difficult that.
implements SingleThreadModel
at the start of the class declaration.
Take a look at the resources I mentioned in
response to your question about sessions.
senthil narayan

Joined: Jan 25, 2002
Posts: 13
Yes you can implement single thread model interface by implementing it in servlet class.but it affects performance very much so please see it whether it is actually needed.
Have you checked out Aspose?
subject: Single Thread Model
It's not a secret anymore!