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.

The Unknowns of JUnit 5 by Mike Kowalski @ Devoxx France 2022

Read more

Everything You Need to Know About Spring AI (as of now, that is …)

Recently, Gaurav Sharma of Unlogged posted this useful article on "All You Need to Know About Spring AI". Spring AI is a project within the Spring Framework that "aims to streamline the development of applications that incorporate artificial intelligence functionality without unnecessary complexity". Read more

Migrating to Java 21 and Spring Boot 3.2

Last year in December, Pratik Dwivedi of Unlogged posted an informative article on migrating from Java 8/11 to Java 21, and Spring Boot 2 to the latest Spring Boot 3.2, which covers everything from the benefits of that transition (e.g., being able to use GraalVM, Virtual Threads and CRaC and the Spring Framework's new RestClient and observability features) to a checklist and best practices for carrying out such a migration for your applications. Read more

Spring Tip: WebUtils

Once again, Martin Hock recently published a useful Spring tip; this time about WebUtils, a utility class for working with web-related tasks (e.g., extracting request parameters or retrieving cookies): 🚀 Spring Tip🚀WebUtilsA utility class for working with web-related tasks, such as extracting request parameters, handling multipart requests, and managing cookies. 🔥https://t.co/xmTxOhEYdP#Spring #Java— Martin Hock (@mnhocktweets) February 8, 2024 Read more

Spring Tip: EnvironmentCapable

Martin Hock recently published this tip about EnvironmentCapable, a Spring interface that provides access to the Spring environment by indicating a component contains and exposes an Environment reference: 🚀 Spring Tip 🚀EnvironmentCapableAn interface that provides access to the Spring environment, allowing you to retrieve properties, profiles, and other environment-related information. 🔥https://t.co/PfeCcDVPOt#Spring #Java— Martin Hock (@mnhocktweets) January 24, 2024 Read more

Introduction to the new JdbcClient in Spring Framework 6.1

Fellow software engineer Siva recently posted this useful introduction to the new JdbcClient that comes with Spring Framework 6.1 (and hence, Spring Boot 3.2.x). JdbcClient provides a fluent API for performing common database operations on top of JdbcTemplate. Read more

Spring Boot Tip: A Simplified Way of Creating ArgumentCaptors with Mockito 5.7.0

Maciej Walkowiak recently published this tip on a simplified way of creating Mockito ArgumentCaptors with Spring Boot 3.2.x: 💡 Mockito 5.7.0 (included in Spring Boot 3.2) introduced simplified way for creating argument captors: pic.twitter.com/MEdJ3dlwum— Maciej Walkowiak 🍃 (@maciejwalkowiak) December 13, 2023 Read more

Spring Boot Tip: HTTP Request Logging with CommonsRequestLoggingFilter

Martin Hock recently published this tip on how to enable HTTP "request logging using CommonsRequestLoggingFilter to capture detailed information about incoming request": 🚀 Advanced Spring Tip 🚀HTTP Request Logging with CommonsRequestLoggingFilterEnable request logging using CommonsRequestLoggingFilter to capture detailed information about incoming requests. 🔥https://t.co/Sb1QyJ4GY6#SpringTip #Java— Martin Hock (@mnhocktweets) December 14, 2023 Read more

Spring Boot Tip: Set BP_JVM_JLINK_ENABLED to true to create more efficient runtime images.

Martin Hock recently published this tiny but useful Spring Boot tip on how to minimise the Java runtime dependencies included in your Spring Boot application builds: 🚀 Spring Boot Tip 🚀🔥 Enhance your @springboot container image build with #Jlink! 🔥Set BP_JVM_JLINK_ENABLED to true in the Spring Boot Maven Plugin, and create more efficient and customized and smaller runtime images. https://t.co/hMDENzME2f#SpringBoot #Java pic.twitter.com/ZLK7iWfSP9— Martin Hock (@mnhocktweets) November 14, 2023 For reference, here's the relevant configuration snippet for your project's pom.xml and more detailed ... Read more

Testing with Spring, AOT, GraalVM, and JUnit 5 by Sam Brannen @ Spring I/O 2023

Read more
Next Page »