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
- AS400 Job Scheduler
- Recover or reset QSECOFR passwords
- Contact Us
- UDATE and *DATE in AS400 RPG
- About Me
- About Us
- AS400 APIs
- WAS Application hangs with previous J2CA0086W warning messages STATE_TRAN_WRAPPER_INUSE
- eBook making on the PSP
- mrc online lab for anyone who wants to try their hand at building Java servlet applications
No comments:
Post a Comment