Java Open Source Projects Directory

...dedicated into Java open source projects

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

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

 

stringtemplate

StringTemplate is a java template engine (with ports for C# and Python) for generating source code, web pages, emails, or any other formatted text output. StringTemplate is particularly good at multi-targeted code generators, multiple site skins, and internationalization/localization. It evolved over years of effort developing jGuru.com. StringTemplate also generates this website and powers the ANTLR v3 code generator. Its distinguishing characteristic is that it strictly enforces model-view separation unlike other engines.

 

freemarker

FreeMarker is a template engine. It provides an easy way to generate textual (HTML, RTF, PostScript, TeX, source code, etc) output from your data and helps you separate design issues from application logic. Integrates with servlets, XML, Python and more.

 

better-templates-for-everybody

A "bottom up" template specification in which data knows how to insert itself into the proper place in your template. Templates can be built from static files or from Java servlets.

 


Page 3 of 3