JDK LTS, OpenJDK, Spring Updates, Helidon, Payara Platform Release Cadence
This week’s Java summary of September 13, 2021 features news from OpenJDK, a proposal to accelerate the release rate of JDK LTS from three years to two years, JDK 18, Liberica JDK 17, Spring Framework updates. , Spring Data and Spring Tools 4, Payara Platform, Helidon, JDK 17 development versions of GraalVM, Hibernate, Piranha, Apache Camel, JobRunr 4.0 and the 2021 Jakarta EE Developer survey.
JEP 417, Vector API (Third Incubator), was promoted from Candidate To Target status for JDK 18. Along with the performance improvements, this JEP proposes to incorporate improvements in response to feedback from the two previous incubation cycles: JEP 414, Vector API (Second Incubator) and JEP 338, Vector API (Incubator). JEP 338 was integrated as an incubator module in JDK 16 and JEP 414 was delivered in JDK 17.
Along with the release of Java 17, Mark Reinhold, chief architect, Java Platform Group at Oracle, proposed to step up the current Long Term Support (LTS) release rate from every three years to every two years. Reinhold states that this proposal would have no effect on major feature versions within the JDK project, but would affect JDK update projects in terms of additional work, however. InfoQ will follow with a more detailed report.
Jim Laskey, director of software development at Oracle, and Brian Goetz, Java language architect at Oracle, resurrected their proposal to offer string interpolation beyond the text blocks introduced in Java 15. As a common feature requested, string interpolation in Java has advantages. programming language. However, Laskey and Goetz are concerned about possible injection attacks and localization and formatting limitations.
Oracle released version 17 of the Java and Virtual Machine programming language last week. As the first Long Term Support (LTS) release since JDK 11 in 2018, there are 14 JEPs in the final feature set. More detailed InfoQ news on this latest version can be found here.
Version 15 of the early access releases of JDK 18 was made available last week with updates to version 14 that include fixes to various issues. More details can be found in the release notes.
For JDK 18, developers are encouraged to report bugs through the Java Bug Database.
Liberica JDK 17
BellSoft has released its latest downstream distribution of OpenJDK, Liberica JDK 17, offering additional features and tools such as LibericaFX, an instance of JavaFX, and Liberica Native Image Kit for native images.
After a very quiet previous week, it was a busy week in the spring as there were a number of one-off releases for their various projects.
Minor versions of Spring Framework version 5.3.10 and version 5.2.17.RELEASE were released with 45 bugfixes and 13 bugfixes, respectively, which included dependency upgrades and documentation enhancements for two versions.
Spring Data 2021.0.5 and 2020.0.13 have been released with dependency upgrades and bug fixes for both versions which are based on Spring Framework 5.3.10. These versions can be consumed with the next versions of Spring Boot 2.5.5 and 2.4.11, respectively.
On the road to Spring Data 2021.1.0, the third milestone release has been made available with numerous dependency upgrades, bug fixes, and improved support for MongoDB, Redis, Elasticsearch, and Neo4J. Spring Data 2021.1.0-M3 can be used through the next release of Spring Boot 5.6.0-M3. This is also the last step before an RC phase scheduled for mid-October and a GA release in November.
Spring Tools 4 version 4.12.0 for Eclipse, Visual Studio Code, and Theia was released last week with an update to Eclipse 2021-09, support for Java 17 via a separate plugin, and versions to Early access for the Apple Silicon platform (ARM M1).
Payara has released its September 2021 edition of the Payara platform. Payara Platform Community 5.2021.7 and Payara Platform Enterprise 5.31.0 each contain 10 bug fixes, a component upgrade, a security patch, and a new feature. The security patch was necessary due to the discovery of a Path Traversal vulnerability in which, under certain conditions, an attacker could read from the file system of the server running an application. More details can be found in the Community and Enterprise Edition release notes.
Oracle released Helidon 2.3.3 with bug fixes and performance improvements for the WebServer, WebClient, Fault Tolerance, Tracing, and Metrics components. More details can be found in the release notes.
The development versions of GraalVM based on JDK 17 have been provision to the Java community. Developers are encouraged to experiment with these versions and provide feedback.
Hibernate announced an “all systems go for Java 17”, which means that their maintained branches have been tested regularly with early versions of OpenJDK 17. Specifically, these branches include Hibernate ORM 5.3+, Hibernate Search 5.11+, and Hibernate Validator 6.2+.
Piranha 21.9.0 has been released. Dubbed the “Small Steps” edition, this release includes: a new group ID and artifact ID for Piranha Micro to reflect the fact that it is now part of a multi-module project; and fixes for some TCK issues. Further details can be found in their documentation and issue tracking.
Apache released Camel 3.11.2, an LTS version containing 28 bug fixes and improvements, including dependency upgrades to Spring Boot 2.5.4, Apache Commons Compress 1.21, XChange 5.0.11, and Camel Karaf. More details can be found in the release notes.
JobRunr, a utility for performing background processing in Java, released version 4.0 to include a number of new features such as: a performance mode that checks if a job can be cached; New
JobRequestHandler interfaces to create new background tasks; and an update to JobRunr Spring Boot Starter, a new Micronaut integration and a new Quarkus extension. InfoQ will follow with a more detailed report.
Jakarta EA survey
The Jakarta EE 2021 Developer Survey Report has been made available to the Java community. Here are some highlights from the executive summary:
- The Jakarta EE community is looking for faster support from existing Java EE / Jakarta EE and cloud providers.
- Over 48% of those surveyed have already migrated to Jakarta EE or plan to do so within the next 6-24 months.
- Spring / Spring Boot remains the leading framework for creating cloud native applications (60%), its share increasing by 16 points (compared to 44% in 2020).
- MicroProfile adoption increased to 34% (up from 29% in 2020).
A total of 940 developers took part in this survey from April 6 to May 31, 2021.