Java 21 and the Upcoming Jakarta EE 11: A New Era of Cloud Native Java

Uncategorized

With Java 21 released today and Jakarta EE 11 slated for release in Q1 of 2024, the landscape for Java development is evolving rapidly, particularly in the cloud-native space. Although these two are not being developed together, they are intrinsically linked: Jakarta EE 11 will have Java 21 as its base Java SE version. This blog post will explore what these two significant releases bring to the table individually and how they can collectively enhance cloud native Java development.

Java 21: The Game-Changer

Java 21, the latest long-term support (LTS) version of Java, is already out and has been a hot topic in the Java community. It introduces several exciting features, including:

Virtual Threads: These are designed to be lighter and more efficient than traditional threads, thus enabling applications to handle a greater number of tasks concurrently. Check out our blog,A Look at Virtual Threads in a Jakarta EE Managed Context. 

String Templates: This simplifies string manipulation, making the code more readable and maintainable.

Pattern Matching for Switch: This feature allows for more concise and user-friendly switch statements.

Jakarta EE 11: The Awaited Release

Jakarta EE11, expected in Q1 of 2024, is set to be the next major version of Jakarta EE. One of the most noteworthy aspects is that it is expected to have Java 21 as its base Java SE version. This means it will inherently benefit from the advancements Java 21 brings. The Jakarta EE Steering Committee is seeking to establish a predictable release cadence for the platform, with the current proposal being a new major Jakarta EE release 6 months after a Java SE LTS release. 

Jakarta EE 11 On Java 21

The fact that Jakarta EE 11 will use Java 21 as its base version means some of the notable features of Java 21 will be be leveraged to provide even better performance and code readability. Even though the core theme of Jakarta EE 11 will be better alignment of the entire platform with Jakarta CDI, some notable places Java SE 21 features will come to play are:

Efficient Scaling in Jakarta EE: The virtual threads from Java 21 will be utilized in Jakarta Concurrency 3.1 in Jakarta EE 11, offering more efficient scaling options for handling multiple requests.

Simplified Code in Jakarta EE: The pattern matching and string templates in Java 21 can make Jakarta EE applications more straightforward and easier to maintain.

Why It Matters for Cloud Native Java Development

Cloud native applications require scalability, reliability, and efficiency. The features in Java 21, combined with the enterprise capabilities expected in Jakarta EE 11, aim to meet these needs. For example, virtual threads can be a crucial feature for applications that require quick scaling to meet demand spikes.

What About Payara Platform?

Our current roadmap plans for Payara Community Server and Micro to run with Java 21 by mid-October, with Payara Enterprise supporting Java 21 by mid-December. We will support Jakarta EE 11 in line with its release next year. 

Conclusion

While Java 21 is already bringing transformative features to the table, the upcoming release of Jakarta EE 11 is expected to further elevate the state of cloud native Java development. Jakarta EE 11, through Java 21, will make it easier to build more robust, efficient, and scalable cloud native Java applications.

Stay tuned for more Java 21 content and updates as we get closer to the release of Jakarta EE 11, and learn how you can make the most of these advancements in your cloud native Java projects!

And remember, we have launched our own fully-managed cloud native application runtime, Payara Cloud. It offers a flexible and powerful way to easily run your Jakarta EE apps on the cloud. Simply select your WAR, click deploy, and watch your apps run on the cloud – automatically, like magic. Find out morehereand sign up for a 15 day free trial to experience it! 

Fully managed Jakarta EE Deployment. ✅Handles Kubernetes for you.✅ 15 day free trial available.✅

Payara Cloud.

TRY FREE.

 

Comments (1)

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.

  1. Philipp Schneider

    “Jakarta EE 11 slated for release in Q1 of 2022”
    I think it it’s supposed to be “Q1 of 2024”

Related Posts

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise 9 minutes
Jakarta EE

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise

Organizations are increasingly interested in adopting artificial intelligence (AI) and generative AI (GenAI) to improve operations and offer next-generation […]

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 […]

Payara Qube-Cloud Light banner 4 minutes
Security

Zero Trust Security in Enterprise Java: What it is and How to Implement it

Cybersecurity isn’t just about building walls, fortresses, moats or any other external barrier anymore. Nowadays, it’s important to check […]