struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Hookom" <hooko...@uwec.edu>
Subject RE: DynaActionForm Advantages
Date Tue, 09 Jul 2002 03:51:53 GMT
I agree with James on the extra level aspect.  I've been finding that
the finer the granularity in my struts application, the easier it is to
maintain [for each action, a specialized form/bean].

I did opt though for the validator, since it brought regexp validation
to the table which is invaluable and fairly easy to setup in an
afternoon.

Jake

-----Original Message-----
From: James Turner [mailto:turner@blackbear.com] 
Sent: Monday, July 08, 2002 10:37 PM
To: struts-user@jakarta.apache.org
Subject: RE: DynaActionForm Advantages 

My two cents on the topic.

As mentioned, once you move to a good Java IDE like JBuilder, writing 
getters and setters is no longer nearly the pain it used to be.

What bothers me about the DynaBean approach is that it's *yet another* 
file, and *yet another* level of indirection that obscure what's really 
going on.  I can look at an ActionForm, see all the properties, look at
the 
validation, all in one step.  Making it a DynaBean form means having to 
maintain another file with the XML, always having to remember where it
is, etc.

I think the decision to use one or the other is a matter of programming 
style, but I don't think either one is dogmatically a best practice.

James


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
 


--
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