I have written about the challenges of writing unit tests for applications which use Spring Social 1.1.0 and provided one solution for it. Although unit testing is valuable, it doesn’t really tell us if our application is working correctly. That is why we have to write integration tests for it. This blog post helps us […] Read more
Spring Framework
I have been planning to write a Spring testing book for some time now. About a month ago I tried to create a table of contents for the book. I failed miserably. The problem was that although I know what should be in the book, I found it hard to write my thoughts down. I […] Read more
I have had my share of performance problems caused by ORMs. Although I have to admit that most of these problems were really caused by yours truly, I have started to think that using ORMs in read-only operations is not worth it. I started to look for alternative ways to implement these operations. That is […] Read more
Let's assume that we have implemented a Spring powered application, and secured it by using the method security expressions of Spring Security. Our next task is to implement a scheduled job which uses the secured methods. To be more specific, we have to implement a scheduled job which obtains a message from our service class […] Read more
Spring Social 1.0 has a spring-social-test module which provides support for testing Connect implementations and API bindings. This module was removed from Spring Social 1.1.0, and it was replaced with the Spring MVC Test framework. The problem is that there is practically no information about writing unit tests for an application which uses Spring Social […] Read more
The first part of this tutorial described how we can configure Spring Social 1.1.0 and Spring Security 3.2.0 but it left two very important questions unanswered. These questions are: How can a user create a new user account? How can a user log in? It is time to get our hands dirty and answer to […] Read more