Java EE 8 and Angular
上QQ阅读APP看书,第一时间看更新

Java EE already has support

Java EE already ships with various specifications that are part of its standards. MicroProfile is a specification, which groups together a subset of the existing APIs from Java EE and adds new ones that are focused towards microservices. The idea of a profile isn't new; since Java EE 6, there was a web profile defined which contained a subset of specifications that made it lighter than a full Java EE system. MicroProfile can be considered to be even smaller than the web profile. This is possible due to the modular design of Java EE.

The latest 1.1 MicroProfile specification contains support for:

  • JAX-RS 2.0: To publish RESTful web services, as the standard API for building microservices
  • CDI 1.1: The programming model for building microservices
  • JSON-P 1.0: To enable working with the JSON format
  • Config 1.0: Allows for the modification of application configurations from outside the application without needing the application to be repackaged

Payara is also part of the specification, and thus supports all APIs defined by the specification of MicroProfile.