Alex Sousa Dev

Posts

Event-Driven Communication in Spring Boot: Decoupling in Practice

Event-Driven Communication in Spring Boot: Decoupling in Practice

In our previous article about Spring Modulith, we touched on a crucial point for avoiding the dreaded "spaghetti code": Event-Driven Communication. But did you know you don't need Kafka or RabbitMQ to start working with events? Many developers assume that events are synonymous with microservices and distributed messaging. The truth is that Spring Boot has a native, powerful mechanism for publishing and listening to events within the same JVM.

3 min read10 views#SoftwareArchitecture#Java#Spring
Spring Modulith in Practice: Building Scalable Modular Monoliths

Spring Modulith in Practice: Building Scalable Modular Monoliths

The software industry faces a constant dilemma: start with a monolith and risk creating a "Big Ball of Mud" (indecipherable spaghetti code) or start with microservices and be swallowed by operational complexity on day one. This is where the Modular Monolith shines and Spring Modulith is the definitive tool in the Java ecosystem to ensure this architecture is enforced. It allows us to apply Domain-Driven Design (DDD) concepts and keep code isolated and testable.

3 min read25 views#Spring#Development#SoftwareEngineering