Common POJO

Module common-pojo is created in main project directory.

Figure 1. Common POJO.

This module is designed for storing common Java classes used by many microservices. A good example of such a class is Currency enum. There is no need for every microservice to define such a class and share it with others. Everyone in a project can agree together on some "primary" objects. It also for example can be Email object with has splited local-part and domain in seperate fields.