This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Single threadmodel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Single threadmodel" Watch "Single threadmodel" New topic
Author

Single threadmodel

Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
hi all
why do we hv to use single thread model servlet?
please give me an example where single thread model is used

rgds
sree


Sree
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

why do we hv to use single thread model servlet?


You don't have to use it. In fact, it's a very bad idea to do so.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rajesh Agarwal
Ranch Hand

Joined: Aug 01, 2005
Posts: 79
And more over sreekanth, its deprecated in the latest version..... its still in the API only to support the existing systems. Its would be a bad idea to use STM for newer systems.
Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
Thankyou verymuch bear and ragesh

Rgds
Sree
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Single threadmodel
 
Similar Threads
Variable Integrity---I'm scared!!!
synchronized(page) is jsp
single thread or multi thread ?
Is Servlet SingleThread Model or Multithread Model by default?
Thread Models