Building microservices from the monolith

Our monolith deals with User and UserAddress. So we will break it down into three microservices:

  • A user microservice
  • A user address microservice
  • A gateway microservice

A gateway service is an API between the application client and the services. Using it allows you to simplify this communication, also giving you the freedom of doing whatever you like with your services without breaking the API contracts (or at least minimizing it).

Get Java EE 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.