New data specifications and virtual threads for Jakarta EE 11

The new Java platform is optimized for Java 21 and offers simplified and abstracted access to data structures with the API Data 1.0.

listen Print view
Coffee beans

(Image: Natalia Hanin / Shutterstock.com)

1 min. read
By
  • Manuel Masiero

The release highlights of the now officially published Java platform Jakarta EE 11 include updates to many specifications, the modernization, and restructuring of the Test Compatibility Kits (TCKs), the new Jakarta Data specification and support for the latest Java LTS version. This allows developers to use Java 21, including virtual threads.

Jakarta Data 1.0 is a new API for simplifying data access. Its features include the BasicRepository interface, which can be used to perform basic operations on entities. CrudRepository simplifies CRUD operations, making database interactions easier and less error-prone. Also included is the Jakarta Data Query Language, which specifies the semantics of query methods in Jakarta Data repositories.

Videos by heise

According to the announcement, further refinements in productivity result from the removal of managed beans. Instead, Jakarta EE 11 uses CDI (Context and Dependency Injection) as the central component model. Furthermore, the Java SE SecurityManager has been declared obsolete in accordance with JEP 411.

Java 17 or higher is required for Jakarta EE 11, although the Eclipse Foundation recommends Java 21, for which the new platform has been optimized. As usual, the current release version was preceded by several milestones and pre-release versions. Heise has already tested a number of the new features.

(mack)

Don't miss any news – follow us on Facebook, LinkedIn or Mastodon.

This article was originally published in German. It was translated with technical assistance and editorially reviewed before publication.