r/java • u/olivergierke • Oct 21 '22
Spring Boot 3.0 RC1 available now
https://spring.io/blog/2022/10/20/spring-boot-3-0-0-rc1-available-now19
u/AlienVsRedditors Oct 21 '22
I’ve been using the milestones for sometime in our test environments and it’s really impressive how stable it has been.
8
Oct 21 '22 edited Oct 21 '22
Is it easy to just get going with native image and SB 3 or do you have to learn how to create those hints?. Im using things like eclipselink etc which I guess uses a lot of reflection.
2
u/Orffyreus Oct 21 '22
According to https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#samples JPA should work.
"The samples show the wide variety of tech that is working fine: Spring MVC with Tomcat, Spring WebFlux with Netty, Thymeleaf, JPA, and others. The Petclinic samples brings multiple technologies together in one application."
6
4
2
u/Wonnk13 Oct 21 '22
Cool, I've been away from the JVM since 2016ish. I should take a look and see what's changed.
2
u/za3faran_tea Oct 21 '22
Is it possible to just use Spring AOT without compiling to native (i.e. running on the JVM), in order to have quicker startup?
24
u/olivergierke Oct 21 '22
Be sure to also check out Sébastien's Twitter thread on all things native with Boot 3.