As for Struts generation, there are several tools out there, check the Struts website for more information on them. Some open-source plugins for Eclipse, etc, and some commercial tools like Adalon. Personally, wizard code doesn't do much for me and is geared towards someone elses idea of "best practices" that I might not (and usually don't) subscribe to.
How would maintaining and ActionForm be any tougher than maintaining XML elements in struts-config *and* validation.xml? The idea is to use XDoclet to avoid duplication with information strewn throughout these descriptors. Again, I'd love to see someone come up with better ways to do Struts forms/validation and avoiding duplication. With Struts specifically, there are lots and lots of ways to do this kind of thing, so my way is just one way but not by any means the only way. I've got two Struts books on my desk and neither of them do things my way, and neither do it the same way.
Erik
Derek Lin wrote:
Erik, Please allow me to linger on this topic a little longer. I think writing ActionForm's manually isn't a lot of work, but maintaining it might be, for example, name change, deletion or addition of fields (Actually, I am not sure). But auto-generate from IDEA intrigues me. Do you know of any open source project that dose that? I know that there is a beanmaker project in sourceforge that takes xml and generate simple JavaBeans, but it won't do that job here. -- You know what, I am stuck. I mean, there has to be some maintenance right? -- Maybe writing ActionForm's the manual way is the only way?Thanks for your time, Derek
------------------------------------------------------- This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
