Use MicroProfile 4.0 Specs in Payara Platform Community 5.2021.1

Uncategorized

In the December Payara Platform Community release, we added two MicroProfile specification release candidates for you to try out: the MP Health 3.0 and MP JWT Auth 1.2 specifications. (Read more about that in this blog: Test MicroProfile Specs in Payara Platform Community 5.2020.7 Release). In our February Payara Platform Community release, support for MicroProfile 4.0 is complete with the final versions of the MicroProfile specifications, and we are now pending compatibility recognition from the Eclipse Foundation.

 

When Will Payara Platform Enterprise Support MicroProfile 4.0?

After we’ve determined the final version for each specification is secure and stable on the Community Edition of the Payara Platform and have implemented a solution to minimize or remove the impact of breaking changes, we will begin the process of adding support for MicroProfile 4.0 in Payara Platform Enterprise for production environments. 

What Changed in the MicroProfile Specifications?

The list of important changes occurring in MicroProfile 4.0 include breaking changes for many of the specifications:

Config 2.0

  • Property values are now scanned for expressions, ${…} and replacements are performed. When your config values contain such expression, the result will be different with Config 2.0 in place.
  • Empty values are handled differently and not allowed in some cases resulting in a NoSuchElementException.

Fault Tolerance 3.0

  • Metric names created for the Fault Tolerance specification are changed and moved from the application scope to the base scope.

Health 3.0

  • The @Health annotation, deprecated since version Health 2.0, is removed and no longer available. The annotation is replaced by @Readiness and @Liveness.

Metrics 3.0

  • CDI producers annotated with @Metric do not automatically register the method result within the Metric register.
  • Several changes in method signatures in the classes Timer, MetadataBuilder, and Metadata.

Open API 2.0

  • All methods marked deprecated in Open API 1.1 are removed. For a full list, have a look at this overview.

Open Tracing 2.0

  • Several methods are removed to simplify the usage of spans. The methods related to the auto-finishing spans are removed as the concept itself is no longer supported.

Rest Client 2.0

  • The Jakarta EE dependencies are defined as scope provided instead of compile which means that the transitive dependencies are different and might break your application.

Download the February 2021 Payara Platform Community 5.2021.1 release with support for MicroProfile 4.0:

{{cta(‘b2e4c2b6-f33a-4ae4-9290-f1cf476f445a’)}}

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

Related Posts

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 3 minutes
Community

The Payara Monthly Catch -September 2025

Welcome aboard the September issue of The Monthly Catch! With summer holidays wrapping up, the Java world is back […]

4 minutes
Uncategorized

Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified

We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]

New Releases 5 minutes
News

What’s New In The Payara Platform September 2025 Release?

The September 2025 release marks a significant milestone with Payara 7.2025.1.Beta1 advancing Jakarta EE 11 readiness, alongside focused improvements […]