Spring Framework

Spring From the Trenches: Using Null Values in DbUnit Datasets

If we are writing integration tests for an application that uses Spring Framework, we can integrate DbUnit with the Spring testing framework by using Spring Test DbUnit. However, this integration is not problem free. Often we have to insert null values to the database before our tests are run or verify that the value saved […] Read more

Understanding Spring Web Application Architecture: The Classic Way

Every developer must understand two things: Architecture design is necessary. Fancy architecture diagrams don’t describe the real architecture of an application. The real architecture is found from the code that is written by developers, and if we don’t design the architecture of our application, we will end up with an application that has more than […] Read more

Using Asciidoctor with Spring: Rendering Asciidoc Documents with Spring MVC

Asciidoc is a text based document format, and that is why it is very useful if we want to commit our documents into a version control system and track the changes between different versions. This makes Asciidoc a perfect tool for writing books, technical documents, FAQs, or user’s manuals. After we have created an Asciidoc […] Read more

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

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