Loading...

Latest Posts

JPA July 12, 2023

Avoiding Multiple Data Fetches Using the First-Level-Cache in Spring Data JPA

If you’re dealing with backend development on the JVM, you’ll surely come across the Java Persistence API (JPA). A well-known implementation framework for it is Hibernate. In this article, we’ll show you how you can optimize the performance of your application in Spring Data JPA with caching by preventing the same resources from being fetched multiple times. What is the First-Level-Cache? Spring Data JPA uses Hibernate as the default ORM (Object-Relational Mapping), which provides an inbuilt First-Level-Cache.


Newsletter July 10, 2023

Nobody Talks About Project Loom

Hi, “Why isn’t anyone talking about Project Loom? On the JVM, one of the largest changes in years is looming over us. And it will massively influence the way we work. Asynchrony is difficult. There’s so much to consider: How do I configure my thread pool? Does the code path have more wait-time, or does it take a long time to calculate? And how large should the queue be in front of the thread pool?


Newsletter July 6, 2023

Can You Start Your Application?

Hi, Many companies utilize modern technologies. Kubernetes, RabbitMQ, AWS, Docker, ArgoCD… and so on. The selection is vast. The CNCF Landscape has arrived in most businesses. But what surprises me: The software is complicated. So complicated that it can’t just be launched locally on a whim. I did not expect that. Docker is deliberately included in the list. Because most of the companies I spoke to use Docker. Many of them in production.


JPA July 5, 2023

Hibernate ORM: Eager or Lazy Loading? When to Use Each

Hibernate is a well-established Object-Relational Mapping (ORM) framework that is widely used in Java development. This framework helps developers optimize the code for database operations such as fetching data. Choosing the right fetching strategy - Eager Loading or Lazy Loading - is crucial for your application’s performance. In this article, we will examine these two strategies and discuss when and how you should use them in your Spring Data project.


Newsletter July 3, 2023

Are You a Carpenter?

Hi, What distinguishes a software developer from a carpenter? The carpenter produces furniture. The developer creates software. Imagine you go to a carpenter. You enter the workshop, see various materials, tools, finished and unfinished pieces of furniture. The foreman approaches you. He asks you about your preferences. You want a table. With an inset plexiglass top. For outdoor use. Matching your preferences and with his expertise, he selects the right wood.


Top