Code generation and development trends in java. Brief History:Code Generation In Java Code Generation was a must for J2EE because of lots of .xml, .java and .properties files . There are less code-reuse and less components. So if you are developing medium or enterprise applications your first step would be seeking a code generator. And finally you would find one or build a small code generator . And after some development and training you have something miraculous:Code Generated and lots of code working with pretty UI's and interfaces.