Quick revision
The short answer
I would decide on the whole cost of living with the framework for ten years, not on startup benchmarks: ecosystem breadth, hiring and existing skills, migration cost, vendor support, release cadence and support lifetimes. Standards-based APIs reduce some lock-in, but most real lock-in sits in operations, libraries and people, so I would pilot the candidates with real services and measure productivity and operational behaviour. The result may differ per workload, but the company should support only a small number of stacks.
What to remember
In this answer, we saw that a ten-year framework decision should be framed around its purpose and judged on ecosystem, skills, migration cost, support and cadence as well as runtime efficiency. Standards reduce some lock-in, but most lock-in lives in operations, libraries and people. A fair pilot with real services gives the evidence, and the outcome should be one default stack with at most one exception for clear workloads, reviewed on a schedule.
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 decide on the whole cost of living with the framework for ten years, not on startup benchmarks: ecosystem breadth, hiring and existing skills, migration cost, vendor support, release cadence and support lifetimes. Standards-based APIs reduce some lock-in, but most real lock-in sits in operations, libraries and people, so I would pilot the candidates with real services and measure productivity and operational behaviour. The result may differ per workload, but the company should support only a small number of stacks.
Why this question is asked
A framework bet shapes hiring, training, tooling, security patching and the cost of every service for years, so it is a leadership decision rather than a technical preference. It is also a decision where teams argue from benchmark charts and personal taste. Interviewers ask this to see whether we can run a fair, evidence-based decision and keep the organisation from ending up with five stacks. In this answer, we will set up the decision, look at the criteria that matter over ten years, think about lock-in honestly, run a pilot with real services, and decide how many stacks to allow.
1Framing the Decision Before Comparing Anything
First we write down why we are reconsidering. Perhaps cloud costs grew and someone believes faster startup and less memory would cut them, or a vendor contract is ending, or teams find the current stack slow to work with. The reason matters, because it tells us which criteria carry the most weight. If the goal is lower memory for 300 small services, startup and footprint matter a lot. If the goal is developer speed, ecosystem and skills matter more.
We also name who decides and how. A small group with an architect, two or three experienced engineers from different product teams, someone from operations and someone from security collects evidence, and a named leader makes the call. Writing this down early prevents the decision from being reopened every quarter.
2The Criteria That Matter Over Ten Years
Startup time and memory are easy to measure, which is why they dominate blog posts. But over ten years, other costs are larger. Ecosystem breadth means how many integrations, libraries, answers and examples exist for the problems we will meet. Hiring and existing skills decide how fast new people become productive; if 200 engineers know Spring, switching costs months of reduced output. Migration cost covers the existing services we would have to move or keep alive in two stacks.
Vendor support, release cadence and support lifetimes matter because every stack needs regular upgrades. Spring Boot ships a minor release about every six months, each with a limited open source support window and longer commercial support. Quarkus releases frequently and has LTS streams, with Red Hat offering a commercially supported build. Jakarta EE runtimes such as Open Liberty or WildFly have their own cadence, and commercial products such as JBoss EAP or WebSphere Liberty offer long support. Exact windows change, so we check the current policies and compare them with how often our teams can realistically upgrade.
| Criterion | How we measure it |
|---|---|
| Ecosystem breadth | Integrations we need: messaging, cloud SDKs, security, data |
| Hiring and skills | Current skill survey, job market data, ramp-up time |
| Migration cost | Services affected times estimated weeks each |
| Support and cadence | Support window per release, commercial options |
| Runtime efficiency | Startup, memory and cost in our own pilot |
| Developer productivity | Time to first feature, build and test time |
3Being Honest About Lock-in
Jakarta EE and MicroProfile are standards with several implementations, and code written only against those APIs can move between runtimes. That reduces one kind of lock-in. But in practice, most lock-in is not in the annotations. It sits in the build plugins, the testing tools, the observability setup, the deployment pipelines, the runbooks, the libraries we chose for messaging and security, and above all in what our people know.
So a standards-based stack does not make us free, and a non-standard stack does not trap us forever. Spring Boot itself uses Jakarta standards such as Servlet and JPA, and Quarkus uses many Jakarta and MicroProfile APIs. The practical protection against lock-in is clean architecture inside each service, with business logic separated from framework code, plus well-defined API contracts between services.
4Running a Pilot With Real Services
Evidence beats opinion, so we pilot. We pick two or three real services that represent our workloads, for example a REST service with a database, a message consumer and a small function that scales to zero. One team builds or ports each service in each candidate stack over a fixed time, say six weeks, and deploys it to a realistic environment.
We measure what we listed earlier: time to the first working feature, build and test times, startup and memory in our cluster, the cost of running it, how hard it was to add our security, logging and tracing standards, and how the engineers felt. Notice that we measure the operations side as well, because a stack that is pleasant to write but painful to run costs more over ten years.
- State the reason and the goalCost, support, productivity
- Agree criteria and weightsBefore seeing any results
- Pilot real services in each stackFixed time, same teams
- Measure productivity and operationsOur cluster, our standards
- Decide default and exceptionsAt most two supported stacks
- Review the decision every two yearsAgainst the same criteria
6 steps in order. Play them, or step through them one at a time.
5Deciding per Workload, but Limiting the Stacks
The pilot may show that one stack is better for most services and another is clearly better for a niche, such as Quarkus native images for functions where cold start dominates. It is reasonable to allow that, but every supported stack has a fixed cost: a platform team that maintains starter templates, upgrades, security patching, observability integration and training. So I would choose one default stack, allow at most one more for clearly defined workloads, and require a written exception for anything else.
For example, a company with 200 engineers and mostly Spring Boot services might keep Spring Boot as the default because of skills and ecosystem, use Spring Boot's own native image support or tuning where memory matters, and allow Quarkus only for scale-to-zero functions. The decision, the evidence and the review date go into an architecture decision record.
6Follow-up questions
Would you rewrite existing services if you chose a new stack?
Usually not. Rewriting working services rarely pays for itself. I would build new services on the chosen stack and move existing ones only when they need a major change anyway, or when the old stack's support ends.
How do you stop the pilot from being biased?
We agree the criteria and weights before the pilot, give each stack comparable teams and time, and include people who are sceptical of each option. We also publish the raw measurements, not only the conclusion.
What role do benchmarks play then?
They are one input, measured in our own pilot with our own workloads. Published benchmarks often test a hello-world endpoint, and the difference shrinks or changes once a real service adds security, a database and observability.
7Conclusion
In this answer, we saw that a ten-year framework decision should be framed around its purpose and judged on ecosystem, skills, migration cost, support and cadence as well as runtime efficiency. Standards reduce some lock-in, but most lock-in lives in operations, libraries and people. A fair pilot with real services gives the evidence, and the outcome should be one default stack with at most one exception for clear workloads, reviewed on a schedule.
Open with
I would first write down why we are reconsidering, because the reason decides which criteria matter most. Then I would agree the criteria and their weights before looking at any results.
Then, if they want more
Startup time and memory are on the list, but over ten years the bigger costs are elsewhere: ecosystem breadth, hiring and the skills we already have, the cost of migrating or running existing services in two stacks, vendor support, release cadence and how long each release is supported compared with how often our teams can upgrade.
I would also be honest about lock-in. Jakarta EE standards help code move between runtimes, but most real lock-in is in build tooling, observability, deployment, libraries and people's knowledge, and clean architecture inside services protects us more than any annotation set.
Then I would run a pilot: two or three real services, such as a REST service with a database, a consumer and a small function, built in each candidate stack by comparable teams over a fixed time, measuring time to first feature, build times, runtime cost and how hard it was to meet our security and observability standards.
The result can differ by workload, but every supported stack costs platform effort, so I would pick one default, allow at most one exception for a clear niche, record it in a decision record, and review it every couple of years.
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
- Jakarta EE specifications
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 "Your company is reconsidering its framework bet for the next ten years: Spring Boot...": https://scrivio-interview-library.netlify.app/java/jakarta-ee-platform/9d66776797/