Some may think that Java EE is "too heavyweight" for microservices development, but this is simply not the case. Because of this misconception, some may think that Java EE may not be suitable for a microservices architecture, when, in reality, Java EE fits microservices development well. In the past, Java EE applications were deployed to a "heavyweight" application server. Nowadays, most Java EE application server vendors offer lightweight application servers that use very little memory or disk space. Some examples of these Java EE compliant lightweight application servers include IBM's Open Liberty, Red Hat's WildFly Swarm, Apache TomEE, and Payara Micro.
Developing microservices with Java EE involves writing standard Java EE applications while limiting yourself to a certain subset of Java EE APIs—typically, JAX-RS...