TemplateMaster is a Java library for creating template driven content. It can be used to generate web pages, emails, and anything else that can be created based on a textual template.
The code was originally developed as part of our blog "How To Build Template Driven Java Websites with FreeMarker and RESTEasy".
Enjoy.