Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fastest Java web templating language

I'm about to start in on a new Spring MVC project, and I'm examining the various options for the view. I've never been a fan of JSP, and I've run into JSP-related performance problems in the past, so I was looking through the other options. I'm hoping that somewhere somebody's taken a census of the various options (maybe it'll have to be me) and pronounced which ones are quick, or at least which options there are. Here are the choices I've thought of, ordered from obvious to bizarre:

  • JSP, JSTL
  • Velocity
  • FreeMarker
  • GSP (Groovy JSP)
  • ERB powered by IronRuby or some such craziness
  • Tea

Any suggestions, personal preferences, or other good options for the list?

like image 840
Brandon Yarbrough Avatar asked Apr 10 '26 02:04

Brandon Yarbrough


1 Answers

StringTemplate - fast, simple and helps enforce MVC separation of concerns. Last I checked, Spring Web MVC doesn't provide a View class for it, but I was able to easily create a custom one.

like image 102
Jeff Avatar answered Apr 12 '26 15:04

Jeff