Magics is evil !

For once, this article will not show you any line of code or any demo application.

Today we discuss about architecture and the recent trend in the Java (and more specifically Spring) world for abstraction and over simplification.

Read more of this post


Spring Security part VI : Session Timeout handling for Ajax calls

Recently when developing the Tatami application for the Twitter-like contest, I faced an annoying issue: how to detect an user session timeout when an Ajax request is triggered from the browser ?

If you’re not familiar yet with Spring Security, you can check my previous articles on this framework.

In this article we’ll see a solution based on Spring Security filter. For those who don’t use Spring Security I’ll show another approach with servlet filter.

Read more of this post

Spring MVC part IV: ThymeLeaf advanced usage

This post follows on from the previous post on Thymeleaf integration with Spring MVC.

Today we’ll look at some advanced features of Thymeleaf

Read more of this post

Spring MVC part III: ThymeLeaf integration

Today we are going to look into Thymeleaf, a very innovative and full HTML5-oriented templating engine.

Thymeleaf, by definition, can be used as a standalone engine but when associated with Spring MVC, it gives the best of its essence.

Once you start using Thymeleaf, it’s very hard to go back to the good old JSP. JSP is good, JSP served us well during a decade but now we’re in 2012 and HTML 5 is the future so it’s time to look ahead.
Read more of this post