In late 2022, the Spring teams released versions 6 and 3 of the Spring Framework and Spring Boot, respectively In this edition of my 4 part blog series, which highlights the most important updates from the new releases, I’ll finish the series with the last two significant updates I wanted to share with you: The […]
Spring Update #3 – We Shall See: Micrometer-based Observability
At the end of 2022, the Spring teams unveiled versions 6 & 3 of the Spring Framework and Spring Boot, respectively. Along with this significant development came Micrometer-based Observability – a feature that enables better monitoring capabilities for cloud-native applications. In this edition of my 4 part blog series, which highlights the most important updates […]
Spring Update #2 – AOT and Native Compilation
In this blog, I continue my 4 part blog series which provides an overview of the most important new features introduced with the release of Spring Framework 6 & Spring Boot 3. I also explain what’s involved when migrating existing applications to these new versions. If you missed the first edition of this series “New […]
Spring Update #1 – New Baselines: Java 17 and Jakarta EE
In the last two months of 2022, we saw many new releases from the various Spring teams, most notably the new generations of the Core Spring Framework and Spring Boot, with versions 6 & 3, respectively. In this 4 part blog series, I’ll provide an overview of the most important new features introduced and explain […]
Handling nested exceptions with a catch-all fallback in Spring-MVC
As our last blog for the year, here’s a quick tip to improve the exception handling in your Spring-MVC applications! Cross-controller error handling using ControllerAdvice In a Spring-MVC web application it’s common to use a class annotated with @(Rest)ControllerAdvice to handle uncaught exceptions via @ExceptionHandler methods. This way it’s easy to produce different HTTP responses […]
How I got rid of privileged mode Docker-in-Docker in GitLab CI/CD jobs with Podman
Docker-in-Docker requires privileged mode to function, which is a significant security concern. Docker deamons have root privileges, which makes them a preferred target for attackers. In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. In the context of GitLab CI/CD jobs that build and publish Docker images to a container registry, docker commands in scripts might seem like an obvious choice.
Helm your way to Kubernetes with Spring Boot Admin
In this blog post I am experimenting with Helm, the package manager for Kubernetes by packaging codecentric’s Spring Boot Admin for out of the box real-time insights into a suite of Spring Boot Java services deployed to Amazon Elastic Kubernetes Service (EKS).
Getting out of a codependent relationship, or: how I moved to a healthy component-based Spring Security configuration
In a recent blog post, the Spring Security team announced that they’ll be deprecating the configuration setup where you subclass the WebSecurityConfigurerAdapter. Instead, you simply define beans that allow you to set up the SecurityFilterChain by calling methods on the HttpSecurity object, and configure the WebSecurity object using a configurer. These options have been available […]
Don’t let regulatory compliance hold you back!
Trifork works with several customers who are operating in businesses with strict regulations, like finance or online betting. Assuring that your software and processes are in compliance with these regulations is challenging, and can easily lead to a situation where compliance officers and thus organizations become risk-averse. Changes take weeks or even months to be […]
Customers Drive Modern Applications
As companies are moving more and more of their business online, it becomes ever so clear that this isn’t just a matter of offering an additional sales channel. Acquiring new customers, providing them with a service that lets them come back for more and adapting to their ever-changing demands requires a true digital transformation. As […]