Programming

Using jOOQ With Spring: Sorting and Pagination

JOOQ is a library which helps us to get in control of our SQL. It can generate code from our database and help us to build typesafe database queries by using its fluent API. The earlier parts of this tutorial have taught us how we can configure the application context of our application, generate code […] Read more

Three Reasons Why We Should Not Use Inheritance In Our Tests

When we write automated tests (either unit or integration tests) for our application, we should notice pretty soon that Many test cases use the same configuration which creates duplicate code. Building objects used in our tests creates duplicates code. Writing assertions creates duplicate code. The first thing that comes to mind is to eliminate the […] Read more

Using jOOQ With Spring: CRUD

jOOQ is a library which helps us to get back in control of our SQL. It can generate code from our database and help us to build typesafe database queries by using its fluent API. The earlier parts of my jOOQ tutorial have taught us how we can configure the application context of our example […] Read more

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

FindBugs Maven Plugin Tutorial

FindBugs is a static code analysis tool which identifies problems found from Java code. We can integrate FindBugs into our build process by using the FindBugs Maven plugin. This blog post identifies four typical use cases and describes how we can configure the FindBugs Maven plugin to support each use case. The described use cases […] Read more