Loading...

Latest Posts

Spring August 30, 2023

Open Session in View (OSIV) in Spring - Enable or Disable?

If you are working with Spring Boot and Hibernate, you have undoubtedly come across the term “Open Session in View” (OSIV) or its corresponding property open-in-view. But what exactly does this option do, and how does it affect your interaction with the database? Should you enable or disable it? In this article, we delve deep into the topic and shed light on its functionality and differences compared to other approaches.


Newsletter August 24, 2023

What Sound Does Your Microwave?

Hi, Do you know the feeling? You turn on a device that you use over and over again. For years. You recognize the sound it makes. The rhythmic “whoosh whoosh whoosh”, when you start the dishwasher. Or the familiar “click” when the oven turns on. Your signal: everything’s working. Carry on! But what if it suddenly sounds different? It no longer meets your expectations? That’s exactly what happened to me with my microwave.


Spring August 23, 2023

Spring MVC: How to Use a Custom Converter for Type Safety in Controllers

Are your controllers constantly filled with primitives? In ArticleController, the first line of every method is: articleRepository.findById(articleId). We keep making the same conversions. I hardly observe as many primitives in any other layer as in the API layer. This leads to much boilerplate. The code becomes harder to test. And it’s harder to read. Yet we know how much easier it is when we work with type safety. In this article, I will show you how to use the Converter Interface to automatically convert your primitives into the correct type.


Newsletter August 21, 2023

The Fifth Ideal: Customer Focus

Hi, “The VPN should not be operated by you [Sysadmins].” After this sentence, I saw startled faces. It slipped out of me. During the weekly Jour Fixe between the developers and admins. It came to the question of what our priorities are. It hit a nerve. Probably not because the participants are emotionally attached to the VPN. Probably not because the statement is wrong. No - it’s more likely because it’s so unconventional for the team.


Newsletter August 17, 2023

State Is the Root of All Evil

Hi, What distinguishes an application from a (mathematical) function? A function takes an input x and transforms it into an output. If f(x) = 2 * x, then the result of this function for the input of any x is always the same. There are no side effects. We call this behavior stateless. But what does this have to do with the question from the beginning? An application goes beyond this.


Top