Templating in Java: What to use?
April 9, 2008
I’m looking into using a templating engine for formatting output from a Java component. From what I can tell, the top 3 templating engines for Java are Apache Velocity, Jxp, and FreeMarker.
Right away, Velocity stands out given the reputation of the Apache Foundation. Looking at Jxp, though, it’s appealing to be able to use standard Java code with the JSP-like syntax. If we can believe the FreeMarker site comparing it to Velocity, FreeMarker has better support for number and date manipulations (among other things), which could be particularly important for my uses.
I haven’t tried any of these engines out, yet. Rest assured, though, that I will try them and post my findings.
April 10, 2008 at 1:39 am
http://freemarker.blogspot.com/2007/12/velocity-of-freemarker-looking-at-5.html
April 10, 2008 at 1:39 am
Consider http://freemarker.blogspot.com/2007/12/velocity-of-freemarker-looking-at-5.html