Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights
Spring Framework 6.0 RC1, requiring Java 17+, migrates to Jakarta EE 9+, adds AOT compilation support, enables virtual‑thread execution via Project Loom, updates to modern containers like Tomcat 10 and Jetty 11, and introduces new features such as @HttpExchange client, RFC 7807 handling, and Micrometer observability.
Spring Framework 6.0 RC1 has been released.
The release requires Java 17 or higher and has migrated to the jakarta namespace, replacing the previous javax EE APIs.
It supports the latest web containers such as Tomcat 10 and Jetty 11, and the newest persistence framework Hibernate ORM 6.1. These features are available only for the Jakarta variants of the Servlet API and JPA.
A major change is the completion of AOT compilation support for the Spring application context, enabling optimized deployment and first‑class support for GraalVM native images.
Developers can also experiment with “virtual threads” from Project Loom (preview in JDK 19) by using a custom Executor implementation, preparing for future first‑class configuration.
Additional improvements include: @HttpExchange based HTTP client interfaces.
Support for detailed problem information following RFC 7807.
Micrometer‑based observability for the Spring HTTP client.
…
The team plans to release the first RC of Spring Boot 3.0 and the second RC of Spring Framework 6.0 next week, with a GA scheduled for November.
Release announcement: https://spring.io/blog/2022/10/12/spring-framework-6-0-goes-rc1
Download: https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC1
New features overview: https://github.com/spring-projects/spring-framework/wiki/What%27s-New-in-Spring-Framework-6.x/
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
