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.

Programmer DD
Programmer DD
Programmer DD
Spring Framework 6.0 RC1: Java 17+, Jakarta EE, AOT & Virtual Thread Highlights

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/

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Virtual ThreadsAoTSpring Frameworkjava-17jakarta-ee
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.