Now on to the question of how to build microservices with Enterprise Java.
In various discussions and meetings, Java EE has been considered as too heavyweight and cumbersome for microservices. Whereas this is certainly the case for J2EE technology and approaches, Java EE offers modern, lean ways of developing enterprise applications. Chapter 4, Lightweight Java EE and Chapter 5, Container and Cloud Environments with Java EE covered these aspects, especially in regard to modern environments.
Java EE is indeed well suited for writing microservice applications. Container technologies and orchestration support the platform, particularly since Java EE separates the business logic from the implementation.