Eclipse MicroProfile 2.2 introduces improvements to its APIs & continues alignment to Java EE 8
The open forum to collaborate on enterprise Java microservices, Eclipse MicroProfile is here with a new release. MicroProfile 2.2 updates the Fault Tolerance, Open Tracing, Open API, and Rest Client APIs and continues to align itself with Java EE 8.
It’s been four months since Eclipse Microprofile 2.1 was released so it’s time for a new version. 2.2, which builds on its predecessor, updates the Fault Tolerance, Open Tracing, Open API, and Rest Client APIs. Furthermore, it continues to align itself with Java EE 8.
What’s new in Eclipse MicroProfile 2.2
Open Tracing 1.3 arrives with a few changes in tow: it adds tighter integration to Rest Client, introduces clarifications to the spec, enhances its TCK, updates pom.xml, and adds the HTTP method to http-path operation name, among other improvements.
Open API 1.1 brings enhancements to its TCK, adds the JAX-RS 2.1 PATCH method, introduces default implementations for builder methods, has some annotation improvements etc.
Rest Client 1.2 now generates headers en masse [including propagation of headers from inbound JAX-RS requests], adds new connectTimeout and readTimeout methods on RestClientBuilder – and corresponding MicroProfile Config properties, a new SPI interface for intercepting new client instances, new documentation about its integration to other MicroProfile technologies, and more.
Fault Tolerance 2.0 [updated version] adds support of return types when used asynchronously, as well as support for Java EE 8, and provides clarifications to the specifications.
Why should you care about Eclipse MicroProfile 2.2?
As mentioned above, Eclipse MicroProfile continues to align itself with Java EE 8. The latest release offers a richer feature set for Fault Tolerance, Open Tracing, Open API, and Rest Client and includes features offering more functionality for implementing enterprise Java microservices, according to the blog post announcing v2.2.
Eclipse MicroProfile 2.2 brings some specification clarifications and documentation enhancements and offers a richer integration between MicroProfile APIs. Furthermore, all these APIs offer CDI-based and programmatic easy-to-use interfaces.
The list of benefits of Eclipse MicroProfile 2.2 also includes the fact that the interoperability across different MicroProfile implementations offers users the freedom to select one or combine many MicroProfile implementations in an application. Plus, there’s 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).
If you’re eager to know what’s in store for future releases of Eclipse MicroProfile, you should know that existing APIs will be updated and/or new ones will be added. These topics, which are already under active discussion, might appear in future releases:
- Long Running Actions
- Reactive Messaging
- Reactive Relational Database Access
- Event Data
- Service meshes
For more information on Eclipse MicroProfile 2.2, check out the release notes. You can find the roadmap and upcoming release trains here and if you’re new to MicroProfile and you’d like to get your projects kick-started with it, you’ll find everything you need here.