Quick revision
The short answer
I would support one default Java framework, usually Spring Boot, with full platform support, and allow one or two alternatives only for clearly defined needs, such as Quarkus for functions that must start fast. Any other choice is an exception that needs a decision record, a named owner and a plan to integrate with the platform. The reason is that every supported framework multiplies the cost of shared libraries, upgrades and security response, and the policy should be reviewed every year with real data.
What to remember
In this answer, we saw that supporting a framework means templates, integrations, shared libraries, upgrades and incident expertise, and that this work multiplies with every framework we add. So the policy has one default with full support, one or two supported alternatives with measurable criteria, and exceptions that need a decision record, a named owner, an integration plan and a review date. The default must be the easiest path, and the policy is reviewed every year using data on adoption, patch times, costs and developer feedback.
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 support one default Java framework, usually Spring Boot, with full platform support, and allow one or two alternatives only for clearly defined needs, such as Quarkus for functions that must start fast. Any other choice is an exception that needs a decision record, a named owner and a plan to integrate with the platform. The reason is that every supported framework multiplies the cost of shared libraries, upgrades and security response, and the policy should be reviewed every year with real data.
Why this question is asked
With 400 developers, framework choice stops being a personal preference and becomes an organisational cost. Every framework we support needs templates, security integration, observability, shared libraries, upgrade work and people who can answer questions at 3 a.m. during an incident. Interviewers ask this design question to see whether we can balance team autonomy against that cost, and whether we can write a rule people will actually follow. In this answer, we will look at what supporting a framework really costs, design the tiers of the policy, write the exception process, and set up the yearly review that keeps the policy honest.
1What It Costs to Support a Framework
Supporting a framework means much more than allowing it. It means a service template that creates a new project with our build, logging and deployment setup; starters or extensions for our authentication, secrets, tracing and metrics; versions of our shared libraries that work with it; documentation and training; and engineers on the platform team who can debug it.
Now think about a security incident like a serious vulnerability in a popular library. With one framework, the platform team prepares one upgrade path, tests it once and publishes it, and 150 services follow the same instructions. With four frameworks, they need four upgrade paths, four sets of tests and four kinds of expertise, and the slowest path decides how long the whole company stays exposed. The same multiplication happens at every major upgrade, for example a new Java LTS or a Jakarta EE namespace change.
So the cost does not grow with the number of services; it grows with the number of frameworks times the number of shared capabilities. That is the core argument for a small number.
| Shared capability | 1 framework | 3 frameworks |
|---|---|---|
| Service templates | 1 | 3 |
| Auth, tracing, metrics integrations | 1 set | 3 sets |
| Shared library variants | 1 | up to 3 |
| Paths for a security upgrade | 1 | 3, the slowest decides |
| Experts needed on call | a few | a few per framework |
2The Tiers of the Policy
I would write the policy as three tiers. The default tier holds one framework, for most organisations Spring Boot, because of its ecosystem, hiring pool and the knowledge already in the company. It gets full platform support: templates, starters, security, observability, golden-path documentation and help during incidents. Teams that choose it need no approval.
The supported alternative tier holds one or two frameworks with published criteria for when to use them. For example, Quarkus or Spring Boot native for serverless functions and scale-to-zero services that need cold starts under 200 ms, or Micronaut for small memory-constrained edge workloads. They get a template and the core integrations (authentication, logging, tracing, metrics), but fewer extras. The criteria are measurable, so a team can see whether it qualifies without a meeting.
Everything else is an exception. It is not forbidden, but it is the team's responsibility, and it comes with obligations. Notice that the tiers give a clear answer to most teams immediately and reserve discussion for the rare cases.
- Default: Spring Bootfull platform support, no approval needed
- Supported alternative: one or twocore integrations, published criteria such as cold start under 200 ms
- Exceptiondecision record, named owner, integration plan, review date
3 layers, from the top down. Step through them one at a time.
3Writing the Exception Process
An exception needs a short architecture decision record, a document of one or two pages that says what problem the team has, which options they considered, why the default does not fit, and what they accept by choosing something else. It needs a named owner, a person and a team, not just a service name, who is responsible for upgrades and security patches. And it needs a plan for platform integration: how the service will meet the same security, logging, tracing and deployment standards as everyone else.
I would also set a review date on each exception, for example after 12 months. At that point the exception either becomes a candidate for the supported tier, because several teams now need the same thing and the data supports it, or it stays an exception, or the service migrates back. The reason is that exceptions tend to outlive the people who made them. A service in an unsupported framework whose owner has left is exactly the one that stays vulnerable for months after an incident.
4Keeping the Policy Light Enough to Follow
A policy people resent will be worked around. So the default must be the easiest path, not just the approved one: a new service should be running in production within a day from the template. The exception process should take days, not months, and should be reviewed by a small architecture group that includes engineers from product teams, not only the platform team.
We should also be clear about what the policy does not control. It covers the application framework and the runtime. It does not need to dictate every library inside a service. Too much control makes good engineers leave; too little control leaves the platform team supporting a zoo.
5Reviewing the Policy Every Year
Once a year the architecture group reviews the policy with data. How many services use each framework, and how many exceptions exist? How long did each framework take to patch in the last security incident? What does startup and memory cost us on the platforms where it matters? What do developer surveys say about the default, and which requests for exceptions came up most often? The answers decide whether to add an alternative, retire one, or change the default's tooling.
For example, if five teams requested Quarkus exceptions for functions in one year, all for cold starts, that is a sign either to add it as a supported alternative or to invest in Spring Boot native support so the default covers the need.
6Follow-up questions
Why not let every team choose freely?
Because the cost of a framework is mostly shared, not local. The team that picks it saves time at the start, but the platform team, the security team and future owners pay for templates, integrations, upgrades and incident response. With 400 developers and people moving between teams, a small set of frameworks also lets engineers move and help each other without relearning the stack.
Why allow any alternative at all?
Because the default is not best for every workload, and forbidding alternatives pushes teams into unsupported workarounds. A small, explicit alternative tier with clear criteria lets us meet real needs such as fast cold starts while keeping the support cost bounded. It also gives the organisation experience with another framework in case the default ever has to change.
How do you measure whether the policy works?
I would track the share of services on the default and supported tiers, the number and age of exceptions, time to patch critical vulnerabilities per framework, the time from template to first production deploy, and developer satisfaction. If patch times differ widely between frameworks or exceptions pile up without owners, the policy needs attention.
7Conclusion
In this answer, we saw that supporting a framework means templates, integrations, shared libraries, upgrades and incident expertise, and that this work multiplies with every framework we add. So the policy has one default with full support, one or two supported alternatives with measurable criteria, and exceptions that need a decision record, a named owner, an integration plan and a review date. The default must be the easiest path, and the policy is reviewed every year using data on adoption, patch times, costs and developer feedback.
Open with
For 400 developers I would support one default framework, most likely Spring Boot because of the ecosystem, the hiring pool and what we already know, and I would make it the easiest path: a template, starters for our security, tracing and metrics, shared libraries and real support during incidents.
Then, if they want more
Then I would allow one or two alternatives for specific needs with measurable criteria, for example Quarkus or Spring Boot native for functions that need cold starts under a couple of hundred milliseconds. Those get the core integrations but less tooling. Anything else is an exception.
Teams can do it, but they write a short decision record, name an owner who handles upgrades and security patches, show how they will meet our logging, tracing and security standards, and agree to a review after a year. The reason for keeping the number small is that every framework multiplies the shared work.
In a security incident, one framework means one upgrade path; four frameworks means four, and the slowest one decides how long we stay exposed.
Once a year I would review the policy with data: adoption, the number and age of exceptions, patch times per framework, startup and memory costs where they matter, and developer feedback, and adjust the tiers from that.
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 official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
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 "Design a framework selection policy for an engineering organisation of 400 developers....": https://scrivio-interview-library.netlify.app/java/other-java-frameworks/932c09001a/