Quick revision
The short answer
I would decide from outcomes and evidence, not from a favourite runtime: inventory all 120 services by runtime, traffic and change rate, compare options such as a Jakarta EE or MicroProfile runtime, Quarkus, or Spring Boot by migration cost per service as well as target merits, and keep the JAX-RS API wherever it cuts rewrite cost because it is portable across Jersey, RESTEasy and Quarkus. Then I would govern it with a supported-runtime list, end-of-support dates, paved-road templates, funded migration waves, a freeze on new services for retiring runtimes, measured progress, and exceptions that have owners and expiry dates.
What to remember
In this answer, we treated runtime convergence as a decision and a programme. We started from measurable outcomes such as patch speed, cost and hiring, inventoried the 120 services by runtime, traffic, change rate and features, and compared Jakarta EE, MicroProfile, Quarkus and Spring Boot by migration cost per service as well as by their merits. We kept the portable JAX-RS API to avoid rewrites, and governed the move with a supported-runtime list, end-of-support dates, paved-road templates, funded waves, a freeze on new services on retiring runtimes, regular measures, and exceptions with owners and expiry dates.
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 from outcomes and evidence, not from a favourite runtime: inventory all 120 services by runtime, traffic and change rate, compare options such as a Jakarta EE or MicroProfile runtime, Quarkus, or Spring Boot by migration cost per service as well as target merits, and keep the JAX-RS API wherever it cuts rewrite cost because it is portable across Jersey, RESTEasy and Quarkus. Then I would govern it with a supported-runtime list, end-of-support dates, paved-road templates, funded migration waves, a freeze on new services for retiring runtimes, measured progress, and exceptions that have owners and expiry dates.
Why this question is asked
Five-year platform decisions fail more often from governance than from the technical choice. A company can pick a perfectly good runtime and still end with five runtimes instead of four, because the migration had no funding, no deadline and no way to say no. Interviewers ask this leadership question to hear how we turn a proposal into a decision that people trust and then into a programme that actually finishes. In this answer, we will start from the outcomes the change must deliver, build the inventory, compare the options with migration cost included, see why keeping the JAX-RS API matters, and then design the governance and the measures that keep the programme honest.
1Start From Outcomes, Not From a Runtime
Converging is not a goal in itself. The reasons to do it are concrete: how fast we can patch a critical CVE across all services, our security posture, startup time and memory cost in the cloud, the ease of hiring engineers who know the stack, and the price of support contracts for commercial servers such as WebLogic. So the first document states these outcomes with numbers we can measure today. For example, patching a Jersey vulnerability currently takes 9 weeks across four runtimes because each needs a different procedure; we want it under 2 weeks. WebLogic licences cost a known amount per year. Our Spring Boot services start in 8 seconds and the WildFly ones in 25.
2Inventory the 120 Services
Next we need facts about each service, not just a count per runtime. For every service we record its runtime and version, its traffic, how often it changes (commits and deploys per month), its business criticality, which server-specific features it uses (EJB, JMS on WebLogic, server-managed transactions), and its owning team. A typical result might look like the table below.
| Runtime | Services | Notes | Migration effort |
|---|---|---|---|
| WebLogic | 28 | EJB and JMS in 19 of them, licence renews in 2 years | high |
| WildFly | 22 | mostly plain JAX-RS and CDI | low to medium |
| Tomcat + Jersey | 41 | many still on Jersey 2 and javax | medium (jakarta move) |
| Spring Boot + Jersey | 29 | newest services, highest change rate | low |
The change rate column turns out to be the most useful. A service with a deploy a year and low traffic may cost more to migrate than to keep on a frozen runtime until it is retired, while a service deployed daily benefits from a better platform every day. So the inventory gives us an order, not just a target.
3Comparing Options With Migration Cost Included
The realistic targets are a Jakarta EE or MicroProfile runtime such as Open Liberty or WildFly, Quarkus, or Spring Boot, either keeping Jersey or moving resources to Spring MVC. Each has merits as a destination: Quarkus starts fast and uses little memory, Spring Boot has the largest ecosystem and hiring pool, a Jakarta runtime is closest to what most of our services already are.
But proposals usually compare only the destinations, and the cost lives in the journey. So we estimate migration effort per service for each option, using a sample: migrate two or three representative services from each runtime to each candidate, timebox it, and record the weeks taken and what broke. If moving a WebLogic service with EJB timers to Quarkus takes 6 weeks and to Open Liberty takes 2, that difference multiplied by 28 services matters more than a benchmark.
4Keep the JAX-RS API Where It Saves Rewrites
Most of our 120 services already use the JAX-RS annotations. That API is portable: the same @Path resources run on Jersey, RESTEasy, Quarkus REST and Jersey inside Spring Boot. Keeping it means a migration changes the runtime and the build, not every endpoint, its tests and its clients. Moving to Spring MVC instead means rewriting the web layer of every service, which is a large cost for little user-visible benefit, unless a service is being rewritten anyway.
So a sensible decision often has two layers: one target runtime, or at most two, and the rule that the web layer stays on JAX-RS unless a team has its own reason to change.
5Governing the Programme
The decision is recorded in a decision record with the outcomes, the options, the evidence and the dissent. Then the governance has a few parts that work together. A supported-runtime list says which runtimes are current, which are retiring and their end-of-support dates. A paved road, a template that creates a new service on the target runtime with security, observability and CI already set up, makes the right choice the easy one. From a set date, new services on retiring runtimes are frozen out: the CI template for them is removed.
Migration happens in funded waves of perhaps 15 to 25 services, ordered by value and risk from the inventory, with a platform team helping each owning team. Funding matters most: if migration competes with feature work in every sprint, it never happens. Exceptions are allowed, for example a WebLogic service due to be retired in 18 months, but each exception has an owner, a reason and an expiry date, and is reviewed when it expires.
- State outcomes with numberspatch time, cost, startup, hiring
- Inventory servicesruntime, traffic, change rate, features
- Pilot migrations per optionmeasure weeks per service
- Decision recordtarget runtime, keep JAX-RS
- Supported list and paved roadfreeze new services on retiring runtimes
- Funded migration wavesordered by value and risk
- Measure and review exceptionsquarterly
7 steps in order. Play them, or step through them one at a time.
6Measuring Progress and Staying Honest
We report a few numbers every quarter: services per runtime, the time to patch the last critical CVE across the fleet, incidents related to migrations, and open exceptions with their expiry dates. If migrated services have more incidents, we slow the waves and fix the paved road. If a wave takes twice the estimate, we revisit the estimate for the rest. A five-year programme must be allowed to learn, and the measures are what make learning possible instead of political.
7Follow-up questions
What if teams resist moving?
I listen first, because resistance often contains real information, such as a server feature the inventory missed. Then I make the target attractive with the paved road and real help from the platform team, and I make the cost of staying visible, for example teams on retiring runtimes own their own patching. A mandate with a date comes last and is only credible if migration is funded.
Would you ever choose two target runtimes?
Yes, if the evidence supports it. For example, Spring Boot for most services and a Jakarta runtime for a group that depends heavily on Jakarta EE features, because forcing those onto Spring would cost more than supporting two paved roads. Going from four runtimes to two still captures most of the benefit.
How do you handle the WebLogic licence deadline?
It sets the order. If the licence renews in two years, the WebLogic services go in the early waves, starting with the ones that use the fewest server-specific features, and we decide early whether a shorter renewal for the last few is cheaper than rushing them.
8Conclusion
In this answer, we treated runtime convergence as a decision and a programme. We started from measurable outcomes such as patch speed, cost and hiring, inventoried the 120 services by runtime, traffic, change rate and features, and compared Jakarta EE, MicroProfile, Quarkus and Spring Boot by migration cost per service as well as by their merits. We kept the portable JAX-RS API to avoid rewrites, and governed the move with a supported-runtime list, end-of-support dates, paved-road templates, funded waves, a freeze on new services on retiring runtimes, regular measures, and exceptions with owners and expiry dates.
Open with
I would start with outcomes rather than a favourite runtime: how fast we can patch a critical vulnerability across the fleet, security posture, startup and memory cost, hiring, and support contract cost, with today's numbers.
Then, if they want more
Then an inventory of the 120 services: runtime and version, traffic, change rate, server-specific features like EJB or JMS on WebLogic, and owner.
The options are realistically a Jakarta EE or MicroProfile runtime, Quarkus, or Spring Boot, with Jersey or a move to Spring MVC, and I would compare them by migration cost per service, using a few timeboxed pilot migrations, not only by what the target looks like.
I would keep the JAX-RS API wherever possible, since it runs on Jersey, RESTEasy and Quarkus, so we change the runtime without rewriting every endpoint.
For governance: a decision record, a supported-runtime list with end-of-support dates, a paved-road template for the target, a freeze on new services on retiring runtimes, and funded migration waves ordered by value and risk, because unfunded migrations never finish.
I would report services per runtime, patch time and migration incidents every quarter, and allow exceptions only with an owner and an expiry date.
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 has 120 JAX-RS services across WebLogic, WildFly, Tomcat with Jersey, and...": https://scrivio-interview-library.netlify.app/java/jax-rs/0ab63c7911/