Welcome to my website. My name is Petri Kainulainen and I have been developing software by using different Java technologies for over ten years. This website is where I publish articles about different Java technologies and share my thoughts about software development.

About Petri Kainulainen →

Latest Posts

The @Scheduled annotation offers an easy way to create scheduled tasks in Spring powered applications. We can use it to schedule our tasks by using either periodic scheduling or cron expressions. Although period scheduling can also be useful, the
I think that the integration testing of Spring Data Repositories is an important and often neglected topic. That is why I decided to turn my recent blog post about it into a screencast which answers to the following question: How can we write tests

Spring Data JPA Tutorial: Integration Testing

Spring Data JPA makes the creation of JPA repositories extremely easy because in most cases we only have to create a special repository interface. The big question is: How can we write tests for our repositories because after all, they are just