Spring Data JPA Tutorial: Getting the Required Dependencies

Before we can create an application that uses Spring Data JPA, we need to get the required dependencies. This blog post identifies the required components and describes how we can get them by using Maven. Let's get started. Additional Reading: If you are not familiar with Spring Data JPA, you should read the following blog […] Read more

Spring Data JPA Tutorial: Introduction

Creating repositories that use the Java Persistence API is a cumbersome process that takes a lot of time and requires a lot of boilerplate code. We can eliminate some boilerplate code by following these steps: Create an abstract base repository class that provides CRUD operations for entities. Create the concrete repository class that extends the […] Read more

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

Help Me to Improve My Writing Style

Some time I read a blog titled: Finding your voice when writing a technical book. It reminded me that I have been writing this blog for four and half years, but I haven’t paid a lot of attention to my "voice". That is going to change right now. If I think about my past blog […] Read more