Code Generation API
By venu on Jun 25, 2009
While I was looking at tools to generate code, I found Codemodel[codemodel.dev.java.net] to be a pretty good one. It is used by JAXB and by quite a number of internal projects within SUN. If you are not looking for a template based approach for generating JAVA code[as in http://apt-jelly.sourceforge.net/] I strongly recommend using Codemodel, nice thing I found in Codemodel is that generated code is nicely formatted , it was a onestop solution for me.