March 10, 2004
Many applications are composed of repetitive boiler-plate code. Sometimes this is due to a deficiency in the chosen framework and sometimes it's just necessary. In either event, managing all of this code manually can be quite a burden. Do you find yourself employing the "cut-n-paste" design pattern when dealing with this type of code?
Repetitive boiler-plate code is exactly the type of problem that code generation is for. XDoclet, an open-source code generation framework, uses JavaDoc-style meta tags to generate code for EJBs, servlets, Struts, Hibernate, mock objects, and much much more. It's even extensible so that you can adapt it to generate code specific to your projects.
In this session, we'll explore how you can plug XDoclet into your projects and you'll find out how to write custom XDoclet modules. We'll also briefly discuss JSR-175 and how it figures into the future of XDoclet.