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.
Templates are compiled into Java and then into bytecode, and are referred to in application code just like any other Java class.
Templates are translated into Java classes with public methods whose signatures reflect the arguments declared in the templates. This provides compile-time type-checking as well as excellent performance.