This week’s Java summary of October 4, 2021 features news from OpenJDK, JDK 18, Spring Cloud 21.0.0-M2, WildFly 25, Quarkus 2.3.0.Final, MicroProfile 5.0-RC1, Open Liberty 220.127.116.11-beta , Mockito 4.0, Apache Camel 3.12.0 and 3.7.6, Apache Camel Quarkus 2.3.0 and Jelastic PaaS acquired by Virtuozzo.
JEP 408, Simple Web Server, has been promoted from Candidate To Proposed to target for JDK 18. This JEP provides a minimal HTTP command line web server that only serves static files. This utility is designed to be useful for prototyping, ad hoc coding, and testing, especially in an educational environment. The server can be started as follows:
$ java -m jdk.httpserver [-b bind address] [-p port] [-d directory] [-h to show help message] [-o none|default|verbose]
The JEP 408 exam ends on October 14, 2021.
Version 18 of the early access releases of JDK 18 was made available last week with updates to version 17 that include fixes to various issues. More details can be found in the release notes.
The feature set for JDK 18 currently looks like this:
Developers are encouraged to report bugs through the Java Bug Database.
On the road to Spring Cloud 2021.0.0, the second milestone release, named Jubilee, has been made available with dependency upgrades and fixes on various Spring Cloud sub-projects such as Spring Cloud Sleuth, Spring Cloud Commons and Spring Cloud Kubernetes. Spring Cloud 21.0.0-M2 is compatible with Spring Boot 2.6.0-M3.
Red Hat has released WildFly 25.0.0.Final with full support for JDK 17 and the WildFly Elytron security layer. Other new features include: support for the OpenTelemetry specification; the ability to secure deployments using OpenID Connect; support for MicroProfile Health 3.1 and MicroProfile Reactive Messaging 2.0 specifications; and the ability to check environmental variables as well as system properties during server configuration. InfoQ will follow with a more detailed report.
Quarkus 2.3.0.Final has been released with new features such as: a development service for Neo4J; connect with Panache; new annotations,
@QuarkusMainIntegrationTest, to provide test support for CLI applications; a new MongoDB Liquibase extension,
quarkus-liquibase-mongodb, to support migrations from Liquibase to MongoDB; and support for hibernation interceptors.
Developers interested in upgrading their Quarkus 2.2 applications to Quarkus 2.3 can follow this migration guide.
En route to MicroProfile 5.0, the MicroProfile Working Group has provided the first release candidate which includes the latest updates to the eight specifications developed by the community:
These specifications will be aligned with Jakarta EE 9.1.
Open Liberty 18.104.22.168-beta has been released, offering the Java community two packages: all beta features and Jakarta EE 9.1 Beta Features. The first introduces the ability to configure Open Liberty 22.214.171.124-beta applications to modify (add, add, overwrite, delete) response headers. The latter removes the
webProfile-9.0 convenience features, originally introduced with Open Liberty 126.96.36.199-beta, in favor of their Jakarta EE 9.1 counterparts.
The Mockito team released version 4.0 of the mocking framework with the removal of classes and / or methods that have already been declared obsolete. This listing includes:
org.mockito.MockedStatic.verify(), among others. These classes and / or methods have been refactored or served as aliases for other classes and / or methods.
It has been a busy week for the Apache Camel team as they have provided one-off releases for Camel and Camel Quarkus.
Maintaining alignment with Quarkus, Camel Quarkus version 2.3.0 has been released with Quarkus 2.3.0.Final and improved test coverage.
Minor versions of Camel version 3.12.0 and version 3.7.6 have been made available to the Java community. In addition to improvements and bug fixes, there are 206 and 15 new features respectively.
Jelastic PaaS is acquired by Virtuozzo
After a ten-year partnership, Virtuozzo acquired Jelastic PaaS. The platform and application management capabilities offered by Jelastic combined with the core technology stack offered by Virtuozzo have the potential to create infrastructure-as-a-service (IaaS) -based products, the platform in As a Service (PaaS), Content as -a-Service (CaaS), and Everything-as-a-Service (XaaS).