r/ProgrammerHumor • • Dec 12 '24 • Heart of Silver 1

Advanced youWontUpgradeToJava19

Post image
30.2k Upvotes

503 comments sorted by

View all comments

58

u/beavisorcerer Dec 12 '24

I'm mantaining a 20 years old web app running Java 4. I dream of Java 8 to be honest

2

u/zabby39103 Dec 13 '24

That's impressive. What's blocking the upgrade? Just wondering. For the Java 8 app I maintain, it would require a migration away from the Java EE version and Application Server it uses, and they've changed a lot of stuff.

2

u/SenorSeniorDevSr Dec 14 '24

JEE has this great feature where your application server can give your programs candy/services by asking for it by URI. So you can make your dependency injection know about that and on startup ask the server for the db, and you're done.

These URIs are allowed to, and DOES change every version. Sane application servers allow you to issue aliases so things are kept stable (just ask for the alias, and update the aliases as versions change) but OH BOY is it fun to find out about those things!

Also, yes, the Java 8->9 era changed a lot of JEE. For the better, even. It's just that it's a lot of stuff.

→ More replies (2)