Home » Author Archives: Petri Kainulainen (page 6)

Author Archives: Petri Kainulainen

Petri is passionate about software development and continuous improvement. He is specialized in software development with the Spring Framework and is the author of Spring Data book.

Using jOOQ with Spring: Configuration

spring-interview-questions-answers

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 how I ran into jOOQ ...

Read More »

How to Start a Software Project as Fast as Possible

software-development-2-logo

We started a new project last week, and I started to wonder what are the most important things to do if we want to get a project started as fast as possible (without messing it up). I figured out three things which have helped me to concentrate on the right things during the early phases of a software project. These ...

Read More »

Why Continuous Improvement Is Worth It?

software-development-2-logo

When we start a new software project, we are typically full of enthusiasm. The whole team thinks that this time we will be able to avoid the mistakes we made in our previous projects. We dream that this time everything will be perfect. And then, we wake up. When the first weeks (or months) are over, we start to notice ...

Read More »

Adding Social Sign In to a Spring MVC Web Application: Unit Testing

spring-interview-questions-answers

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 1.1.0. This blog post fixes ...

Read More »

Turning Assertions Into a Domain-Specific Language

software-development-2-logo

Assertions are an essential part of our unit tests. And yet, it so easy to neglect them. That is a shame because if we overlook the importance of assertions, the assert section of our tests becomes long and messy. Sadly, most tests which I have seen (and written) suffer from this problem. This blog post describes how we can get ...

Read More »

From Top to Bottom – TDD for Web Applications

software-development-2-logo

I am a “testing fanatic” but I don’t understand test-driven development. Or so I thought. I have read a few books and numerous blog posts about it, and all of them have one major problem: The examples are always too simple. Those examples might be helpful if you write simple text editors or calculators for a living. I don’t do ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.