Monday, May 09, 2005
Quick and Easy Custom Templates with XDoclet
I stumbled upon templates. Templates are a way to extend the functionality of XDoclet to better match your code-generation needs. For instance, if you have a particular type of class that doesn't quite fit in with anything the XDoclet offers out of the box (in my case, these were custom controller classes), then it's fairly easy to add your own template files using XML markup only! Ideally, I just wanted to define a class with a minimal set of properties and generate not only my controller code, but additional XML that would be required by Spring. After some tweaking, I was pleased with the results
Subscribe to:
Post Comments (Atom)
Popular Posts
- Java Examples - JExamples.com
- iReport - OpenSource Java Reporting Tool
- Yahoo! Mail: Revenge of the Oddpost
- JSF - Backing Bean Management
- UDATE and *DATE in AS400 RPG
- AS400 Job Scheduler
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- IBM System i APIs at Work
- What is WebSmart
No comments:
Post a Comment