It's been discussed recently. See Andreas Schaffer's post and my
responses. The proposed solution is simple and effective. I like
webwork's stuff too, it's very AOP-like! N different solutions exist, I
think user should decide and code it by using custom merge files.

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Konstantin Priblouda
> Sent: Friday, February 08, 2002 2:00 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; xdoclet-
> [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] Validation code for entity beans / data
> objects
> 
> 
> > I use XDoclet 1.1.1. to generate EJB 2.0 CMP entity
> > beans. I was wondering
> > where you folks suggest to put field validation
> > logic (preferably the
> > generated data objects?) and ideas on how I would go
> > about to have my
> > validation code included in the generated code. Can
> > I use a merge file to
> > include validation code specific to different data
> > objects and entity beans
> > and XDoclet picks the right code fragments for each
> > generated DO
> > automatically?
> 
> Hi, I'm crossposting this to xdoclet-devel too.
> 
> Maybe we shall borrow some methods from webwork
> validation stuff, and made data object "real bean"
> with property editors and validator objects?
> 
> And then use reflection somehow?
> 
> 
> what do you think?
> 
> 
> regards,
> 
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to