Modeling microservice entities in JDL

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 ...

Get Full Stack Development with JHipster - Second Edition 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.