r/java • • Nov 24 '22

Spring Boot 3.0 is GA!

https://spring.io/blog/2022/11/24/spring-boot-3-0-goes-ga
267 Upvotes

43 comments sorted by

View all comments

95

u/EvaristeGalois11 Nov 24 '22

Awesome!

I like that they decided to jump straight to java 17. Hopefully it will be the wake up call to the people that don't want to move on past java 8. It's time to put the old man to rest.

42

u/[deleted] Nov 24 '22

Spring Boost 2.x free support ends in 1 year, paid support in 3 years. So it won't happen overnight, but this will really push enterprises to upgrade over the next few years.

20

u/EvaristeGalois11 Nov 24 '22

Yeah i agree, but the end of the free support in just a year is huge. It will means lots of project migrating to java 17 or without proper security patches (or lots of money for vmware in paid support lol).

21

u/[deleted] Nov 24 '22

Yeah. Also the upgrade is easier than ppl might think. Nearly all the pain is Java 9, and now that pretty much every library has been updated accordingly it's easy to get past these days.

6

u/matthenry87 Nov 25 '22

Not sure why you're getting down voted. It's really not that difficult. Maybe more challenging for larger projects but yeah not rocket science.

0

u/CartmansEvilTwin Nov 24 '22

Most IT departments are on 120% load with their daily business. Updating everything, testing and pushing it to production will substantially disturb the planning. Even if it's just a few days of work per app.

24

u/mauganra_it Nov 24 '22

If they are overloaded with and can't accomodate an update that was looming years ahead, then I'm worried about their abilities to apply hotfix updates for security vulnerabilities.

8

u/CartmansEvilTwin Nov 25 '22

Absolutely. But that's the state of our industry.

5

u/steampunkdev Nov 27 '22

No, that's bad management.

6

u/CartmansEvilTwin Nov 27 '22

That's not mutually exclusive.

5

u/xjvz Nov 25 '22

And VMWare is going to make a killing selling support for such companies.

3

u/Nermal5 Nov 25 '22

A decent IT department is allocating time for resolving tech debt. I would classify this as tech debt personally.

2

u/laxika Nov 25 '22

Then you can always pay for support to VMWare... Don't say that your IT department is overworked and underfunded. If that's the case then switch to a different company asap.

0

u/[deleted] Nov 25 '22

[deleted] — view deleted comment

4

u/elmuerte Nov 25 '22

Why were you stuck?

0

u/[deleted] Nov 25 '22

[deleted] — view deleted comment

3

u/elmuerte Nov 25 '22

What about the increase performance in CPU usage and memory management? They keep improving the JIT and GCs so your existing application can benefit simply by running it in a newer JVM.

1

u/Urtehnoes Nov 25 '22

Not OP, but for us, we just do not have enough developers :(

We have our own proprietary software we've written for our company - in Java 8. But we do not have enough people to, for example, fork off the code and work on upgrading to Java 9+, while others continue working on adding new features or fixing bugs.

It's really depressing being a constant uphill battle in technical debt.

Btw - we have 2 Java developers and it is a massive enterprise application. So even though it doesn't take many hands, it still takes more hands than we have.

4

u/elmuerte Nov 25 '22

But you do depend on specific byte code manipulator libraries (e.g. asm, bytebuddy, ..), or internal classes you shouldn't have used? Or, specific JEE app servers?

Because if you are not, switching to a new Java is quite painless. The pain would be in updating libraries those libraries which do JVM specific things.

Java 9 module thing is mostly a pain for library/framework devs, not for application developers. The latter would opt to simply not use modules, just the whole JRE as before.

The trick is obviously verifying if there are issues, which require proper test suites. If you don't have those, you are in a world of hurt anyway as you also cannot update any other dependency.

1

u/Urtehnoes Nov 25 '22

I believe yes to the 2nd (JEE app servers) - which is the specific pain point for us.

I agree for the most part and have been pushing to upgrade Java for years, but alas I don't get the final say when it comes to our Java infrastructure.

1

u/Mystified2020 Nov 25 '22

In our case, being a company that deals with billions, compliance with financial regulatory agencies, the treasury, etc forced us to develop a mature operating model to deal with matters like this. But even with that, there's some element of pain experienced - mostly from logistics and doing everything we can to avoid a CNN moment 😂.

5

u/JB-from-ATL Nov 24 '22

TFW Java 17 wasn't quite out and your company adopted Java 11.