Agents Lookup

Use cases / Software development

Upgrade Java applications to a newer JDK

An agent updates build files, dependencies and deprecated APIs to move an app to a newer Java version, then builds and tests it.

DifficultyIntermediate
Setup time1 day
CategorySoftware development

The use case

Many companies still run services on Java 8 or 11 because upgrades are tedious: dependency bumps, removed APIs, build plugin changes. Amazon Q Developer's transformation feature and GitHub Copilot's modernization tooling for Java plan the upgrade, edit the build files and source, build and run tests, and iterate on failures. The output is a set of changes plus a summary of what was done and what still needs work. Developers still review the diff, run integration and performance tests, and roll out the upgraded service gradually rather than all at once.

Example workflow

  1. Choose a service with a working build and tests
  2. Run the upgrade agent on a branch
  3. Review the change summary and dependency bumps
  4. Run integration and performance tests
  5. Roll out gradually with a rollback plan

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: