We split a massive service into 3 focused modules:
- Command module
- Query module
- Background sync worker
Each is now deployable independently.
Tools we used:
- Spring Boot starter templates
- Maven submodules
- Gradual interface extraction
Key takeaway: Refactoring isn’t rewriting. It’s recomposing.