Currently I’m using Mustache templates ( http://mustache.github.com/ ) both on the client and server-side, using javascript and java implementation respectively.
However, there are some limitations in Mustache which the relatively new Handlebars.js ( http://www.handlebarsjs.com/ ) tries to overcome.
However as far as I see it handlebars only has a javascript implementation as of yet.
Anyone knows of an (experimental) java-implementation of Handlebars?
I just saw this one pop up :
https://github.com/jknack/handlebars.java
which was originally here:
https://github.com/edgarespina/handlebars.java (update your maven dependencies as the projects group id has changed also).
I have not tested it yet.