Hello, all,
I am not sure whether it is a good practice to:
eliminate instance variables from Struts action class; and
make all methods static.
Basically it turns the action class into a utility class.
Any comments? Thanks.
Denis
: Denis Wang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 16 July 2003 22:29
To: Struts Users Mailing List
Subject: is Struts action class a Design Pattern of utility class?
Hello, all,
I am not sure whether it is a good practice to:
eliminate instance variables from Struts action class; and
make all
--- Denis Wang [EMAIL PROTECTED] wrote:
Hello, all,
I am not sure whether it is a good practice to:
eliminate instance variables from Struts action class; and
make all methods static.
Basically it turns the action class into a utility class.
Any comments? Thanks.
Do *not* make your methods
You can still have static methods on the action, just
no instance variables that you update. No instance
variables on actions is generally the case.
sandeep
--- David Graham [EMAIL PROTECTED] wrote:
--- Denis Wang [EMAIL PROTECTED] wrote:
Hello, all,
I am not sure whether it is a good
4 matches
Mail list logo