Scrivio Interview library
LeadershipAdvanced5 min read · updated 12 November 2026

Your company has 25 JSP-based internal applications on old Spring versions that must move to Spring Boot 3 and Jakarta EE namespaces. Teams ask whether to migrate JSP to Thymeleaf, to Vaadin, or rewrite as SPAs. How would you decide and plan?

The javax to jakarta move is required for every application, but it does not force a new view layer, because JSP keeps working on Boot 3 with war packaging on a supported Tomcat or Jetty. So I would split the decision: migrate all 25 apps to Boot 3 and jakarta with shared tooling, and decide the UI per application by usage, change rate and remaining life. Rarely changed apps keep JSP, active ones move page by page to Thymeleaf, form-heavy tools may go to Vaadin, a few customer-like apps may become SPAs, and barely used apps are retired.

Why this question is asked

A portfolio migration like this is mostly a planning problem. Teams tend to frame it as one big technology question, which UI framework should we use, and then argue about it for months. At a senior level, interviewers want to see that we separate what is mandatory from what is optional, decide per application with evidence, and run the work as waves with shared tooling. In this answer, we will separate the two decisions, build a simple scoring of the 25 applications, compare the UI options, and plan the waves.

1Separate the Mandatory Move From the Optional One

Spring Boot 3 requires Java 17 or later and Jakarta EE 9 or later, which renamed every javax.* package for servlets, JPA, validation and so on to jakarta.*. That change touches imports, configuration, and also JSP tag libraries, because JSTL moved to jakarta.servlet.jsp.jstl. Every one of the 25 apps must make it, or it will be stuck on unsupported Spring versions without security fixes.

Replacing JSP is a different matter. JSP, now Jakarta Pages, still works on Boot 3 when the app is packaged as a war and runs on Tomcat or Jetty with the Jasper engine. So the first message to the teams is that they can do the jakarta migration without touching their views, and the view decision comes separately, per app. Mixing the two would double the risk of every release and make the whole programme slower.

2Score Each Application

Next, we gather a few facts about every app. How many users does it have per month? How many changes did it get in the last year? How long will the business need it? Is the current UI causing defects or complaints? Most of this comes from access logs, the git history and a short conversation with each business owner.

Example scoring of the portfolio
GroupSignalsDecisionApps
RetireFew users, no recent changesArchive data, switch off4
Keep JSPStable, changed rarely, needed for yearsJakarta move only, war packaging9
Move to ThymeleafActive, server-rendered pagesPage by page after the jakarta move8
Vaadin or SPAHeavy interaction, form-rich or external usersSeparate plan per app4
The numbers are an example; the point is that each app gets its own decision from its own facts.

With those facts, the 25 apps usually fall into four groups. Some are barely used, perhaps a report screen opened twice a quarter, and the cheapest migration is retirement, after confirming with the owner and archiving the data. Some are stable and rarely changed; they get the jakarta move and keep JSP, with minimal updates. Some are actively developed; they are worth moving to a modern view layer because the investment pays back through faster changes. A few have strongly interactive UIs or external users and may justify a different approach.

3Comparing the UI Options

Thymeleaf is the cheapest target for an active JSP app. It keeps the same server-rendered model, controllers stay the same, and pages can be converted one at a time because JSP and Thymeleaf view resolvers can coexist in one application during the transition. The team does not need new skills beyond the template syntax.

Vaadin suits form-heavy internal tools built by Java-only teams. It provides grids, forms and validation as Java components, so the team avoids writing JavaScript. But it is a rewrite of the UI layer, not a conversion, and it keeps UI state in the server session, which needs sticky sessions and more memory per user.

An SPA, for example React or Angular with a JSON API, gives the richest interaction and a clean API that other clients can reuse. It also needs front-end skills, a separate build chain, API security and usually a design system. I would only choose it where the team has or can hire those skills and the product really needs the interaction.

4Plan the Waves

With decisions per app, we plan the work in waves of three to five apps. A central platform team prepares the tooling once: OpenRewrite recipes for the javax to jakarta change and the Spring Boot 3 upgrade, a shared parent POM or Gradle platform, and a checklist of known issues such as JSTL coordinates and Hibernate 6 query changes. The first wave includes one simple app and one hard app, so the tooling is tested against reality early.

Properties
# Example: run the OpenRewrite upgrade recipe on one app (Maven)
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-spring:RELEASE \
-Drewrite.activeRecipes=org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_5
# rewrites javax.* imports to jakarta.*, updates dependencies and properties
# check the recipe name for your target version
Step throughProgramme plan for 25 applications
  1. Inventory and score all 25 appsUsage, change rate, remaining life
  2. Retire the unused onesConfirm with owners, archive data
  3. Build shared toolingOpenRewrite recipes, parent POM, checklist
  4. Wave 1: one easy and one hard appProve the tooling
  5. Waves 2 to N: jakarta move for allTests around key flows first
  6. View migration for active appsThymeleaf page by page; Vaadin or SPA by plan
  7. Switch off old stacks by the end dateNo lingering versions

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

Before each app moves, we add tests around its key flows, often a handful of browser tests for login, the main search and the main save, because many of these old apps have few tests. Each wave ends with the old stack switched off for those apps, and the programme has a clear end date for the old Spring versions, so the last apps do not linger for years.

5Follow-up questions

Why not move everything to SPAs while we are touching the code anyway?

Because it turns a mechanical, low-risk migration into 25 rewrites that need skills most of these teams do not have. Internal apps with simple forms gain little from an SPA, and the extra API and build layers become a long-term cost. Bundling the decisions also delays the mandatory security-driven move.

How do you handle a team that insists on Vaadin for an app that rarely changes?

Ask what problem it solves for that app. If the app changes twice a year and works, the business gets nothing from a rewrite. I would agree on Vaadin for an app where the evidence supports it, so the team still gains the experience, and keep the stable one on JSP.

6Conclusion

In this answer, we separated the mandatory Boot 3 and jakarta migration, which every app needs and which JSP survives with war packaging, from the optional view migration. We scored each application by usage, change rate and remaining life to decide between retiring, keeping JSP, moving to Thymeleaf, or a Vaadin or SPA rewrite, and we planned the work in waves with shared OpenRewrite tooling, tests around key flows and clear end dates for the old stacks.

What to say in the interviewAbout 90 seconds aloud

Open with

I'd start by separating two decisions that teams tend to mix. Moving to Boot 3 and the jakarta namespace is mandatory for all 25 apps, because the old Spring versions won't get security fixes.

Then, if they want more

But it doesn't force us to replace JSP, because JSP still works on Boot 3 if the app is packaged as a war on Tomcat or Jetty. So the jakarta move happens everywhere, and the view question is answered per app.

To answer it, I'd gather usage from the access logs, change rate from git history, and the expected remaining life from the business owner. Apps that are barely used, I'd retire. Stable apps that rarely change keep JSP with just the jakarta update.

Actively developed apps move to Thymeleaf page by page, since it keeps the same server-rendered model and the controllers barely change. Vaadin makes sense for a few form-heavy internal tools with Java-only teams, and an SPA only where the product needs rich interaction and the team has front-end skills.

Then I'd run it as waves: a platform team prepares OpenRewrite recipes, a shared parent and a checklist, the first wave proves the tooling on one easy and one hard app, every app gets tests around its key flows first, and we set end dates for the old stacks.

About this answer

Last updated
12 November 2026
Versions it names
Spring Boot 3, Hibernate 6, Jakarta EE 9, Java 17
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.
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 25 JSP-based internal applications on old Spring versions that must...": https://scrivio-interview-library.netlify.app/spring-boot/mvc-architecture/8a7fdd633d/