my blog. for you.

Let’s talk digital.

I’m an independent IT consultant and entrepreneur in the Internet and software business. I’m interested in design, enterprise applications, web apps and SaaS products. I design and develop business solutions and applications. I help companies in terms of software quality and knowledge transfer, e.g. with Angular and Spring Boot.

Build Faster Persistence Layers With Spring Data JPA 3 by Thorben Janssen @ Spring I/O 2024

Read more

Dynamic Projections with Spring Data JPA

Freelance software consultant Maciej Walkowiak (of Just and Spring Cloud AWS fame) has recently published this interesting article on dynamic projections with Spring Data JPA. Dynamic projections allow you to determine the type returned by JPA query methods at invocation time, which comes in handy in case you want to return different attribute subsets from your data model for various use cases without having to incur the maintenance cost of creating a new query method for each such projection. Read more

Performance-Oriented Spring Data JPA & Hibernate by Maciej Walkowiak @ Voxxed Days Zürich 2024

Read more

Do you really need Hibernate by Simon Martinelli @ Spring I/O 2023

Read more

Inheriting Properties for Lombok @Builders and JPA Entities

Lombok is one of those helpful developer tools for the Java language ecosystem that streamline (or even do away with entirely) the more tedious and mundane tasks in software development. Lombok in particular vastly reduces the boilerplate code Java developers have to write by providing annotations that have code for common structures and patterns such as constructors, getters and setters, and builders automatically generated. While tremendously helpful, sometimes edge cases can occur when working with theses kinds of abstractions and as a ... Read more

Hexagonal Architectures: @Column(nullable = false) vs @NotNull in Java Applications

Recently, I came across a small and common, but all the more interesting, hands-on example of why a hexagonal architecture can help with making both the architecture and the code of an application more understandable, approachable, and maintainable. I won't be going into any details about the concept of and ideas behind hexagonal architecture here. The gist is summarised quite nicely in this quote from Tom Homberg's article on Hexagonal Architecture with Java and Spring: The main feature of “Hexagonal Architecture”, as opposed ... Read more