On the road to MicroProfile 2.0: Eclipse MicroProfile 1.3 benefits at a glance
© Shutterstock / MoreVector
Eclipse MicroProfile 1.3 updates the Config and the Metrics APIs, adds the OpenAPI, OpenTracing, and Rest Client APIs and has a handful of benefits. The next release will be Eclipse MicroProfile 2.0, due in late March.
Eclipse MicroProfile 1.3 was released in early January but we’re already daydreaming about 2.0 [due in late March].
Eclipse MicroProfile 1.3 builds on the 1.2 version just like MicroProfile 1.2 did on the 1.1 version and updates the Config and the Metrics APIs and adds the OpenAPI, OpenTracing, and Rest Client APIs.
Cesar Saavedra explained in the blog post announcing Eclipse MicroProfile 1.3 that the “MicroProfile OpenAPI specification aims to provide a set of Java interfaces and programming models which allow Java developers to natively produce OpenAPI v3 documents from their JAX-RS applications while the MicroProfile OpenTracing API provides a standard for instrumenting microservices for distributed tracing. Lastly, the MicroProfile Rest Client API provides a type-safe approach to invoke RESTful services over HTTP in a consistent and easy-to-reuse fashion.”
Eclipse MicroProfile 1.3 benefits
- Additional features offering more functionality for implementing Enterprise Java microservices.
- MicroProfile OpenAPI provides the capability to easily specify the automatic generation of APIs for microservices using the OpenAPI standard, allowing microservices to be managed by API Management solutions.
- MicroProfile OpenTracing makes it easy to instrument services with distributed tracing function, given an existing underlying distributed tracing system in the environment. This permits the tracing of requests flowing through a microservices architecture using your existing distributed tracing systems.
- MicroProfile Rest Client API offers a type-safe and consistent way of invoking your microservices.
- All these APIs offer CDI-based and programmatic easy-to-use interfaces.
- Interoperability across different MicroProfile implementations provides users the freedom to select one or combine many MicroProfile implementations in an application
- A thorough set of artifacts for each API, including a Test Compatibility Kit (TCK), Javadoc, PDF document for download, API Maven artifact coordinates, Git tag, and downloads (spec and source code)
To get started with MicroProfile 1.3, add this dependency to your pom.xml:
What to expect from Eclipse MicroProfile 2.0
According to Saavedra, MicroProfile 2.0 should deliver the following:
For those who are not familiar with Eclipse MicroProfile or simply want to know more about this project, check out Alex Theedom’s article in which he explains the top five things developers need to remember about Eclipse MicroProfile.