Workshops
Get ready to level up your Spring skills!
Workshops
Get ready to level up your Spring skills!
Modular Monolith with Spring Modulith
Victor Rentea - Victor Rentea Consulting
The Modular Monolith Architecture is both a crucial staging ground when refactoring a legacy monolith, as well as the architecture of choice for many long-lived projects in complex domains. Join this training to develop strong foundational knowledge and learn many practical details about this architecture style.
Objectives
- Master one of the trendiest architectural styles today
- Understand options to split code vertically by functional area and their tradeoffs
- Learn to safely evolve architecture, without large rewrites
- Gain practical insights on how to use Spring-Modulith framework in real life
Who is it for?
- Architecturally-interested developers speaking Java (but not only)
- Leads or architects looking to debate current trends in architecture
- Engineers planning to break a monolith into microservices, or to merge back nano-services
What to expect?
- Explanations in simple terms, with many analogies and visuals
- Very interactive teaching style
- Countless debates on topics of interest to you
- 🛠️ Hands-on exercises
Agenda
Introduction
- The 3 Laws of Architecture
- Architectural Quantums
- Definition of a Module in a Modulith
Code Decoupling
- Strategies to move from Technical to Functional Partitioning
- Internal Architecture of a Module
- Designing Module API 🛠️
- Enforcing Module Boundaries 🛠️
Module Dependencies
- Seven patterns of module interaction
- Event-based Module Integration
- The “shared” Module: best practices and pitfalls
- Fixing module dependency cycles 🛠️
Data Decoupling
- Stage: Single Writer
- Database Refactoring Techniques 🛠️
- Stage: Private Tables ± exposing views 🛠️
- Stage: Private Consistency: transaction boundaries and foreign keys
Modulith Deployment
- Packages vs Build Modules (like Maven/Gradle)
- Service-Oriented Architecture 🛠️
- Release Cycle
- Module-Scoped Tests 🛠️
Towards Microservices
- Weaknesses of Modular Monolith
- Architectural Qualities (NFRs)
- Pros and Cons of Microservices
- Steps to extract a Module as a Microservice 🛠️
Wrap-up: main take-aways
Prerequisites:
- JDK 17
- Maven
- Java IDE (recommended: IntelliJ)
- Unrestricted access to GitHub & Maven Central
Tickets
Late Bird tickets
Early Bird Ticket
Sold Out
419 €
Standard Ticket
Sold Out
519 €
Late Bird
619 €
(VAT excluded)
Sold Out


The Spring Conference
Join The WaitlistBarcelona
May • 22 - 23 • 2025
2-Day Conference
Fira de Barcelona