Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes SingleThreadModel example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "SingleThreadModel example" Watch "SingleThreadModel example" New topic

SingleThreadModel example

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Can anyone gimmi an real life example where singleThreadModel needs to be used.
Thanks in adv

Anoopk Kumar

Joined: Oct 08, 2010
Posts: 3

When you use banking transaction...
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9962

1) This thread is more than 10 years old

When you use banking transaction...

2) Banking transactions aren't in any way related to SingleThreadModel which is a (deprecated) interface in Servlet API

[My Blog] [JavaRanch Journal]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60822

Anoopk Kumar wrote:When you use banking transaction...

Are you serious? This is nonsense. The SingleThreadModel has been deprecated for many years and should never be used.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: SingleThreadModel example
Similar Threads
what is SingleThreadModel?
Single Thread Model
Doubt in Thread Safe Servlet.
Starting servlets
Servelet instances created in web.xml