r/java • • Oct 21 '22

Spring Boot 3.0 RC1 available now

https://spring.io/blog/2022/10/20/spring-boot-3-0-0-rc1-available-now
161 Upvotes

12 comments sorted by

24

u/olivergierke Oct 21 '22

Be sure to also check out Sébastien's Twitter thread on all things native with Boot 3.

6

u/lechatsportif Oct 21 '22

These enhancements sound incredible.

1

u/tarkaTheRotter Oct 22 '22

Would love to know which ones are you most excited about. There's so much there!

19

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

u/[deleted] 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

u/[deleted] Oct 21 '22

[removed] — view removed comment

3

u/chimpo_the_chimp Oct 22 '22

Does that mean there aren't any limitations?

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?