Language support

Move every Spring Boot service from 2.x to 4.x in one coordinated run.

Spring Boot version upgrades, Jakarta namespace migration, Spring Security modernization, and Java 17/21/25 alignment across hundreds of services.

Spring Boot upgrades that survive a polyglot estate.

Spring Boot upgrades break consistently and quietly. Recipes coordinate the change across every service that depends on the framework.

A “Migrate to Spring Boot 4.0” recipe run on JHipster repositories, showing reviewable code diffs.

Compiler-accurate by default.

Every Spring annotation, configuration class, and bean wiring is parsed into a compiler-accurate model. Recipes resolve symbols across modules instead of pattern-matching strings.

Concrete Spring Boot migration paths.

Every path below is a recipe or recipe chain shipped today.

Version upgrade
  • Spring Boot 2.x → 3.x The big jump. Jakarta namespace migration, Spring Security 6, configuration property renames, and removed APIs.
  • Spring Boot 3.x → 4.x Latest major. Recipes target the API changes, dependency alignment, and configuration shifts between 3.x and 4.0.
  • Java alignment (17 / 21 / 25) Recipes coordinate the Java version upgrade alongside the Spring Boot jump so language features and dependency baselines stay aligned.
Framework
  • javax → jakarta Jakarta EE namespace migration across imports, dependencies, and APIs. The canonical Spring Boot 3 prerequisite.
  • Spring Security modernization Lambda DSL adoption, removed APIs, and authentication configuration changes through Spring Security 6.
Configuration
  • application.properties migration Renamed and removed configuration properties updated across application.properties and application.yml files.
Dependencies
  • Third-party dependency updates Spring-module and third-party dependency versions aligned to the target Spring Boot baseline, with transitive resolution.
Tests
  • JUnit 4 → JUnit 5 Annotation mapping, lifecycle conversion, and Maven or Gradle dependency updates run alongside the framework upgrade.
  • JUnit 5 → JUnit 6 The current hop, run alongside the framework upgrade for estates already on JUnit 5.x.
Our developers now spend less time worrying about legacy code and more time focusing on value-driven work.
Jason Simpson VP of Engineering, Choice Hotels Read the case study

Spring Boot migration, answered.

For most teams, automation via semantic code transformations is more effective than manual repo-by-repo upgrades. Spring Boot 3.x introduces significant framework updates including Jakarta EE namespace shifts, which are difficult to apply consistently by hand at scale. Manual upgrades break down due to inconsistent baselines, shared libraries, and varying test coverage.

Upgrade in steps instead of one large migration. Each step is a smaller change to review, and you can track which services have finished across the portfolio.

A central team defines the migration rules once. The platform applies them the same way in every repository, and each service team reviews and merges its own pull requests.

Yes, when automation uses semantic code understanding rather than text-based search/replace. Semantic engines like OpenRewrite analyze code structure directly, enabling safe migrations validated through existing test suites. The same applies when a coding agent starts the migration, because a recipe still makes the edits.

Yes. Jakarta migrations involve widespread, consistent API and package changes, which makes them a good fit for automation. OpenRewrite provides dedicated recipes that update imports, dependencies, and APIs.

Yes. A coding agent working with Moderne can run the Spring Boot migration recipes across your services. The recipes handle the changes that are the same in every service, like the javax to jakarta namespace move and renamed configuration properties. The agent’s tokens and your engineers’ review time go to what’s specific to each service, like custom security configuration. When a change repeats across services, such as moving off an internal starter, the agent can write a recipe in Java, test it, and run it on every service.

With automation, prepared teams finish in weeks or months. Manual repo-by-repo upgrades take years.

Move Spring Boot once. Then stay on the supported branch.