octocademy / spring-petclinic

A sample Spring-based application
Apache License 2.0
0 stars 0 forks source link

Upgrade to Java 21 and Spring boot 3.3.0 #1

Open chrisreddington opened 4 weeks ago

chrisreddington commented 4 weeks ago

In line with our application lifecycle policies, we need to upgrade this app from Java 17, and should consider targeting Java 21. This is also an opportunity to upgrade to spring boot 3.3.0.

Please do make suggestions on what changes may need to be made across the app to enable the transition, and we'll add them to the below plan.

Migration Plan

mona commented 4 weeks ago

It looks like the .devcontainer/DOCKERFILE specificies an ARG JAVA_VERSION that needs to be updated. The dockerfile is using sdkman, and JAVA_VERSION 21.0.3-ms could be a good fit based on my research.

chrisreddington commented 4 weeks ago

Great call, thanks @mona! Please keep me updated with any insights, but I'll assign this to myself and take a look.