aspose file tools*
The moose likes Struts and the fly likes Thread-safe Action class ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Thread-safe Action class ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1378
Can i use synchronized at synchronized execute() (method level) / synchronized block level for Thread-safe Action class.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61433

Only if you want your application to run like molasses. (In other words, very slowly.)

This is all pretty much addressed here, so I'll close this topic.

[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: Thread-safe Action class ?