Given that for modern JVMs object creation and cleanup isnt the chore it
used to be , I am wondering if it might not be more convienient to create a
new Action instance for each request.

This would eliminate the need to write the Actions in a thread-safe manner
and allow for the use of member variables  (though such would only exist
during that request obviously).

It would then be quite tempting to pass in the mapping, actionForm, request,
response to the constructor and have them as member variables. (Not that
there is any particular benefit to this, except perhaps as syntactical
sugar)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to