About 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.

List/Grid Author Archives Subscribe to the RSS feed of Petri Kainulainen

java-interview-questions-answers

Understanding Spring Web Application Architecture: The Classic Way

Every developer must understand two things:                    Architecture design is necessary. Fancy architecture diagrams don’t ...
spring-interview-questions-answers

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 ...
gradle-logo

Getting Started with Gradle: Creating a Binary Distribution

After we have created a useful application, the odds are that we want to share it with other people. One way to do this is to create a binary distribution that can be downloaded from ...
software-development-2-logo

5 Things I Do to Stay Relevant

I have noticed that some Finnish IT professionals are complaining that being just a good employee isn’t good enough anymore. These people argue that they cannot get a job because:Their ...
software-development-2-logo

Writing Tests for Data Access Code – Data Matters

When we write tests for our data access code, we use datasets for two different purposes:                  We initialize our database ...
java-interview-questions-answers

Writing Clean Tests – To Verify Or Not To Verify

When we write unit tests that use mock objects, we follow these steps:                    Configure the behavior of our mock objects. Invoke ...
software-development-2-logo

Writing Tests for Data Access Code – Don’t Forget the Database

When we write tests for our data access code, we must follow these three rules:                    Our tests must use the real database ...
java-interview-questions-answers

Writing Tests for Data Access Code – Don’t Test the Framework

When we write tests to our data access code, should we test every method of its public API? It sounds natural at first. After all, if we don’t test everything, how can we know that ...
software-development-2-logo

Writing Tests for Data Access Code – Green Build Is Not Good Enough

The first thing that we have to do before we can start writing integration tests for our data access code is to decide how we will configure our test cases. We have two options: the ...
java-interview-questions-answers

Writing Tests for Data Access Code – Unit Tests Are Waste

A few years ago I was one of those developers who write unit tests for my data access code. I was testing everything in isolation, and I was pretty pleased with myself. I honestly thought ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy | Contact
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.
Do you want to know how to develop your skillset and become a ...
Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you two of our best selling eBooks for FREE!

Get ready to Rock!
You can download the complementary eBooks using the links below:
Close