This week’s Java summary for August 30, 2021, features news from SpringOne in which the roadmap for Spring Framework 6.0 and Spring Boot 3.0 has been revealed, updates to JEP OpenJDK, JDK 18, updates Quarkus version trains 2.1 and 2.2, the candidate MicroProfile API version, Open Liberty 18.104.22.168, Hibernate 5.6.0.Beta1, GraalVM Native Build Tools 0.9.4 and a new JHipster project for Helidon.
JEP 400, UTF-8 by default, was promoted from Proposed to target To Integrated status for JDK 18. This JEP specifies that UTF-8 is the default character set for standard Java APIs to ensure consistency across all implementations, operating systems, locales, and configurations.
One week after being promoted Proposed to target statute, JEP 413, Code snippets in the Java API documentation, has been promoted Target status for JDK 18. This JEP introduces the
@snippet tag for Oracle Standard doclet, the well-known Java API documentation utility that produces output in HTML format by default. The goal is to simplify the inclusion of sample source code in API documentation.
JEP 418, Internet address resolution SPI, was promoted from Disorganized To Candidate status. This JEP proposes to define a service provider interface for the resolution of host names and addresses, so that
java.net.InetAddress can take advantage of resolvers other than the built-in default OpenJDK resolver.
Geertjan Wielenga, Senior Director of Open Source Projects at Azul, a spear a “Works with OpenJDK” campaign to highlight OpenJDK-based applications. Java developers are encouraged to add a badge as shown below. For example, the badge could be added in the
README.md file from the application’s GitHub repository.
JDK 17 remains in its candidate for release phase with the scheduled release of the GA on September 14, 2021. InfoQ will follow with a more detailed report.
Red Hat has made interim releases available for Quarkus version 2.1 and 2.2 streams.
Quarkus 2.2.1.Final, defined as a hardening version that fixes issues and improves usability and documentation, offers an upgrade to GraalVM 21.2; the ability to disable all DevServices by adding the property
quarkus.devservices.enabled=false; a improved wire model for RESTEasy Reactive to choose blocking or not blocking according to the REST methods; introduces support for MongoDB service binding and a extension to run Long-lasting actions of Narayana.
Quarkus 2.1.4.Final, the fourth maintenance release, comprising: a fix for the “Unable to connect to DOCKER_HOST URI” error when
quarkus.redis.devservices.enabled=false is applied in the
application.properties to file; unnecessary deletion Stop hooks from DevServices; solve it Internal Server Error using the
/q/dev/3 period ; and deletion of the warning when applying the recommended property
quarkus.smallrye-metrics.jaxrs.enabled=true on depreciated property
quarkus.resteasy.metrics.enabled=true. More details can be found in the changelog.
IBM has published Open Liberty 22.214.171.124 with support for MicroProfile 4.1, recovery of stand-alone transactional peers among peer application server groups; and the new logging format,
TBASIC, introduced earlier this year, has been made available to the
messageFormat logs to supplement existing support for the
Announcement To SpringOne last week, Spring frame 6.0 and Spring boot 3.0 will include a JDK 17 and Jakarta EE 9 baseline. Scheduled for release 4Q2022, VMware states that this baseline will be “provide significant benefits in our API design and integration efforts, showing through in your application code and ensuring the sustainability of the framework and your applications for many years to come.InfoQ will follow with a more detailed report.
The first one beta version of ORM hibernation 5.6.0 features supporting changes from Reactive hibernation core of Hibernate ORM and benchmarking and runtime performance improvements. Hibernate considers version 5.6.0 as a gateway to the next Hibernate ORM 6.0. To this end, Hibernate has removed support for Javassist in favor of Buddy byte, which is available since Hibernate ORM 5.3.
On the road to MicroProfile 5.0, slated for release in 4Q2021, seven of the eight internally developed APIs have candidate versions available for review:
MicroProfile JWT 2.0-RC1 will be available soon.
Oracle Laboratories has published version 0.9.4 of Native building tools, a GraalVM project composed of plugins for interoperability with GraalVM Native image. This release provides a workaround for Maven and Gradle handling long classpaths on Windows operating system. Instead of passing all the entries on classpath, the Gradle plugin will automatically generate a big JAR with the ability to deactivate this workaround. For Maven users, you will need configure versions using the
JHipster generator for Helidon projects
Dmitry Alexandrov, software developer at Oracle, a introduced a new project, JHipster Helidon 0.0.1, a JHipster project that generates Helidon applications. Still under construction, Aleksandrov is seeking feedback from the Java community.