What is the best way to use result beans with Struts (i.e. beans that are
not associated with a form). In particular, I have a plugin class that's
called by the Struts action servlet upon startup and this class calculates
the current date. This date needs to be stored in a bean having session
scope and displayed on all pages in the application. Currently, this bean
is being instantiated in one of my actions and placed in session scope.
Is this the best way to achieve this? Also, should I be using a plugin
class for this? Lastly, is there a design pattern that I could follow to
achieve this? I am trying to use best practices without adding too much
complexity and overhead (i.e. EJB is overkill).
Your input would be appreciated and if you know of any articles that
discuss this, please send me the URLs. Thank you.
- Asad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]