3 ms·
Ask HN: JVM templating engines? Looking for JSP alternatives
For the first time, I'm building a JVM-based web app. I'm looking for a good replacement for JSPs. I've used Rails and Django extensively and like both their templating engines quite a bit - probably because of this experience jsp makes me want to gag a bit.
I've look briefly at Velocity but the perlish '$' syntax puts me off - though I could probably get over that.
Notably it only has to play friendly with java - Groovy, Clojure, Scala, are all viable options. I'm also considering using JRuby and just sticking with the erb I know.
Thanks.
- va_coder 16y agoI'm a huge fan of Grails/Groovy. In general I prefer Ruby, but if you're in an environment with existing Java code and Java infrastructure, Groovy can be a great fit.
- floodfx 16y agoGXP is decent. (http://code.google.com/p/gxp/ http://code.google.com/p/gxp/) You could also try GWT (http://code.google.com/webtoolkit/ http://code.google.com/webtoolkit/). Obviously more than just a templating engine but very cool.
- dsickles 16y agoCheck out Lift. It's a Scala based web framework. http://liftweb.net http://liftweb.net http://steve.vinoski.net/pdf/IC-A_Chat_Application_in_Lift.pdf http://steve.vinoski.net/pdf/IC-A_Chat_Application_in_Lift.p...