Since we already created a JDL for our entities when we set up our monolithic application, it's time to update and use it here.
As we discussed in the previous chapter, we will move the entities from a monolithic application to a gateway application. Then, we'll remove the invoice-related entities from the monolithic application, use them in our invoice microservice, and update the related invoice references in that. Finally, we'll create entities for the notification microservice.
The following diagram shows our JDL entity model:
As you can see, the invoice is a perfect candidate to move out into a ...