This week's news features news from JDK 17 and JDK 18, Open Liberty 21.0.0.6, MicroProfile 4.1, Piranha 21.6.0, Spring Native 0.10.0, Hazelcast Node.js Client 4.2, Hibernate ORM 5.5.2, Hibernate Search 6.0.4, JHipster 7.1.0, the Snyk/Azul JVM Ecosystem survey, and a Jakarta EE webinar series offered by Payara.
OpenJDK and JDK 17
It has been a quiet week over at OpenJDK now that the feature set has been frozen for JDK 17.
Build 27 of the JDK 17 early access builds was made available this past week featuring updates from Build 26 that include fixes to various issues. More details may be found in the release notes.
JDK 18
Build 2 of the JDK 18 early access builds was made available this past week featuring updates from Build 1 to fix various issues.
Patricio Chilano Mateo, member of technical staff at Oracle, introduced a patch which will obsolete biased locking code in JDK 18. Delivered in JDK 15, biased locking was originally deprecated with JEP 374 (Disable and Deprecate Biased Locking).
Open Liberty
Open Liberty 21.0.0.6 has been released featuring bug fixes and improvements to the MicroProfile Metrics API such that information acquired by the Request Timing feature may now be displayed on the /metrics
endpoint.
The Road to MicroProfile 4.1
MicroProfile 4.1-RC2 has been released featuring documentation updates regarding alignment on Jakarta EE 8 specifications. The release plan for the formal 4.1 GA release, scheduled for July 7, 2021, will include the updated MicroProfile Health 3.1 API.
Piranha
Piranha 21.6.0 has been released featuring a consolidation of their extensions into its own directory and documentation having been moved to Javadoc. Further details may be found in their list of issues.
Spring Framework
It was a quiet week at Spring as the only release in the ecosystem was Spring Native 0.10.0 featuring an introduction of native testing, a new official Gradle plugin in collaboration with the GraalVM team, and an introduction of ahead-of-time proxies for Java classes that were previously only used on Java interfaces. There are also 43 bug fixes, documentation improvements, and dependency upgrades. More details may be found in this YouTube video by Josh Long, Spring developer advocate at VMware.
Hazelcast
Hazelcast Node.js Client 4.2 has been released featuring support for the SQL engine first introduced in Hazelcast IMDG 4.1. Developers may now effectively query on large databases with new SQL expressions. SQL results are now fetched page-by-page to minimize memory usage on client and server. On the client side, an execute()
method returns a SQL result that may be iterated via the for await...of
loop as shown in this example:
SELECT name, age FROM students WHERE age > ?
const result = client.getSqlService().execute('SELECT name FROM students WHERE age > ?', [18]);
for await (const row of result) {
console.log(`Name: ${row['name']}`);
}
Hibernate
Hibernate ORM 5.5.2.Final has been released featuring faster boot times in response to the Java community reporting slow boot times when connecting to large databases. An additional optimization was added by setting the configuration property, hibernate.id.sequence.increment_size_mismatch_strategy
, to NONE
that will disable behind-the-scenes validations if using a sequence optimizer isn't required in an application.
Hibernate Search 6.0.4.Final has also been released featuring dependency upgrades to Jackson 2.12.x and Hibernate ORM 5.4.31.Final, repairing a thread leak in the mass indexer, and changes to the Elasticsearch such that the name of an index will be exposed when used by Hibernate Search.
JHipster
Version 7.1.0 of JHipster was released featuring dependency upgrades to Angular 12.x and Spring Boot 2.4.7, adding microfrontend support
to Angular, removing the AWS containers subgenerator, and caching front-end application files. Breaking changes related to React include migrating to the Redux toolkit and validation hook.
Snyk/Azul JVM Ecosystem Report 2021
The results of the JVM Ecosystem Survey 2021 conducted by Snyk and Azul have been released. Some highlights include 44% of developers using AdoptOpenJDK in production, 60% of developers using JDK 11 in production, and 58% of developers are using Spring Boot. InfoQ will follow-up with a more detailed news story.
Payara Webinar Series
Payara has kicked-off the first of six weekly webinars this past week. Entitled Dismiss the Myths: Get to Know Jakarta EE, all sessions start at 3:00pm BST (10:00am EDT) and are listed as follows:
- June 16, 2021: Is Java EE Outdated and Dead?
- June 23, 2021: Are Java EE Application Servers Heavy
- June 30, 2021: Is Java EE Cloud-Native?
- July 7, 2021 : Can Java EE do Microservices?
- July 14, 2021: Do Java EE Standards Matter?
- July 21, 2021: Is the Java EE Deployment Model Out of Date?
Those interested in attending any of the five remaining sessions may do so via the registration page.