Quick revision
The short answer
I would run it as a programme with a clear sequence: inventory every service's versions, dependencies and blockers; upgrade the platform first, meaning internal starters, the company BOM and shared libraries; give teams OpenRewrite recipes, a migration guide and office hours; migrate in waves starting with pilot services, with progress tracked publicly; and set deadlines tied to the end of support of Boot 2, with exceptions handled explicitly and on record.
What to remember
In this answer, we organised a Boot 2 to 3 migration for 150 services as a programme. We built an inventory of versions, dependencies and blockers, migrated the platform first, gave teams OpenRewrite recipes, a migration guide and office hours, ran the migration in waves starting with pilot services and tracked progress on a public dashboard, and set deadlines tied to the end of Boot 2 support with an explicit, reviewed exception process.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would run it as a programme with a clear sequence: inventory every service's versions, dependencies and blockers; upgrade the platform first, meaning internal starters, the company BOM and shared libraries; give teams OpenRewrite recipes, a migration guide and office hours; migrate in waves starting with pilot services, with progress tracked publicly; and set deadlines tied to the end of support of Boot 2, with exceptions handled explicitly and on record.
Why this question is asked
Upgrading one service from Boot 2 to 3 is a technical task. Upgrading 150 services owned by 30 teams is an organisational one: teams have their own priorities, shared libraries block everyone, and without coordination the migration drags on for years while services run on unsupported versions. Interviewers ask this leadership question to see whether we can turn a large, tedious change into a plan that teams can follow and that finishes. In this answer, we will build the inventory, explain why the platform goes first, look at the support we give teams, plan the waves, and set deadlines and an exception process.
1Start With an Inventory
We cannot plan what we cannot see. The first step is an inventory of all 150 services: the Spring Boot version, the Java version, the Spring Cloud release train, and every dependency that matters for the migration. Much of it can be collected automatically, by scanning build files across repositories or reading software bills of materials from CI.
For each service we also record blockers: code that uses WebSecurityConfigurerAdapter or Spring Cloud Sleuth, libraries without a Jakarta version, internal libraries that are not yet migrated, Java 8 or 11 runtimes, and an estimate of test coverage. The result is a single table that tells us how big the job is and where the hard cases are.
| Service | Boot / Java | Blockers | Wave |
|---|---|---|---|
| orders-api | 2.7.18 / 17 | none | pilot |
| billing | 2.7.10 / 11 | Java 11 runtime, Sleuth | 1 |
| catalog | 2.5.4 / 11 | Springfox, circular beans | 2 |
| legacy-reports | 2.3.12 / 8 | no Jakarta version of report library | exception review |
2Platform First
Most services depend on shared code: internal starters for logging, security and tracing, a company BOM, client libraries for internal services and common utilities. If any of these is not ready for Boot 3, every service that uses it is blocked. So the platform team migrates them first, publishing Boot 3 versions of every internal starter and library and a platform BOM that imports the Boot 3 BOM.
Where possible, shared libraries are released in a form that supports both Boot 2.7 and 3 during the transition, or in parallel major versions, so teams can upgrade libraries before switching Boot. This step also produces the first real migration experience, which feeds the guide.
- Product services in wavespilot, then waves 1, 2, 3
- Recipes, guide and office hoursbuilt from the platform's own experience
- Shared libraries and client SDKsBoot 3 versions published
- Internal starters and platform BOMfirst to migrate
4 layers, from the top down. Step through them one at a time.
Nothing above can move until the layer below is ready.
3Give Teams Recipes, a Guide and Office Hours
Teams will do the work faster if it is mostly automated. We publish a company OpenRewrite recipe that combines the public Spring Boot 3 upgrade recipes with our own steps: moving to the new platform BOM, renaming internal properties and switching from old internal APIs. Running one command does most of the mechanical change and opens a pull request.
A migration guide, written from the platform and pilot experience, lists the steps in order, the common problems with fixes, and how to verify the result, such as running with the properties migrator and comparing behaviour in staging. Weekly office hours, where platform engineers help teams with their specific problems, unblock teams in minutes instead of days and reveal problems that should go into the guide or the recipe.
4Migrate in Waves, Tracked in Public
We start with a pilot wave of four or five services that cover different patterns: a simple REST service, one with Kafka, one with heavy JPA use, one with custom security. The pilot teams get close support, and everything they find improves the recipe and the guide. Then come waves of 20 to 40 services, grouped by readiness from the inventory, with the easiest first so the migration builds momentum and the hardest services benefit from the most mature tooling.
Progress is tracked on a public dashboard that reads the Boot version of every service automatically: how many are on 3.x, how many are in progress, and which are blocked and why. Visibility does a lot of work on its own; teams do not want to be the last red row, and leaders can see where to help.
- Pick services by readinessfrom the inventory
- Teams run the company recipepull request per service
- Fix tests, migrator, staging checkoffice hours for blockers
- Released and stable for a week?YesMark done on the dashboardNoRaise blocker, platform helps
- Feed lessons into guide and recipebefore the next wave
5 steps in order. Play them, or step through them one at a time.
5Deadlines and Explicit Exceptions
A migration without a deadline competes with feature work and loses. The natural deadline is the end of support: open-source support for Boot 2.7 ended in 2023, so services still on 2.x receive security fixes only through commercial support, if at all. We set company deadlines per wave, agreed with engineering leadership and tied to that risk, for example all customer-facing services within two quarters and everything else within three.
Some services will not make it, for example a legacy service whose reporting library has no Jakarta version. We handle these explicitly: the owning team requests an exception with a reason, a plan and a new date, and a named leader approves it, often with compensating measures such as commercial support, extra network isolation or a plan to retire the service. Exceptions are listed on the dashboard and reviewed monthly, so they are decisions, not forgotten corners.
6Follow-up questions
How do you get teams to prioritise the migration over features?
By making it cheap and visible. The recipe and guide make most migrations a few days of work, leadership agrees the deadlines and the capacity in planning, and the dashboard shows progress per team. Framing it as security risk, since unsupported versions stop getting fixes, also helps product managers accept the time.
What would you measure besides the number of migrated services?
Effort per service, which should fall from wave to wave as the tooling improves; incidents caused by the migration, which tell us whether the verification steps are good enough; and time blocked on shared libraries, which shows whether the platform-first step worked.
Should the platform team migrate services for the teams?
For the pilot, partly, because that is how the tooling is built. After that, owning teams should migrate their services, because they know the behaviour and must support it. The platform team helps with blockers and may take on orphaned services that have no active owner.
7Conclusion
In this answer, we organised a Boot 2 to 3 migration for 150 services as a programme. We built an inventory of versions, dependencies and blockers, migrated the platform first, gave teams OpenRewrite recipes, a migration guide and office hours, ran the migration in waves starting with pilot services and tracked progress on a public dashboard, and set deadlines tied to the end of Boot 2 support with an explicit, reviewed exception process.
Open with
I would run it as a programme rather than 150 separate upgrades. First an inventory: for every service the Boot, Java and Spring Cloud versions and the blockers, such as WebSecurityConfigurerAdapter, Sleuth, libraries without Jakarta versions and old Java runtimes, collected automatically from build files where possible.
Then, if they want more
Second, platform first: internal starters, the company BOM and shared client libraries get Boot 3 versions before any product team starts, because otherwise everyone is blocked on them.
Third, I make the work cheap for teams: a company OpenRewrite recipe that wraps the public Boot 3 recipes plus our own changes, a migration guide written from real experience, and weekly office hours.
Fourth, waves: a pilot of four or five services covering different patterns, then waves of twenty to forty grouped by readiness, easiest first, with each wave's lessons fed back into the recipe. A public dashboard reads every service's Boot version so progress and blockers are visible.
Finally, deadlines tied to end of support, since open-source support for 2.7 ended in 2023, agreed with leadership per wave. Services that cannot make it get an explicit exception with an owner, a reason, a new date and compensating measures, reviewed monthly, so nothing is quietly left behind.
About this answer
- Last updated
- 12 November 2026
- Versions it names
- Java 8, Spring Boot 3
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Spring Boot reference
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "You lead a Boot 2 to 3 migration for 150 services. How do you organise it?": https://scrivio-interview-library.netlify.app/spring-boot/boot-migrations/b3002208e0/