Consider code generators

Some types of classes share the same basic structure, and differ only in details. Type-safe enumerations (at least in JDK 1.4) and data-centric Model Objects are two examples. In such cases, aids for rapid code generation become very useful. These may take several forms : Code generators often use simple, ad hoc textual descriptions as input. The codegeneration.net web site is a useful reference for code generation.

The extensive use of code generation is often called Model-Driven Development (MDD), or Model-Driven Architecture (MDA).

Would you use this technique?
Yes   No   Undecided   
© 2013 Hirondelle Systems | Source Code | Contact | License | RSS
Individual code snippets can be used under this BSD license - Last updated on August 30, 2012.
Over 2,400,000 unique IPs last year - Built with WEB4J.
- In Memoriam : Bill Dirani -