Quick revision
The short answer
First we assess which parts of the framework still add value that current Spring Boot does not provide, then replace the parts that duplicate Boot with standard features and thin starters, keeping only the genuinely company-specific pieces. The migration runs service by service with automated refactoring recipes and hands-on support from a platform team. Immediately, we reduce the key-person risk with documentation and more maintainers, and we set a rule that internal platforms must track upstream releases within a defined window.
What to remember
In this answer, we saw how an internal framework built on Spring can fall behind and block upgrades. We assessed which parts still add value against current Spring Boot, replaced duplicated parts with standard features and thin starters, reduced key-person risk immediately with documentation, pairing and new maintainers, migrated service by service with OpenRewrite recipes and platform support, and set a rule that internal platforms track upstream releases within a defined window.
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.
First we assess which parts of the framework still add value that current Spring Boot does not provide, then replace the parts that duplicate Boot with standard features and thin starters, keeping only the genuinely company-specific pieces. The migration runs service by service with automated refactoring recipes and hands-on support from a platform team. Immediately, we reduce the key-person risk with documentation and more maintainers, and we set a rule that internal platforms must track upstream releases within a defined window.
Why this question is asked
Ten years ago, building a company framework on top of Spring was often a sensible decision: Spring Boot was new, and teams needed configuration, monitoring and security conventions that the ecosystem did not provide yet. Since then Spring Boot has absorbed most of those ideas, and the framework that once sped teams up now holds them back. Interviewers ask this question at senior levels because it combines technical assessment, risk management and organisational change. In this answer, we will see how the framework became a problem, assess what to keep, address the key-person risk right away, plan the migration, and put a rule in place so it does not happen again.
1How a Helpful Framework Becomes a Blocker
Internal frameworks usually wrap Spring in their own abstractions: their own configuration loader, their own way of registering beans, a custom HTTP client, a homegrown security filter chain. Every abstraction depends on Spring internals as they were when it was written. When Spring Boot changes those internals, for example the move from javax to jakarta packages in Boot 3 or the configuration and HTTP client changes in later versions, the framework must be updated before any service can upgrade.
With only two people who understand it, those updates queue up. The framework falls one, then two major versions behind, and every service built on it is stuck on an old Boot version, missing security fixes and new Java features. The two people become a single point of failure: if one leaves, the company may be unable to patch a critical vulnerability in time.
2Assessing What Still Adds Value
Before deciding anything, we inventory the framework's features and compare each with what current Spring Boot provides. Most of the time, the result is that much of the framework is now duplicated by standard features, a small part is a thin layer of company conventions, and a few pieces are genuinely specific to the business.
I would do this assessment in a few weeks with the two experts and a couple of engineers from consuming teams, and present it as a table everyone can read. It turns a vague feeling that the framework is old into a concrete list of what to replace, what to keep and how much work each is.
| Framework feature | Current Boot equivalent | Decision |
|---|---|---|
| Custom config loader | @ConfigurationProperties, config import | Replace with standard |
| Homegrown health and metrics | Actuator and Micrometer | Replace with standard |
| Custom HTTP client wrapper | RestClient, HTTP interface clients | Replace, defaults in a starter |
| Security filter for company tokens | Spring Security resource server | Keep as thin starter config |
| Audit trail for regulated data | No direct equivalent | Keep, modernise, document |
3Reducing Key-Person Risk Now
The migration will take a year or more, but the key-person risk exists today. So in parallel with planning, I would make the two experts' knowledge transferable: written architecture notes for each module, recorded walkthroughs, and pairing sessions where two or three additional engineers make real changes to the framework with the experts reviewing.
I would also protect the experts' time. If they are also on feature teams, they are probably the bottleneck for every framework issue. Moving them, with the new maintainers, into a small platform team that owns the framework and the migration gives them room to teach and to work on the plan rather than firefight.
4Migrating Service by Service With Tooling
We do not rewrite all services at once. The target is a set of thin company starters on standard Spring Boot, covering the parts we decided to keep. Each service is migrated on its own, so it can go at its own pace and roll back on its own.
Most of the mechanical work can be automated. OpenRewrite, an automated refactoring tool, applies recipes to source code: it can replace the framework's annotations with Spring's, rename packages, update configuration keys and upgrade Spring Boot versions using its published recipes. The platform team writes recipes for our framework's specific patterns, tests them on a few services, and then runs them across the fleet, opening a pull request per repository. Teams review and finish the remaining manual changes with help from the platform team, for example in scheduled migration weeks where a platform engineer pairs with each team.
- Run migration recipesannotations, packages, config keys, Boot version
- Fix remaining manual changeswith a platform engineer pairing
- Run tests and a canary deploycompare errors and latency
- Healthy on standard Boot?YesRemove framework dependencyNoRoll back, improve the recipe
- Record the service as migratedprogress dashboard for leadership
5 steps in order. Play them, or step through them one at a time.
5A Rule So It Does Not Happen Again
The underlying cause was not the framework itself but the lack of a rule that it must keep up with Spring. I would set one: any internal platform library must support a new Spring Boot minor release within, say, three months of its release, and a new major within six. The platform team's success is measured partly by that window.
This rule naturally keeps internal layers thin, because a thin starter on top of Boot is easy to keep current, while a thick framework that replaces Boot's internals is not. It also gives leadership a clear signal: if the window is missed, the platform needs more people or a smaller scope.
6Follow-up questions
Why not freeze the framework and build new services on plain Spring Boot?
That stops the problem from growing but leaves every existing service on an old, unpatched stack, with the same two people as the only experts. It is a reasonable first step for new work, but the existing services still need a migration plan, or the security and staffing risk remains.
How do you convince teams to spend time on the migration?
By making it cheap and showing the benefit. Automated recipes do most of the work, a platform engineer helps with the rest, and the result is a service on current Spring Boot with faster builds, current security patches and features such as virtual threads. Leadership support to reserve migration time in roadmaps is also needed.
What would you report to leadership?
The risk in plain terms (unpatched versions and two key people), the plan with phases and dates, the share of services migrated each month, and the time to apply a critical security fix across the fleet before and after. That last number is often the most persuasive.
7Conclusion
In this answer, we saw how an internal framework built on Spring can fall behind and block upgrades. We assessed which parts still add value against current Spring Boot, replaced duplicated parts with standard features and thin starters, reduced key-person risk immediately with documentation, pairing and new maintainers, migrated service by service with OpenRewrite recipes and platform support, and set a rule that internal platforms track upstream releases within a defined window.
Open with
I would treat this as both a technical and a risk problem. First, the risk: only two people understand a framework every service depends on, and it blocks upgrades, so we are likely missing security fixes.
Then, if they want more
Right away I would start knowledge transfer with written notes, walkthroughs and pairing, and form a small platform team with the two experts plus new maintainers. Then I would assess the framework feature by feature against current Spring Boot.
Usually most of it, like custom configuration loading, health checks, metrics and HTTP clients, is now covered by standard Boot features such as configuration properties, Actuator, Micrometer and RestClient, and only a few pieces, like a company token format or an audit trail, are really specific.
Those I would keep as thin starters on standard Boot; the rest I would replace. The migration would go service by service, with OpenRewrite recipes doing the mechanical changes such as annotations, packages, config keys and the Boot upgrade, and platform engineers pairing with teams on the rest, with canary deploys and rollback.
Finally I would set a rule that internal platforms must support new Spring Boot releases within a fixed window, for example three months for a minor release, which keeps internal layers thin and current.
About this answer
- Last updated
- 12 November 2026
- 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 Cloud documentation, Resilience4j documentation
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 "Ten years ago your company built an internal framework on top of Spring. Today it lags...": https://scrivio-interview-library.netlify.app/spring-boot/microservice-design/20adf498db/