Java Open Source Projects Directory

...dedicated into Java open source projects

  • Increase font size
  • Default font size
  • Decrease font size
Template Engines

dynamator

Dynamator is a simple but powerful tool that transforms standard HTML and XML files into server pages or programs. Dynamator was created to solve the Server Pages Maintenance Problem. Dynamator separates HTML from program logic so completely that different page generation technologies can use the same HTML. With Dynamator, software developers don't have to maintain HTML, and HTML authors don't have to learn a programming language.

 

hapax

Hapax is a simple text templating library for Java. Hapax is suitable for constructing text output from Java code. The syntax is similar to Google's ctemplate library. Hapax was designed to be easy to use and have minimal dependencies. Hapax does not depend on any existing web framework, and is suitable for use in servlets, scripting languages (Scala, Groovy, etc), and server-side applications.

 

velocity

Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code. Velocity can be used to generate web pages, SQL, PostScript and other output from templates. It can be used either as a standalone utility for generating source code and reports, or as an integrated component of other systems

 

bluprints

Bluprints is a JSP templating framework with zero dependencies and a simple yet powerful XML configuration. This project provides many sophisticated features such as multiple file support, namespacing, cross file/namespace extension, nesting and much more. The XML parsing is done via SAX for performance and to reduce the failures due to XML binding frameworks. An XML schema is provided and always kept up-to-date. The API is simple and direct without hundreds of methods and classes. However, Bluprints provides many features that other JSP templating frameworks are lacking in a fraction of the code. Bluprints is a JDK 1.5 only framework and requires no external libraries to use. It supports WebWork integration and will be supporting plain servlets, struts/actionflow and other frameworks in the future.

 

tea

Tea is a simple yet powerful template language. Tea is most commonly used for creating dynamic web pages in the TeaServlet.

 

minitemplator

MiniTemplator is a compact template engine for HTML files. Features:

 * Available in Java, PHP and Visual Basic (VB/VBA).
 * Simple syntax for template variables and blocks.
 * Blocks can be nested.
 * Compact, well-documented source code. A single code module.
 * Documentation and sample programs available.

 

jamon

Jamon is a general purpose template engine written in java. Jamon has a rich feature set to support encapsulation, parameterization, functional decomposition, and reuse of presentation logic.

 

jxp

Jxp (Java scripted page) is a script-processor/template-engine that can execute template files containing text + java code. It contains a parser to parse the script file into an abstract syntax tree and a tree processor (JxpProcessor) that will process the syntax tree to execute the code using reflection API to produce output. Some of the main features of Jxp includes: - java as template language. so why learn another one? ;) - support common java language 1.4 constructs (1.5 syntax support pending) - practical template sources management framework - support caching of parsed syntax tree to eliminate reparse of template - a servlet implementation to enable web-scripting - extensible processing context for defining built-in function on the scripts

 


Page 2 of 3