Scrivio Interview library
LeadershipPrincipal5 min read · updated 12 November 2026

Boot 4 modularises its auto-configuration into smaller technology-specific modules. As an architect for a large estate, how would you plan for such structural changes in a framework you depend on?

I would expect starter and artifact names to change and read the Boot 4 migration guide for the exact module names, but make the platform's BOM and internal starters absorb those changes so service teams edit as little as possible. Transition aids from the release are a temporary step, a pilot on a few representative services proves the path, recipes automate the rest, and keeping services close to current versions makes each structural change small and routine.

Why this question is asked

A framework restructuring is not a feature anyone asked for, but on a large estate it can cost months if it arrives unprepared. Spring Boot 4 splits the single large auto-configuration jar into smaller modules per technology, with matching starters. For one service that is an afternoon; for four hundred services it is a programme. Interviewers ask this of architects to hear how they turn a vendor's change into a predictable, cheap routine. In this answer, we will recap what modularisation changes, then go through how a platform absorbs it, how to use transition aids, how to roll out with a pilot and automation, and why the long-term answer is staying current.

1A Quick Recap of What Modularisation Changes

Until Boot 3, almost all auto-configuration lived in one jar, spring-boot-autoconfigure, and starters mostly pulled in third-party libraries. In Boot 4, auto-configuration is split into focused modules for each technology, such as web MVC, JDBC or Jackson, and starters are aligned with them. The goal is smaller applications and clearer dependencies: a service only carries the configuration code for what it uses.

The practical effects for us are that some starter names change, that class packages for auto-configurations move (so code that imports or excludes them by name must change), and that test support is split the same way. The exact artifact and package names belong to the migration guide, not to memory, so the first step of any plan is to read it and list what affects us.

2Letting the Platform Absorb the Change

On a large estate, service teams should not each discover these changes. Most organisations already have a platform BOM, a bill of materials that pins versions, and internal starters such as acme-web-starter that bundle what a typical service needs. Those are exactly the places to absorb structural change.

Step throughWhere a structural change should land
  1. Service codeshould change little: mostly excludes or imports by class name
  2. Internal startersacme-web-starter maps to the new Boot 4 modules
  3. Platform BOMpins Boot 4 and every aligned version
  4. Spring Boot 4new modules and starter names

4 layers, from the top down. Step through them one at a time.

The lower the layer that absorbs the change, the fewer teams have to touch it.

If acme-web-starter used to depend on spring-boot-starter-web, the platform team changes it to the new Boot 4 web starter and its modules, and a service that only depends on acme-web-starter changes one version number. That is the return on years of discipline about using internal starters. Services that bypass them pay more, which is a useful message to give teams before the next change, not during it.

3Using Transition Aids Only as a Step

Large releases often ship transition aids, for example a compatibility starter that brings back the old all-in-one behaviour so that applications start before they are fully migrated. Boot 4 offers something of this kind; check the release notes for its exact name and what it covers. These aids are valuable because they split the migration into two smaller moves: first upgrade with the aid, then remove it.

But there is a catch. A transition aid that stays forever becomes the next migration, usually removed in a later release with less documentation and less community help. So the plan should give it an end date, track which services still use it on the platform dashboard, and treat its removal as part of the same programme, not a someday task.

4Running a Pilot, Then Automating

Before touching hundreds of services, we pick a pilot of four to six that represent the estate: a plain REST service, one with JPA and Flyway, a Kafka consumer, one with Spring Security and OAuth, and the oldest, most unusual one. Migrating these by hand shows us the real list of changes, the gaps in the documentation and the problems with our own starters.

Step throughRolling out a structural upgrade
  1. Read the migration guidelist what affects our starters and code
  2. Update platform BOM and startersrelease candidate versions
  3. Pilot on representative servicesREST, JPA, Kafka, security, oldest
  4. Write recipes for repeated editsfor example OpenRewrite
  5. Pilot passes in production?
    YesRoll out in wavesNoFix starters or recipes
  6. Remove transition aidswith an end date

6 steps in order. Play them, or step through them one at a time.

Every manual edit that repeats in the pilot becomes an automated recipe. OpenRewrite, a tool that rewrites source code and build files from declarative recipes, already has Spring Boot migration recipes, and we add our own for internal starters and common patterns. Teams then get a pull request generated by the platform, run their tests and merge. With 400 services, saving 2 hours per service is 800 hours, so investing two weeks in recipes pays back quickly.

5Keeping Services Close to Current

The deeper lesson is that framework structure changes are routine. Spring Boot releases a minor version roughly every six months and each line has a limited support window, so changes of some size arrive every year. Estates that run several versions behind face many changes at once, with old blog posts as their only guide. Estates that stay within one or two minor versions face one change at a time, with fresh documentation and community fixes.

So the architecture plan should include a standing upgrade cadence, for example the platform BOM moving to each new Boot minor within a few weeks and services required to follow within a quarter, measured on a dashboard. Then Boot 4 modularisation is one item in that rhythm instead of a crisis.

6Follow-up questions

Should every team migrate at once?

No. The platform moves first, then the pilot, then waves of services, starting with the simplest and ending with the most unusual. Waves limit the blast radius and give the platform team time to fix starters and recipes between them.

How do you handle teams that do not use the internal starters?

They get the recipes and the guide, but they carry more of the work themselves. We use the moment to show the difference in effort and invite them onto the starters, because the next change will hit them the same way.

What if a key library is not yet compatible with Boot 4?

Then services that depend on it wait, and we track the library in the plan. We can help upstream, look for a replacement, or isolate it. It is a reason to keep the rollout in waves rather than a reason to stop the whole estate.

7Conclusion

In this answer, we saw how an architect turns a framework's structural change, like Boot 4's modular auto-configuration, into a routine. We expect names and packages to change and take the exact list from the migration guide, let the platform BOM and internal starters absorb most of the work, use transition aids only with an end date, prove the path with a pilot of representative services, automate repeated edits with recipes, and keep services close to current versions so each change stays small.

What to say in the interviewAbout 80 seconds aloud

Open with

I would start by reading the Boot 4 migration guide and listing exactly which starter names, artifacts and packages change for us, because I do not want the plan based on memory.

Then, if they want more

Then I would make the platform absorb most of it. If services depend on our BOM and internal starters, the platform team maps those starters onto the new Boot 4 modules and most teams change one version number.

Where Boot offers a transition aid, such as a compatibility starter, I would use it to split the move into two steps, but give it an end date and track who still uses it, so it does not become the next migration.

Before the estate moves, I would run a pilot on five or so representative services, a plain REST service, one with JPA, a Kafka consumer, a security-heavy one and the oldest one, and turn every repeated edit into an OpenRewrite recipe, so teams receive generated pull requests. Then we roll out in waves.

Long term, the real answer is cadence: framework structure changes are routine, and if services stay within a minor version or two of current, each change is small, well documented and cheap.

About this answer

Last updated
12 November 2026
Versions it names
Spring Boot 4
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 "Boot 4 modularises its auto-configuration into smaller technology-specific modules. As...": https://scrivio-interview-library.netlify.app/spring-boot/auto-configuration/532ddef6c5/