dapr / quickstarts

Dapr quickstart code samples and tutorials showcasing core Dapr capabilities
Apache License 2.0
1.02k stars 516 forks source link

Upgrade Java Quickstarters to Java 17 and Springboot 3.x #1042

Open amardeep2006 opened 1 week ago

amardeep2006 commented 1 week ago

Describe the feature

I noticed that Java examples can be improved by making following changes:

  1. Use Java 17 as baseline
  2. Upgrade example to use Springboot 3.x.x
  3. Use Java records instead of Lombok . One less dependency to manage.
  4. Start adding test cases (gradually) .

Please share your feedback on this. I am interested in sending PR if you are good with these suggestions.

amardeep2006 commented 1 week ago

I have raised a PR https://github.com/dapr/quickstarts/pull/1044

  1. Java Readme now correctly asks to use Java 17 as code base already needed Java17
  2. Upgraded springboot t 3.3.1
  3. Bumped up other dependencies as well.

I have not replaced Lombok . Will raise separate PR if needed.