Blog

Refactoring to Microservices - Using a Document as State

Cristiana

Updated April 30, 2025
1 minute
In a previous installment of our Microservice refactoring effort, I’ve introduced a ShopManager and a Clerk to implement the shopping process (see this blog). I ended up with a JSON document transferred between services. To make life easy for myself I just parsed all of the document using Spring magic. This time I will discuss the downside of this strategy and show an alternative. read more

Written by

Cristiana

Some bio goes here