Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

Your company still runs 40 applications on a commercial application server whose licence renewal is expensive. How would you plan the exit over several years?

I would first build an inventory of all 40 applications by business value, how often they change and which server features they use, and then choose a path for each one: move it to a supported open source Jakarta EE runtime, migrate it to Spring Boot, or retire it. Moving to another Jakarta EE runtime is often the cheapest first step for code that uses standard APIs. The work is timed against the licence renewal dates with a contingency plan, and progress is measured by applications moved and licence cost removed.

Why this question is asked

Licence exits are common senior-level work. A commercial application server licence can cost hundreds of thousands per year, and the renewal date does not move just because the migration is late. Interviewers ask this to see whether we can turn a big, vague goal into a portfolio plan with priorities, options and a way to show progress. In this answer, we will build the inventory, choose a path per application, see why a runtime change is often the cheaper first move, plan the timing around licence dates, and decide how to measure progress.

1Understanding What the Licence Really Covers

Before planning, we need to know what we are paying for. Commercial servers such as WebLogic or WebSphere are often licensed per processor core or per virtual CPU, sometimes with support charged as a percentage of the licence. That means the cost depends on how many cores run the server, not on how many applications run on it. So moving 35 of 40 applications may save little if the last five still need the same large cluster, while moving the applications that sit on dedicated, large machines can save a lot early.

We therefore read the contract with procurement: renewal dates, whether we can reduce the licensed core count at renewal, the notice period, and whether extended support is available as a fallback. These facts decide the order of the work more than any technical preference.

2Building the Inventory

For each of the 40 applications we collect three kinds of facts. Business value: who uses it, revenue or regulatory importance, and whether it could be retired. Change rate: how many releases it had last year, because an application that changes every week benefits from a modern platform, while one untouched for five years mostly needs a cheap place to live. Server features used: plain Servlet and JPA, or proprietary APIs, EJB remoting, JMS, XA transactions, server-specific security or clustering features.

We can gather the server features largely automatically by scanning code for vendor packages (weblogic.*, com.ibm.websphere.*) and reading deployment descriptors, and then confirm with each team. The output is one row per application in a shared sheet, which becomes the plan.

3Choosing a Path per Application

Each application gets one of three paths. Retire it when usage is low or another system already does the job; that is the cheapest migration of all, and in a portfolio of 40 we usually find a few. Rehost it on a supported open source Jakarta EE runtime, such as Open Liberty, WildFly, Payara or GlassFish, when the code uses standard APIs and changes rarely. Migrate it to Spring Boot when it changes often, the team wants a modern platform, or it is being rewritten anyway.

The reason we decide per application, and not one rule for all, is that the costs differ by an order of magnitude. Rehosting a standards-based application can take a couple of weeks of testing, while rewriting the same application in Spring Boot can take months.

Step throughChoosing the path for one application
  1. Still needed by the business?
    YesNext questionNoRetire it
  2. Uses mostly standard Jakarta EE APIs?
    YesNext questionNoPlan Spring Boot migration or refactor
  3. Changes often or needs a rewrite anyway?
    YesMigrate to Spring BootNoRehost on an open source Jakarta EE runtime

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

Retiring is the cheapest exit, and rehosting is usually cheaper than rewriting.

4Why Rehosting Is Often the Cheaper First Move

If an application only uses Servlet, JPA, CDI, JAX-RS and standard EJB, it was written against a specification, and another certified runtime implements the same specification. Moving it is mostly configuration: data sources, queues, security and logging set up on the new runtime, plus a full regression test. The code may need small changes for vendor extensions or for the javax to jakarta rename if we also move to a current runtime version, which tools like the Eclipse Transformer handle mechanically.

So the licence can be removed sooner, and the expensive modernisation can happen later, on its own schedule, for the applications that deserve it. Notice that rehosting does not block a later move to Spring Boot; it just separates the licence deadline from the modernisation decision.

5Timing the Work Against Licence Dates

Suppose the renewal is in 30 months and the contract lets us reduce cores at each annual renewal. We would plan three waves. Wave one, in the first year, covers retirements and the easy rehosts, so the first renewal can already drop cores. Wave two moves the medium-difficulty applications and the first Spring Boot migrations. Wave three handles the hardest ones, such as applications with XA transactions or remote EJB clients, before the final date.

We also keep a contingency plan, because the hardest applications are the most likely to slip. That may be a negotiated short extension for a small number of cores, or a fallback to extended support for the last few applications. We discuss it with procurement early, while we still have negotiating leverage, rather than in the last month.

6Measuring Progress

Two numbers tell the story to leadership: applications moved or retired out of 40, and licence cost removed, measured as licensed cores or annual spend that has actually been dropped. The second number matters most, because 30 applications moved but the same licence paid is not a saving yet. We also track incidents after each move, so we can show that speed did not cost stability, and we report the plan against the next renewal date every month.

7Follow-up questions

How do you get 40 teams to prioritise this work?

We make it a funded programme with a visible deadline and a cost figure, and we reduce the work for each team by providing a platform team that prepares the target runtime, a migration guide, shared tooling and help with testing. Teams are much more willing when the migration is two weeks of supported work rather than an open-ended project.

What if an application uses proprietary server APIs heavily?

Then rehosting is not cheap, and we compare refactoring the proprietary parts against a Spring Boot migration. If the application is low value and stable, an extended support agreement for a small footprint may be cheaper than either, as long as it has an end date.

How do you protect against problems after the move?

Each application gets a regression test run on the new runtime, a performance comparison with production-like load, and a rollback plan that keeps the old deployment available for a few weeks after the switch.

8Conclusion

In this answer, we saw that a licence exit for 40 applications starts with understanding the contract and building an inventory by business value, change rate and server features. Each application gets its own path: retire, rehost on an open source Jakarta EE runtime, or migrate to Spring Boot, with rehosting often the cheapest first step for standards-based code. The work is planned in waves against renewal dates with a contingency, and progress is shown as applications moved and licence cost actually removed.

What to say in the interviewAbout 90 seconds aloud

Open with

I would treat it as a portfolio problem, not 40 separate projects. First I would read the contract with procurement, because licences are usually per core and the renewal dates and the right to reduce cores decide the order of the work.

Then, if they want more

Then I would build an inventory of all 40 applications with three facts each: business value, how often it changes, and which server features it uses, especially proprietary APIs, remote EJBs, JMS and XA. From that, each application gets a path. If nobody needs it, we retire it.

If it uses standard Jakarta EE APIs and rarely changes, we rehost it on a supported open source runtime like Open Liberty or WildFly, which is often a few weeks of configuration and testing instead of months of rewriting. If it changes often or needs a rewrite anyway, we migrate it to Spring Boot.

I would plan waves against the renewal dates, doing retirements and easy rehosts first so the first renewal already drops cores, and the hardest applications last, with a contingency such as a short extension for a small footprint agreed early. A platform team would provide the target runtime, guides and test help so each team's work is small.

I would report two numbers every month: applications moved out of 40, and licence cost actually removed.

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 still runs 40 applications on a commercial application server whose licence...": https://scrivio-interview-library.netlify.app/java/jakarta-ee-platform/acba71d989/