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
- EclipseZone - Clean Up Warnings with the 'restriction' Suppression Flag
- Using as400 QRCVDTAQ api to retrieve a message / entry from a dataqueue
- Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
- Adobe Flex 2.0 Beta
- Common Gateway Interface (CGI) on the as400 / iSeries
- AS400 Job Scheduler
- as400 Iseries Tips
- AS400 APIs
- Raj Blogs: Common UNIX Commands
- Why Crunch Mode (Long Hours) Doesn't Work
No comments:
Post a Comment