I wouldn't argue against the points Rick is making, particularly the benefit
of central place for configuration information as opposed to marking it out
all over the shop. I will throw one thing out there though. When you have
lots of Action Mappings and subsequent Action classes that are in a state of
change and development being able to add/delete/change targets in the
execute method and guarantee the consistency with the struts-config.xml at
the top of the same file can have some use.

Matt

-----Original Message-----
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 10:26 PM
To: Struts Users Mailing List
Subject: Re: RE : Struts, XDoclet, and Maven...


Marco Mistroni wrote:

> I m doing it coz I m lazy and I prefer that someone else
> Generates configuration files for me..

But what aspect of configuration is it saving you time with? You still
have to code all the parameters for your action mapping in the Action
class, so what's the difference time-wise if you code them there or in
the struts-config? What's sort of ironic is when Struts came out one of
the benefits was touted about how you had a central place to do your
configuration and you weren't having to harcode fowards in your
controllers. XDoclet with Struts sets you back to the old way of doing
things, imo. (Once again, no knock on XDoclet, it's a great tool, I just
find its worth with Struts limited at best).

--
Rick

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


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

Reply via email to