Tom Hombergs

Tom Hombergs

As a professional software engineer, consultant, architect, general problem solver, I've been practicing the software craft for more than fifteen years and I'm still learning something new every day. I love sharing the things I learned, so you (and future me) can get a head start. That's why I founded reflectoring.io.

Articles by Tom Hombergs

Conditional Beans with Spring Boot

When building a Spring Boot app, we sometimes want to only load beans or modules into the application context if some condition is met.

Read more

Book Review: Your Code as a Crime Scene

TL;DR: Read this Book, when… you are interested in metrics by which to evaluate a codebase or even organizational behavior of a development team you want to know how to gather those metrics you have a certain codebase that you want to analyze Overview Your Code as a Crime Scene by Adam Tornhill is a book that aims to apply criminal investigation techniques to a codebase in order to gain insights about the structure and quality of the code.

Read more

Testing JPA Queries with Spring Boot and @DataJpaTest

Aside from unit tests, integration tests play a vital role in producing quality software. A special kind of integration test deals with the integration between our code and the database.

Read more

Book Review: Java by Comparison

TL;DR: Read this Book, when… you are starting with Java and want some advice for producing quality code you are teaching Java and want your students to learn best practices you are working with junior developers and want them to get them up to speed Overview In a nutshell, Java by Comparison by Simon Harrer, Jörg Lenhard, and Linus Dietz teaches best practices in the Java programming language.

Read more

Testing MVC Web Controllers with Spring Boot and @WebMvcTest

In this second part of the series on testing with Spring Boot, we’re going to look at web controllers. First, we’re going to explore what a web controller actually does so that we can build tests that cover all of its responsibilities.

Read more

Unit Testing with Spring Boot

Writing good unit tests can be considered an art that is hard to master. But the good news is that the mechanics supporting it are easy to learn.

Read more