The DynaActionForm is great if you like to write scripting type code.  I'd
rather use encapsulation.  Otherwise you'll have the same code repeated in a
lot of your actions.

-----Original Message-----
From: Benedict, Paul C [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 11:04 AM
To: struts-user@jakarta.apache.org
Subject: ActionForm vs. DynaActionForm


What are the advantages and disadvantages of choosing ActionForm vs.
DynaActionForm?

I ask this because I always found DynaActionForm to be more valuable ...
until a co-worker picked my brain. He did not like the lack of type
information at compile time. I agreed. Also, I don't know how well
DynaActionForms work with AOP ala Xdoclet. Furthermore, JSF uses "backing
beans" which are real beans, and they more resemble ActionForm objects than
the latter.

I have read this article too:
http://weblogs.java.net/blog/srikanth/archive/2004/01/actionform_or_d.html
<http://weblogs.java.net/blog/srikanth/archive/2004/01/actionform_or_d.html>


Does anyone have any professional opinions and experience on this matter?

Thank you,
Paul


----------------------------------------------------------------------------
--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
Jersey, USA 08889), and/or its affiliates (which may be known outside the
United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as
Banyu) that may be confidential, proprietary copyrighted and/or legally
privileged. It is intended solely for the use of the individual or entity
named on this message.  If you are not the intended recipient, and have
received this message in error, please notify us immediately by reply e-mail
and then delete it from your system.
----------------------------------------------------------------------------
--

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