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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SingleThreadModel example" Watch "SingleThreadModel example" New topic

SingleThreadModel example

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

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: 10441

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: 63548

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: SingleThreadModel example
jQuery in Action, 3rd edition