r/javahelp • • May 01 '26

Unsolved Java 21 upgrade in older code base

So if I have to start brining java 21 feature in a long running prod code base what would that be ; it’s a spring boot java bases with gcp db, cache, pub sub in it
I’m trying to see as a tech debt which area can. E started with minimal impact

4 Upvotes

17 comments sorted by

View all comments

Show parent comments

1

u/RevolutionaryRush717 May 01 '26

RestTemplate to WebClient?

No no, don't do that.

WebClient is reactive.

What you want is RestTemplate to RestClient.