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.

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

Hidden gems and traps that you probably didn’t think of using Event Sourcing by David Gomez @ Spring I/O 2023

Read more

Multitenant Mystery Only Rockers in the Building by Thomas Vitale @ Spring I/O 2023

Read more

REST next level: Crafting domain-driven web APIs by Julien Topçu @ Spring I/O 2023

Read more

ArchUnit Spring Integration

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 with @GetMapping (or other HTTP verb mappings, for ... Read more

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

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 is generic enough to be applied to another ... Read more
Next Page »