A comprehensive tutorial on how to use the power of Velocity 1.3 tobuild Web sites and generate content
Designed to work hand-in-hand with Apache Turbine, Struts, andservlets, Velocity is a powerful template language that greatlyenhances the developers ability to customize Web sites. Itseparates Java code from the Web pages, making a site moremaintainable. Because of this, it is a viable alternative to JSPsand PHP and is expected to become the standard template engine. Inaddition to its use with Struts and Turbine, Velocity can also beused to generate Java and XML source code, XML schemas, HTMLtemplates, and SQL code.
Even with all its promise, finding expert instructions on how toproperly program with this language has been difficult. Thiscode-intensive tutorial gives you all the tools youllneed.
It begins by quickly bringing you up to speed on all of theVelocity fundamentals and the Velocity Template Language.Youll then learn how to apply Velocity in a variety of areaswith the help of richly detailed code examples. Additionally,youll be taken through the steps of building a completeapplication in order to see how you can utilize all of thetechniques and technologies discussed in the book. Covering thelatest features of Velocity 1.3, Mastering Apache Velocity showsyou how to:
Build Java-based Web sites with Struts, servlets, Turbine, andother open-source tools
Generate a wide variety of Web content and code, includingJava, XML, SQL, and Postgres