Getting Started with Jakarta EE 9: Jakarta Validation

In this last blog of the Getting Started with Jakarta EE 9 blog and video series, we have a look at the Bean Validation specification. Using this specification, you can define some validation rules, from some simple ones on a single field to very complex ones on a business entity, that are reusable depending on the input frameworks you are using within your application.

JDK17 Support in Payara Community

JDK 17 is the latest Long Term Supported (LTS) version of the Java platform, released in September 2021. LTS versions will have regular releases for the coming years and you don't need to switch to a newer version after 6 months as you do with those 'interim' JDK versions.

The features in an LTS version are kept stable so it is ideal for running  your enterprise applications. Once you switch to an LTS, you can safely update to any minor release to accommodate for security issues and bug fixes of the JDK platform, but without needing to perform a migration.

With the release of the November 2021 version of the Payara Platform Community Edition, Payara Server, Payara Micro, and the Web Profile run on JDK 17 platform.

Payara Platform October 2021 Survey Results

We’re pleased to announce that our October 2021 Payara Platform Survey results are now available! 

This survey was promoted to our audience in October 2021. We shared with Payara Platform Enterprise customers and Community users via social media, emails and blogs. Thank you so much to everyone who took the time to contribute!

Running Payara Server as a Service - Added Support for systemD on Linux

Before your application can respond to any request from the user, Payara Server needs to be started as a process on a machine. The Payara Server Domain instance or a Payara instance can be started using the Asadmin CLI tool.

But in many cases when you run Payara Server on an on-premise machine or in a virtual machine, you want to start the Payara process automatically when the machine is booted. You can do this by defining Payara as a Service on the machine.

VIDEO: Adam Bien - The Future is Now (Payara Cloud)

Adam Bien explored the possibilities of Payara Cloud in his recent talk for the 2021 J4K conference! 

He used the Payara Cloud demonstration environment - with the caveat that the user interface is not completed yet - to demonstrate how our next generation application server creates a "serverless" environment; moving the "plumbing behind the scenes" so you only have to worry about selecting your WAR, clicking deploy, and running it on the cloud! 

VIDEO: 7 Reasons to Switch to OpenJDK 17 as a Jakarta EE Developer

JDK 17, the next Long-Term Release of Java SE, launched in September. You may have seen many of the great blogs, articles, and videos about what this means for Java developers. For just a few places to start, we like: theJetBrainsteam'sdiscussion on migrating to JDK 17; Todd Ginsberg onhis ten favourite features; andGunter Rotsaert mapping out thedifferences between Java 11 and Java 17. 

But what does the new release mean forJakarta EEdevelopers specifically? If you are using these enterprise-orientated specifications, stewarded by theEclipse Foundation, should you make the switch?

Payara's Rudy De Busscherthinks you should, and explained why in his talk toIstanbul JUG, powered byHazelcast.

The Payara Monthly Catch: October 2021

In October, ourJavaandJakarta EEcommunity has still been digesting the new long-term support release, JDK 17, out last month. Below, find useful articles such as theJava Champions demystifying the new licensing,Per Liden on the inclusion of Z Garbage Collection, andGunter Rotsaert on differences between Java 11 and Java 17- some of our favourite experts are helping the community get to grips with improvements and changes!  

The innovative Payara team are always looking forward though, and work is in full swing for Jakarta EE 10. Particularly popular this month was a blog by our CEO Steve Millidge, who is project lead for the Jakarta Concurrency project, a specification within theEclipse FoundationJakarta EE that works on transferability between Java SE Concurrency and its enterprise-orientated counterpart. Make sure you check it out if you are interested in honing your open source skillls by contributing to a project (Steve is actively looking for volunteers to test, write documentation and develop) but also if you want to know more about what you can do with Jakarta Concurrency in its current form.

Big news also is the new and improvedPayara Forum. We've moved from Google Groups to a new location that makes it easier to discuss use of Payara Platform with like-minded developers - and our engineers! Make sure you have investigated it. 

In addition to JDK 17 tips and tricks, and Jakarta Concurrency content, please find below our pick of the best blogs, articles, videos and podcasts from the world of Java, Jakarta EE, MicroProfile, open source and DevOps over the last month. We also include industry news and where you can find Payarans across the web!

Client Certificate Realm Configuration in Payara Server

A realm is the security policy domain within an application server. It defines how the authentication and authorization for your application is performed. Most of the time, your application is used by a person that can provide username and passwords as credentials (directly or indirectly through providers like an OpenId Connect provider) but some use cases exist where another process needs to use your endpoints.