By dfernandez
via thymeleaf.org
Published: Feb 09 2012 / 07:30
Thymeleaf, the XML / XHTML / HTML5 template engine for Java with natural templating abilities and specific integrations for Spring MVC has just released its new 2.0.0 version with a completely rewritten core architecture and huge improvements both in performance and in extensibility+configuration abilities. Have a look at the new features!
Tweet
SaveShareSend
Tags: announcement, java, open source, tools



Comments
gzres replied ago:
Try just once writing thymeleaf templates and you'll never want to look at JSP anymore!
I've just deployed into production an application which must run on WebSphere 6 - I don't have to worry about JSP 2.0, I have one template with all "controls" which, with JSP, were developed using tag files. Now I can see my controls simply by opening the file in web browser and everything works - jquery and css styles!
It's very fast, configurable and maintanable. Using SpEL expression makes these templates very clean and powerful.
regards
Grzegorz Grzybek
arjan_tijms replied ago:
Isn't Facelets already the JSP killer? ;)
javakata replied ago:
Lol, yep, and Play and Wicket are its innocent grandchildren. But hey, let's kill it again, why wouldn't we.
javakata replied ago:
At this point, making a "JSP Killer" is pretty much cadaver vandalisation.
gcameo replied ago:
Can you use it with Java EE 6 Running on glassfish?
dfernandez replied ago:
Absolutely. In fact, you could even use it without an app or web server at all (offline)...
gcameo replied ago:
@dfernandez thanks for the response. I see that in the new version, you have solved a very fundamental problem I initially had, i.e the processing of the DOM. Using the servlet writter means that, performance should zoom straight through the roof as the content is not held but served directly to client.
that is one of the key issues in JSP and their solution was to create a class out of a template thereby imposing so many unnecessary requirements.
Velocity and free marker came close but their templating structure and unfamiliar syntax leaves a bad taste in your mouth.
A mini demo project will really enhance the learning curve if you don't mind.
dfernandez replied ago:
There are some mini demo projects at http://www.thymeleaf.org/documentation.html. In fact, one project per tutorial.
Voters For This Link (24)
Voters Against This Link (4)