Deep Dive into Spring’s Message Conversion: Custom Message Converters and Their Role in Serialization/Deserialization
When working with Spring applications, particularly those that deal with messaging, REST APIs, or data interchange, understanding message conversion is crucial. Spring provides a powerful framework for handling serialization and…
UnitOfDistance – Measure and Convert your distance
Well I was bored one night after creating the UnitOfMemory and decided what else could be useful in the future. I came up with a UnitOfDistance to convert distances over…
Dynamic Feature Toggling in Spring Microservices with Spring Cloud Bus
Dynamic Feature Toggles with Spring Cloud Bus Feature toggles (or feature flags) are a powerful technique for managing application behavior without code deployments. They allow you to turn features on…
AdvancedCalendar – java.util.Calendar java.util.Date java.text.SimpleDateFormat
Every get tired of converting from Dates to Calendars and then need to use SimpleDateFormat to output it as a String? How about parsing a string and getting a Date…
Optimizing Spring Kafka Message Delivery: Compression, Batching, and Delays
Spring Kafka provides a powerful framework for interacting with Apache Kafka, but efficient message delivery requires some fine-tuning. Here’s how to optimize your Spring Kafka producer using compression, batching, and…
Java: Build your own JobManager
So often I see developers turn to open source to implement job management. These are often far more advanced than what many people really need in their Java applications. Sure…
Spring into Action with Spring Events: A Comprehensive Guide
Spring Framework offers a robust event handling mechanism that allows different parts of your application to communicate asynchronously. This is crucial for building loosely coupled and responsive applications, especially in…