This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
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 RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

Thread-safe Action class ?

kri shan
Ranch Hand

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

Joined: Jan 10, 2002
Posts: 62746
    
  68

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thread-safe Action class ?