aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 8919

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

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

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]
It is sorta covered in the JavaRanch Style Guide.
subject: SingleThreadModel example