my blog. for you.

Reden wir über Digitales.

Ich bin selbständiger IT Berater und Unternehmer in der Internet und Software Branche. Ich beschäftige mich mit Design, Enterprise Applikationen, Web Apps und SaaS Produkten. Ich entwerfe und entwickle Business Lösungen und Anwendungen. Ich helfe Unternehmen in Sachen Software Qualität und Wissenstransfer, z.B. mit Angular und Spring Boot.

Migrating to Java 21 and Spring Boot 3.2

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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

Reflectoring: Reactive Architecture with Spring Boot

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Based on asynchronous event processing, message-driven data streams, and non-blocking I/O reactive programming is a popular paradigm for developing web and cloud applications, particularly large-scale and distributed ones using a microservices architecture. Some time ago, I published a tiny introductory post on reactive programming with Spring Boot and Spring WebFlux. Reflectoring has this much more in-depth article on reactive architecture with Spring Boot, which covers everything from building a traditional synchronous-style application, converting such an ... Read more

Spring Tip: EnvironmentCapable

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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.

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.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 ... Read more

ArchUnit Spring Integration

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.ArchUnit is a tremendously useful library for enforcing Java application architecture via unit testing. Fellow software developer and consultant Roland Weisleder recently published a new library called ArchUnit Spring Integration that helps with - well - better integrating ArchUnit with Spring applications. By introducing a DSL, ArchUnit Spring Integration allows you to easily enforce constraints regarding common Spring stereotypes such as @RestController. For example, using ArchUnit Spring Integration you can make sure that methods annotated ... Read more

Spring Boot & Flyway – How to Clear a Test Database Between Integration Tests

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.A few months ago, consultant and prolific open source contributor Maciej Walkowiak, of Spring Cloud AWS and just fame, wrote about clearing test databases between integration tests with Spring Boot and Flyway. The recipe / pattern for restoring a test database to its previous state (i.e. the state before a specific integration test has been executed) outlined in that article should come in handy to anyone working with Spring Boot. Moreover, the basic concept ... Read more
Nächste Seite »