BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 742329 thumbnail
User 219642 avatar

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!
  • 24
  • 4
  • 1562
  • 1250

Comments

Add your comment
User 334116 avatar

gzres replied ago:

1 votes Vote down Vote up Reply

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

User 239525 avatar

arjan_tijms replied ago:

1 votes Vote down Vote up Reply

Isn't Facelets already the JSP killer? ;)

User 902267 avatar

javakata replied ago:

1 votes Vote down Vote up Reply

Lol, yep, and Play and Wicket are its innocent grandchildren. But hey, let's kill it again, why wouldn't we.

User 902267 avatar

javakata replied ago:

3 votes Vote down Vote up Reply

At this point, making a "JSP Killer" is pretty much cadaver vandalisation.

User 552527 avatar

gcameo replied ago:

0 votes Vote down Vote up Reply

Can you use it with Java EE 6 Running on glassfish?

User 219642 avatar

dfernandez replied ago:

0 votes Vote down Vote up Reply

Absolutely. In fact, you could even use it without an app or web server at all (offline)...

User 552527 avatar

gcameo replied ago:

0 votes Vote down Vote up Reply

@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.

User 219642 avatar

dfernandez replied ago:

0 votes Vote down Vote up Reply

There are some mini demo projects at http://www.thymeleaf.org/documentation.html. In fact, one project per tutorial.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.