XdocletActionForms |
|
Your trail: |
Difference between
version 14
and
version 13:
At line 7 changed 1 line. |
Entities have virtually the same fields as ActionForms in many cases, but the exceptions are enough to prove they should not be parallel (and even [Ted Husted|http://husted.com/struts/tips/005.html] thinks so). ActionForms should be flexible to suit the view, not necessarily to suit the model. In fact, it is only your manager class (business delegate) that should care how you designed your ActionForms, so that even the DAO cares only about the entity design. Here are several reasons why XDoclet should __not__ be used to make ActionForms from entity beans: |
Entities have virtually the same fields as ActionForms in many cases, but the exceptions are enough to prove they should not be parallel (and even [Ted Husted|http://husted.com/struts/tips/005.html] thinks so). ActionForms should be flexible to suit the view, not necessarily to suit the model. In fact, it is only your manager class (business delegate) that should care how you designed your ActionForms, so that even the DAO cares only about the entity design. Here are several reasons why XDoclet should ''__NOT__'' be used to make ActionForms from entity beans: |
Back to XdocletActionForms,
or to the Page History.
|