struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Struts design: All actions in one ActionClass
Date Wed, 11 Dec 2002 18:26:58 GMT
Definitely b.  It will be far easier to maintain.  If you're worried about 
having a lot of actions you can look at DispatchAction or using DynaBeans.

David






>From: "Jordan Thomas" <jot@ipa.fraunhofer.de>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "Struts-User" <struts-user@jakarta.apache.org>
>Subject: Struts design: All actions in one ActionClass
>Date: Wed, 11 Dec 2002 19:05:36 +0100
>
>Hi,
>
>What is the best way to design my application? Is it better to
>
>a) Put all my actions for a particluar area (i.e. creating, editing and
>deleting user accounts) in one Action class
>
>or
>
>b) Use a seperate action class for every action in my application
>
>or
>
>c) Put all of the actions for a particular workflow in a single Action
>class.
>
>I am looking to have an application that is easy to maintain and flexible.
>Suggestions/Advice would be most appreciated.
>
>thanks
>
>Jordan
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message