Eclipse MicroProfile

What is Eclipse MicroProfile?

The MicroProfile project was launched in June 2016 as a collaborative effort between Java application server vendors and the enterprise Java community to enable fast innovation.

MicroProfile is a specification which provides a set of APIs focused on microservices. The complete MicroProfile API is provided as a Bill Of Materials (BOM) which can be used by developers as a generic dependency provided by a vendor of their choice.

Payara has been part of the MicroProfile project from its inception and, therefore, supports all specifications of MicroProfile.

What does each specification contain?

Version Specifications Maven

1.2

<dependency>
    <groupId>org.eclipse.microprofile</groupId>
    <artifactId>microprofile</artifactId>
    <version>1.2</version>
    <type>pom</type>
    <scope>provided</scope>
</dependency>

1.1

<dependency>
    <groupId>org.eclipse.microprofile</groupId>
    <artifactId>microprofile-bom</artifactId>
    <version>1.1.0</version>
    <type>pom</type>
    <scope>provided</scope>
</dependency>

1.0

  • JAX-RS 2.0

  • CDI 1.1

  • JSON-P 1.0

<dependency>
    <groupId>io.microprofile</groupId>
    <artifactId>microprofile</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
    <scope>provided</scope>
</dependency>

Payara Support for MicroProfile

Version 1.2

Version 1.2 of Microprofile includes 4 new APIs and an update to the existing config API and is supported by both Payara Server and Payara Micro from release 4.1.2.181 and 5.181

Version 1.1

Version 1.1 of the MicroProfile specification includes the Config 1.0 API and is supported by both Payara Server and Payara Micro from release 4.1.2.173

Version 1.0

Since version 1.0 of MicroProfile only included existing specifications already supported by Payara Server and Payara Micro, an application targeting version 1.0 of MicroProfile can be run on any release of Payara Server or Payara Micro.