The Future of Struts
There's an interesting discussion taking place on the struts-dev mailing list right now. Here's a couple excerpts:
I'd be really interested in your thoughts on the XDoclet work I've done, especially in the Struts Validator realm. I'm generating validation.xml completely, and also all the form bean definitions in our system. I also use XDoclet to process form beans for a one-time starter code generation of a JSP page (templated to our specific look and feel) for a specified form bean, as well as the resource properties that can be used as a starting point for the application resource properties for the field labels. Its amazing amount of generation just on the Struts-side of things, but we use XDoclet for even more than that too. [ Erik Hatcher ]
...
I think it is time to start packaging tools and generators with Struts to
help the developer -- either as standalone packages included for convenience, or integrated into the architecture of the package. It
would be interesting to explore how XDoclet fits in to this vision. [ Craig McClanahan ]
What exciting times! I can't wait to use XDoclet to generate the validation.xml
file for Roller - should be a great learning experience. I don't plan on writing a Struts ActionForm again now that we have XDoclet. Also, I have an update on Roller and XDoclet: Dave found this problem with XDoclet and Castor. It will be fixed in XDoclet 1.2 beta 3. So we wait...