What’s Coming in Payara 5.194: MicroProfile 3.2 Compatibility

Payara

With the release of Payara Platform 5.194 (coming in December), Payara will officially be MicroProfile (MP) 3.2 compatible. But what’s the big deal about this? In this blog, we’ll be taking a look at the benefits and features of the upgrade and why you’ll want to make use of it.

MicroProfile 3.2 Compatibility in the Payara Platform 5.194 Release

Payara Platform 5.193 ended up in a limbo state between MP 2.2 and 3.0, so with the 5.194 release comes the simplicity and benefits of a full implementation of 3.2 – here’s what this is going to provide (referencing the MicroProfile release blogs):

  • Continued alignment with Java EE / Jakarta EE 8 feature subset
  • Richer feature set for Health Check, Metrics, and Rest Client
  • Additional features offering more functionality for implementing enterprise Java microservices
  • Specification clarifications and documentation enhancements
  • Richer integration between MicroProfile APIs
  • APIs with 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 a microservices architecture
  • Thorough set of artifacts for each API, including a Test Compatibility Kit (TCK), Javadoc, PDF and HTML documents for download, API Maven artifact coordinates, Git tag, and downloads (spec and source code)

The upgrades feature new versions of the Health Check, Metrics and Rest Client packages with each of them moving to versions 2.1, 2.2 and 1.3 respectively.

A Brief Glance at the New Versions

The Rest Client update (rooted in MP 3.0 and the smallest of the three) introduces the simplification of the configuration of multiple client interfaces, support for SSL configuration, resource cleanup after use, and media type defaulting when none is specified.

The latest version of Metrics includes some breaking changes related to the refactoring of counters (see spec for more details). In addition, it introduces support for the OpenMetrics format (formerly called Prometheus format), removes unnecessary annotations and deprecated methods, and improves the identification of specific metrics. Further to this, it includes many clarifications, such as metric registry implementations requiring to be thread-safe, metrics being omitted by implementations, and private methods in an annotated class not needing metrics. A fix was created in Metrics 2.2 (rooted in MP 3.2) which reverts a problematic change from Metrics 2.1 where Gauges were required to return subclasses of java.lang.Number.

Finally, Health Check 2.1 adds support for @Liveness and @Readiness health check annotations for container orchestration solutions like Kubernetes along with the addition of a new method to create responses as well as the addition of a config property to disable implementation health procedures and improvements to the javadoc.

All in all, there’s a decent set of core stability and functionality improvements being introduced with these updates which can bring a large amount of value to your production environment – all good reason to keep up to date and notified on the release of Payara Platform 5.194!

You can find out more about the MicroProfile Organisation and the spec for the new 3.2 version at the official MicroProfile website and GitHub.

Try using the Payara Micro implementation of MicroProfile – use the MicroProfile Starter to generate a MicroProfile Maven Project with code examples: MicroProfile Starter Project.

 

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

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]