> 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-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel