<shameless_plug>:  I hated the 1-1 mirroring of action forms and
business objects, so I wrote FormDef:  https://formdef.dev.java.net/ .
 You may want to take a look at it, it'll save you time keeping the
two in sync, and can also handle deep copying between the two,
especially the current dev version  (
https://formdef.dev.java.net/servlets/ReadMsg?list=users&msgNo=112
).</shameless_plug>

Hubert


On 6/14/05, Ovidiu EFTIMIE <[EMAIL PROTECTED]> wrote:
> Hi,
> I've recently started working on a project that uses Struts 1.2 and
> Hibernate - and I'm in the dev team. Nothing unusual here.
> The project architecture is made in such way that ActionForms are an
> almost 1-1 mirror with the the Hibernate mapped entities.
> For example : if I have an entity A that contains an entity B and a
> list of etities C, in the corresponding forms I'll have Aform
> containing Bform and a List of CForm objects.
> 
> What I would like to know if anyone used the ActionForms in such a way
> , or if this is considered to be a best practice.
> 
> Thanx,
> Ovidiu
> 
> ---------------------------------------------------------------------
> 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