You could use lazy DynaBean - I added LazyValidatorForm to Struts a few days
ago - available in the nightly build:

http://svn.apache.org/builds/struts/nightly/

Info:

*
http://struts.apache.org/api/org/apache/struts/validator/LazyValidatorForm.html
* http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean


Alternatively, Hubert Rabago has created the FormDef extension to Struts
which generates the VO for you - exactly what your asking for

https://formdef.dev.java.net/

Niall


----- Original Message ----- 
From: "Patrick Beagan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 4:48 PM
Subject: VO usage


I have an application that uses struts - ejbs - hibernate.  My value
objects used for hibernate have the exact members as my  html forms.
Does anyone have

Any suggestions to re-use these value objects?  IE: It seems that I must
define an ActionForm for my struts layer, and have a plain value object
in my app server layer.  I'd rather not duplicate.



Thanks.

Patrick








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

Reply via email to