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.

Testing Spring Boot @ConfigurationProperties

Making Configuration Properties Testable in Spring Boot One of Spring Boot’s most elegant features is its support for binding externalised configuration to strongly typed Java beans via @ConfigurationProperties. This makes managing application settings both expressive and maintainable. However, as with any other part of our code, we should ensure that these properties are tested — especially when they encapsulate non-trivial validation or logic. This Baeldung article on "Testing @ConfigurationProperties in Spring Boot" provides a comprehensive overview of how to do just that. The ... Read more

Secure, Test, Repeat: A Guide to Spring Security Integration Testing by Laurentiu Spilca @ Spring I/O 2024

Read more

GraphQL, Java, and Spring: The Latest Features by Rossen Stoyanchev @ Spring I/O 2024

Read more

AsyncAPI & Springwolf – Automated Documentation (and more) by Raphael de Lio @ Spring I/O 2024

Read more

Better Error Handling for Your Spring Boot REST APIs: Error Handling Spring Boot Starter by Wim Deblauwe

Robust and consistent error handling is key when working with any kind of software framework. While Spring itself generally is doing a pretty decent job at that, when it comes to providing REST APIs with Spring Boot the framework is rather lacking. To provide a more consistent error handling experience with Spring Boot REST APIs, Wim Deblauwe (of Taming Thymeleaf fame has release an Error Handling Spring Boot Starter, which enforces robust error handling across a Spring Boot application. See his article on ... Read more

Java Digest by Catherine Edelveis: August Through October 2024 Editions

Again, I've been remiss at posting Catherine Edelveis' amazing monthly digest of relevant news, releases, and events in the Java world for the last few months. So, to catch up you can read the issues from August to October 2024 here: Java Digest August 2024 Java Digest September 2024 Java Digest October 2024 Read more

“A Guide to Docker Multi-Stage Builds for Spring Boot” by Catherine Edelveis

While Spring Boot offers first-class support for Docker out-of-the-box, Docker builds can be tricky to get right, especially when it comes to build sizes. Java developer Catherine Edelveis therefore has published this useful Guide to Docker Multi-Stage Builds for Spring Boot to get you started. Read more

OpenAPI 3 and Spring Boot 3 – What’s New? by Badr Nass Lahsen @ Spring I/O 2024

Read more

A Spring Developers Guide to Navigating the Frontend Landscape by Dan Vega @ Spring I/O 2024

Read more

Using ShedLock With Spring

ShedLock is a distributed locking mechanism for scheduled tasks in Java environments. Not unlike a semaphore or mutex it uses an external data store (i.e. some sort of database) to acquire locks for preventing tasks from being executed more than once. Prolific Java tutorial site Baeldung has a comprehensive Guide to ShedLock with Spring to get you started with this useful tool. Read more
Next Page »