In a book I have it says:
"It is also important to note that the Action class must be designed in a
thread-safe manner. This is because there's only a single instance of an
Action class per action element in the action-mapping configuration file."
So here's my 2 question(s):
1. I then assume that "perform()" is synchronized
2. What about those cases where 2 different action mappings resort to the
same action class?
For example:
<action
path="/BillingAdd"
type
="com.expressbill.actions.setup.billing.BillingActionPreloadForm"
...
Rest of it snipped
and
<action
path="/BillingEdit"
type
="com.expressbill.actions.setup.billing.BillingActionPreloadForm"
...
There are 2 different path elements but both refer to the same Action class
instance... Does this mean 2 static instances of
BillingActionPreloadForm will exist or will only just 1 exist between the 2
different action mappings that link to the same class?
thanks,
Theron
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>