What is XDoclet?XDoclet is a code generation engine. It enables Attribute-Oriented Programming for java. In short, this means that you can add more significance to your code by adding meta data (attributes) to your java sources. This is done in special JavaDoc tags. XDoclet will parse your source files and generate many artifacts such as XML descriptors and/or source code from it. These files are generated from templates that use the information provided in the source code and its JavaDoc tags. XDoclet lets you apply Continuous Integration in component-oriented development. Developers should concentrate their editing work on only one Java source file per component. This approach has several benefits:
Currently XDoclet can only be used as part of the build process utilizing Jakarta Ant . Although XDoclet originated as a tool for creating EJBs, it has evolved into a general-purpose code generation engine. XDoclet consists of a core and a constantly growing number of modules. It is fairly straightforward to write new modules if there is a need for a new kind of component. XDoclet comes with a set of modules for generation of different kinds of files. Users and contributors can write their own modules (or modify existing ones) if they wish to extend the functionality of XDoclet. Why would I use XDoclet? My favorite IDE can do this for me!A lot of people (over 60.000 downloads in 2002 , and more than 22.000 in 2003 already ! An average of 6.000 page views each day !) are already improving development time by using XDoclet for development of J2EE applications. Here are some benefits you'll gain when using XDoclet:
XDoclet 1.1.2 DocumentationThe documentation of the old 1.1.2 release is available here . |