So far we’ve seen how the use of development frameworks and judicious use of design patterns can help to separate the concerns of our web applications. For the most part with concentrated on the main core of our application, and how to separate our application logic. Although not necessarily as important as the business logic, we can take this process one step further and separate our application’s Java code from our presentation through the use of templates. So in this chapter, we will describe the problems that template engines can solve, and how to use one such template engine, Velocity.


Variable Reference Java Code Java Application Shopping Cart Java Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John Carnell, Jeff Linwood, and Maciej Zawadzki 2003

Authors and Affiliations

  • John Carnell
    • 1
    • 2
  • Jeff Linwood
    • 3
  • Maciej Zawadzki
    • 4
  1. 1.NetChange, LLCUSA
  2. 2.Waukesha County Technical College’s (WCTC) School of BusinessUSA
  3. 3.Chemical EngineeringCarnegie Mellon UniversityUSA
  4. 4.Urbancode Software Development, Inc.USA

Personalised recommendations