my dog learned polymorphism
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
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Thread-safe Action class ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1432
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: 63865

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Thread-safe Action class ?
It's not a secret anymore!