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

Reflectoring: Reactive Architecture with Spring Boot

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 application to a reactive architecture, and using and ... 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

Action Jackson! Effective JSON processing in Spring Boot Applications by Joris Kuipers @ Spring I/O 2023

Read more

Aborting UNIX Processes Running Under a Specific TCP Port

As a longtime UNIX (of the macOS variety) / Linux user, it's kind of embarrassing that only recently I was made aware of this single command (or rather - in a true UNIX fashion: a composition of two commands) that allows you to stop a UNIX process running under a specific TCP port (e.g., a Spring Boot application or an Angular front-end during development) - rather than browsing for that port in a process list first and then manually using the ... Read more

Code Review Checklist and Tool Recommendations

Quite some time ago, both the code quality tool provider Codacy and the software architect Surender Reddy Gutha individually published useful resources on how to do effective code reviews and which tools to use for those: Code Review Checklist – To Perform Effective Code Reviews List of tools for code review engineers While unfortunately the two Pull Panda tools and ReadyforReview from the latter list are no longer available, the remaining tools as well as the checklist from the first article can be still ... Read more

Inheriting Properties for Lombok @Builders and JPA Entities

Lombok is one of those helpful developer tools for the Java language ecosystem that streamline (or even do away with entirely) the more tedious and mundane tasks in software development. Lombok in particular vastly reduces the boilerplate code Java developers have to write by providing annotations that have code for common structures and patterns such as constructors, getters and setters, and builders automatically generated. While tremendously helpful, sometimes edge cases can occur when working with theses kinds of abstractions and as a ... Read more
Next Page »