Microservices can be built with thecurrent JEE specification (JEE 8). However, there are certain specifications within JEE that are more important for developing microservices, such as JAX-RS (for RESTful Web Services) and JSON-P (for processing JSON data). So, a group of organizations has come together to create specifications for developing and running microservices, which are categorized as MicroProfile. Many of the specifications under MicroProfile are already part of the JEE specification (such as JAX-RS and JSON-P), but some are new specifications, such as for configuring and monitoring microservices.
The group has come up with two profiles so far. Each MicroProfile-compliant implementation is expected to implement each specification in the supported profile. This ensures that a microservice created with a particular profile runs on all Microprofile implementations supporting that profile. At the time of writing this chapter, the group has come up with two profiles...