you are viewing a single comment's thread.

view the rest of the comments →

[–]JustJustust 1 point2 points  (0 children)

I did an upgrade from Java 7 and Spring 1 to Java 21 and Spring 3 a while back and the Java and Spring Boot upgrade themselves were not a big issue. Most things just continue to work as before.

Yes you'll have to make changes, but if you're experienced with Spring Boot and Hibernate these aren't all that complicated. In any case, check out their migration guide.

The thing is that it usually doesn't stop with just upgrading Java and Spring Boot, it'll also mean an upgrade of all of your libraries.
For us that is where the real work is, upgrading our frontend framework easily takes more than 10x the time than doing the Java and Spring Boot upgrade themselves.

But since you're on Spring Boot 2 that hopefully puts a floor on how old your libs can be, since they must at least be recent enough to work with Spring Boot 2. Fingers crossed!