layout | title | categories | author_picture | author_github | seo-title | seo-description | blog_description | open-graph-image |
---|---|---|---|---|---|---|---|---|
post |
TITLE |
blog |
TITLE - makes sure it ends with - OpenLiberty.io |
DESCRIPTION |
DESCRIPTION |
BETA_RELEASE_SUMMARY
We have two beta packages for Open Liberty:
-
All Beta Features: a larger package that contains all Open Liberty beta features (including Jakarta EE 9 beta features) and GA features and functions.
-
Jakarta EE 9 Beta Features: a lightweight package that contains only the Jakarta EE 9 features.
This means that you can now try out our in-development Open Liberty features by just adding the relevant coordinates to your build tools.
If you try either package, let us know what you think.
The All Beta Features package includes the following beta features:
// // // // // // // //
// EXAMPLE CODE
// // // // // // // //
To enable the new beta features in your app, add them to your server.xml
:
To try out these features, just update your build tools to pull the Open Liberty All Beta Features package instead of the main release. The beta works with Java SE 15, Java SE 11, or Java SE 8.
If you’re using Maven, here are the coordinates:
<dependency>
<groupId>io.openliberty.beta</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>20.0.0.RELEASE_VERSION-beta</version>
<type>pom</type>
</dependency>
Or for Gradle:
dependencies {
libertyRuntime group: 'io.openliberty.beta', name: 'openliberty-runtime', version: '[20.0.0.RELEASE_VERSION-beta,)'
}
Or take a look at our Downloads page.
The main change visible to developers in Jakarta EE is the names of packages changing to accomodate the new jakarta.*
namespace. In this Open Liberty beta, we have more … API Release Candidates.
This Open Liberty beta introduces the following Jakarta EE 9 features which now possess their all-new Jakarta EE 9 package names:
-
Bean Validation 3.0 (
beanValidation-3.0
) -
CDI 2.0 (
cdi-2.0
) -
WebSocket 2.0 (
websocket-2.0
; currently the integration with CDI is not completed) -
JPA 3.0 (
jpa-3.0
)
These join the Jakarta EE 9 features in previous Open Liberty betas:
Enable the Jakarta EE 9 beta features in your app’s server.xml
. You can enable the individual features you want or you can just add the Jakarta EE 9 convenience feature to enable all of the Jakarta EE 9 beta features at once:
<featureManager>
<feature>jakartaee-9.0</feature>
</featureManager>
Or you can add the Web Profile convenience feature to enable all of the Jakarta EE 9 Web Profile beta features at once:
<featureManager>
<feature>webProfile-9.0</feature>
</featureManager>
To try out these Jakarta EE 9 features on Open Liberty in a lightweight package, just update your build tools to pull the Open Liberty Jakarta EE 9 Beta Features package instead of the main release. The beta works with Java SE 15, Java SE 11, or Java SE 8.
If you’re using Maven, here are the coordinates:
<dependency>
<groupId>io.openliberty.beta</groupId>
<artifactId>openliberty-jakartaee9</artifactId>
<version>20.0.0.RELEASE_VERSION-beta</version>
<type>zip</type>
</dependency>
Or for Gradle:
dependencies {
libertyRuntime group: 'io.openliberty.beta', name: 'openliberty-jakartaee9', version: '[20.0.0.RELEASE_VERSION-beta,)'
}
Or take a look at our Downloads page.
Let us know what you think on our mailing list. If you hit a problem, post a question on StackOverflow. If you hit a bug, please raise an issue.