Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are several good and well established template engines on the market. Most of them play nice with Spring. </p> <ul> <li><a href="https://velocity.apache.org/" rel="nofollow noreferrer">Velocity</a> - a classic and one of the most popular template engines out there. Quite good, quite flexible, ugly syntax but good Eclipse plugin. </li> <li><a href="https://www.thymeleaf.org/" rel="nofollow noreferrer">Thymeleaf</a> - one of the most feature rich and flexible template engine on the market. Performance is good, although not ground breaking. My personal choice for most of the projects.</li> <li><a href="https://www.stringtemplate.org/" rel="nofollow noreferrer">String Template</a> - really good performance, quite hard to use. Very flexible, thought...</li> <li><a href="https://github.com/mvel/mvel" rel="nofollow noreferrer">MVEL</a> - seems to be really, really fast and quite feature-rich. For me it was to complex and quite hard to use in a project with junior devs.</li> <li><a href="http://www.rythmengine.com/" rel="nofollow noreferrer">Rhythm</a> - from a Play framework to Java, nice and very flexible. Razor syntax is great. Rhythm is really fast, very flexible and nice to use. Another personal choice for my projects, next to Thymeleaf. There is a <a href="http://software-lgl.blogspot.com/2012/03/rythm-easy-to-use-high-performance-java.html" rel="nofollow noreferrer">nice article</a> on how to use this engine in Java.</li> <li><a href="https://httl.github.io/" rel="nofollow noreferrer">httl</a> - small, easy to use, not that fast but still good enough. Quite flexible but not that feature rich.</li> <li><a href="http://trimou.org/" rel="nofollow noreferrer">Trimou</a> - another fairly new kid on the block. Looks decent, uses Mustache templating syntax and is fairly easy to use. But for my taste a bit too simplistic and missing some features.</li> <li><a href="https://github.com/fizzed/rocker" rel="nofollow noreferrer">Rocker</a> - apparently a fairly new development, actively maintained and extended at this time. I like it, it has a nice idea for the syntax but it is nothing that resembles other syntaxes. A lot of simple features, missing some advanced ones IMHO. Very performant according to a test we just made.</li> <li><a href="http://www.mitchellbosecke.com/pebble/home" rel="nofollow noreferrer">Pebble</a> - we used it for a couple of different purposes and it proved rather simple to use with a decent syntax inspired by Twig from PHP world. Performance is really good, one of the fastest we tried.</li> </ul> <hr> <p>Performance wise, according to our tests, in order from the slowest:</p> <ol> <li>Thymeleaf </li> <li>Freemarker </li> <li>Velocity </li> <li>Trimou </li> <li>Mustache </li> <li>Pebble </li> <li>Rocker</li> </ol> <p>Your mileage may vary!...</p> <hr> <p>There is a nice <a href="https://monocaffe.blogspot.com/2010/06/java-template-engines-fight.html" rel="nofollow noreferrer">comparison of few of those</a> (quite old article). Also a nice tutorial on how to use some of them by <a href="http://www.baeldung.com/spring-template-engines" rel="nofollow noreferrer">Baeldung</a></p> <p>There are plenty of template engines out there. Check <a href="https://java-source.net/open-source/template-engines" rel="nofollow noreferrer">this directory</a> if you need more...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload