26/08/2012 1 Comment
Today I’ll show you how to customize Spring Security to create a login form with ReCaptcha verification
The captcha is based on Google ReCaptcha plugin. More info on ReCaptcha here
Just another Java blog among thousands
29/07/2012 Leave a comment
In the previous post, I’ve presented GWT RPC integration with Spring. In this post we’ll see how we can achieve JSON backend service integration between GWT and Spring MVC. We’ll re-use the same StockWatcher application and change the RPC communication into JSON requests.
29/07/2012 3 Comments
For the backend, GWT relies on an RPC system using plain old Servlet. Each RPC service is published as a distinct servlet so you end up having as many servlets are there are distinct RPC services.
Not only this approach is not optimal for resources management server-side wise, it also pollutes your web.xml with many servlet declarations.
Ideally we should have an unique servlet serving as a router and dispatching RPC calls to appropriate service beans managed by Spring. Spring is an appropriate framework for managing business in the backend due to its industry-wide adoption and its mature extensions portfolio. Needless to say that this design can be easily adapted for JEE containers too.
17/07/2012 1 Comment
In this last post we’ll look at the functional interface formal definition and the way lambda expressions are implemented.
15/07/2012 2 Comments
In this post we’ll look at conflict resolution rules for multiple inheritance introduced along with defender methods in JDK 8.
14/07/2012 3 Comments
In this third post dedicated to Java 8 Lambda expressions, we’ll look at the new :: operator introduced to allow method and constructor referencing.
Read more of this post