Recent Articles
Configuring a Spring Boot Module with @ConfigurationProperties
Every application above play size requires some parameters at startup. These parameters may, for instance, define which database to connect to, which locale to support or which logging level to apply.
Read moreConditional 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 moreBook 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 moreTesting 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 moreBook 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 moreTesting 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