Skip to content

Latest commit

 

History

History

20-modulith

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

The Modulith

This module contains a more modular but monolithic implementation of the domain. Bounded Context interaction is implemented using JVM-local Spring application events.

Bounded Context interaction

Important aspects

  • Compared to the monolith we have cut the dependency cycle between the orders and the inventory as now the inventory listens to the events that are published by orders.
  • We're using a tiny Spring extension to make sure that transactional event publications survive listener execution or system failure.