Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

Your company has been a Java and Spring shop for 15 years. Some leaders want to move new development to another language for hiring and productivity reasons. As the senior technical leader, how do you evaluate this strategic bet?

First we clarify the actual problem with data: hiring funnel numbers, delivery metrics and performance needs, or whether it is mostly perception. Then we count the hidden costs of a second ecosystem, such as build and platform tooling, shared libraries, security scanning, on-call knowledge and years of dual maintenance. We reassess the current platform, since recent Java releases and Kotlin on the JVM change the comparison, consider bounded options, and decide with a pilot, measurable goals and a review date, explaining the reasoning to engineers.

Why this question is asked

A language change is one of the largest strategic bets a technology organisation can make. It touches hiring, every platform tool, years of shared libraries and the knowledge in people's heads. Leaders who propose it are usually responding to a real frustration, but the frustration and the proposed cure do not always match. Interviewers ask this to see whether we can test a strategic claim with evidence, count costs that are easy to miss and design a decision that limits risk. In this answer, we will look at defining the problem, the hidden costs, a fair reassessment of Java, bounded options, and how to decide and communicate.

1Clarifying the Actual Problem With Data

'Hiring and productivity' can mean many things, so we turn each claim into a question with data. For hiring: how many qualified applicants do we get per Java role, how long do roles stay open, at which stage do candidates drop out, and what do declined offers say? Perhaps time to hire is 70 days, but most drop-outs happen after the offer because of salary, which no language change fixes. For productivity: what are our lead time, deployment frequency and change failure rate, and where does time actually go? If builds take 40 minutes and environments are flaky, the language is not the bottleneck.

For performance: is there a workload, such as very low-latency processing or small command-line tools, where the JVM is genuinely a poor fit? And for perception: do engineers or candidates see Java as old-fashioned? Perception is real and worth addressing, but the remedy may be modernising our Java rather than replacing it.

Turning the claim into questions
ClaimData to collectWhat it might show
We cannot hire Java engineersapplicants per role, time to hire, drop-off stagesalary or process issue, not language
Java slows deliverylead time, build times, time spent per activityplatform or process bottleneck
We need better performancelatency and cost per workloada narrow case, not the whole estate
Java feels outdatedcandidate and engineer feedbackold code style and versions, not Java itself
Each claim can be true, but each points to a different remedy.

2Counting the Hidden Costs of a Second Ecosystem

A new language does not just change the code in new services. Our platform tooling, build images, CI templates, dependency management, artifact repositories, observability agents and golden path templates, all assume the JVM. Our shared libraries for authentication, logging conventions, tracing, messaging and error formats exist only in Java and must be rebuilt and then kept in sync in the second language. Security scanning, dependency auditing and licence checks need new tools and new processes.

Then there are people costs. On-call engineers must debug services in two ecosystems. Internal mobility drops, because a Java engineer cannot easily join a team on the other stack. And the Java estate does not disappear: after 15 years, there may be hundreds of services that will run for another decade, so we face long-lived dual maintenance. A rough estimate of the platform work alone might be several platform engineers for a year or more, before any productivity gain appears.

3Reassessing What Java Offers Today

The comparison is often made against the Java of ten years ago. Java has changed a lot since then. Records give concise data classes, sealed types and pattern matching for switch make domain modelling and branching clearer, text blocks and var reduce noise, and virtual threads, final since Java 21, give high concurrency with simple blocking code. Java 25 is the current long-term support release, and Spring Boot 3.5 and 4.0 build on these features.

Java
// Modern Java: a sealed hierarchy with records and pattern matching
sealed interface Payment permits Card, Transfer {}
record Card(String last4, long cents) implements Payment {}
record Transfer(String iban, long cents) implements Payment {}
String describe(Payment p) {
return switch (p) {
case Card c -> "card ending " + c.last4(); // card ending 4242
case Transfer t -> "transfer from " + t.iban();
}; // no default needed: the compiler knows all cases
}

Kotlin also changes the comparison. It runs on the JVM, works with our existing libraries and tooling, and is attractive to many candidates. If the problem is perception or developer experience, moving teams to modern Java versions, or allowing Kotlin on the same platform, may deliver most of the benefit at a fraction of the cost.

4Considering Bounded Options

Between 'stay as we are' and 'move all new development' lie bounded options. One is a second language for specific domains where it clearly fits, for example Python for data science and machine learning, or Go or Rust for small infrastructure tools, with explicit criteria for when it may be used. Another is Kotlin within the JVM platform, sharing the build, libraries and operations. A third is a serious modernisation of our Java: upgrading old services, updating the golden path to modern idioms, and improving builds and environments.

Each bounded option has a much smaller blast radius. It is also reversible: if the second-language domain does not work out, it is a few services, not the whole company's future.

Step throughEvaluating the language bet
  1. Measure hiring, delivery and performance data
  2. Is the language the real bottleneck?
    YesCount second-ecosystem costsNoFix the real bottleneck instead
  3. Would modern Java or Kotlin solve it?
    YesModernise on the JVMNoChoose a bounded scope for a new language
  4. Pilot with measurable goalsone or two teams, 6 to 12 months
  5. Review date: goals met?
    YesExpand within the agreed scopeNoStop and keep what was learned

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

5Deciding With a Pilot and Communicating the Reasoning

If a second language still looks justified, we run a pilot with one or two teams for six to twelve months, with goals written beforehand: for example time to hire for those roles falls by 30 percent, lead time for the pilot services matches or beats comparable Java services, and the platform cost stays within an agreed budget. On the review date, we compare results with the goals and decide to expand, keep it bounded, or stop.

Communication matters as much as the decision. Engineers who have built careers on Java will wonder what it means for them; leaders who proposed the change need to feel their concern was taken seriously. We share the data, the options considered, the decision and the review date openly, in writing and in person, and explain what it means for people's skills and roles. A strategic bet that people understand is far more likely to succeed, whichever way it goes.

6Follow-up questions

What if the hiring data really does show a Java shortage in our market?

Then it is a real force, but we still compare remedies: wider remote hiring, training engineers from other languages in Java (which is often quick for experienced developers), adjusting salaries, or allowing Kotlin. A language change is one remedy among several and usually the most expensive.

How do you avoid the pilot being set up to fail or to succeed?

Agree the goals and how they will be measured before the pilot starts, choose a representative project rather than the easiest or hardest one, and have someone neutral collect the results. Publishing the criteria in advance keeps everyone honest.

Is Kotlin a cheap compromise?

It is cheaper than a new ecosystem because it shares the JVM, the build and most libraries, but it still adds a second language to reviews, hiring and style guides. It should be evaluated with the same discipline, just with smaller costs.

7Conclusion

In this answer, we saw how to evaluate a proposal to move new development away from Java: clarify the real problem with hiring, delivery and performance data, count the hidden costs of a second ecosystem, reassess modern Java and Kotlin on the JVM fairly, consider bounded options such as a language for specific domains, and decide with a pilot, measurable goals and a review date, explaining the reasoning openly to engineers.

What to say in the interviewAbout 90 seconds aloud

Open with

I would start by separating the claim into questions we can answer with data. For hiring, I want applicants per role, time to hire and where candidates drop out, because often the problem is salary or process, not the language.

Then, if they want more

For productivity, lead time, build times and where engineers lose time; if builds take forty minutes, a new language does not fix that.

Then I would count the hidden costs of a second ecosystem: all our platform tooling, CI templates, observability agents and shared libraries for auth, tracing and messaging exist for the JVM, security scanning needs new tools, on-call needs new skills, and we will maintain hundreds of Java services in parallel for years.

I would also reassess Java honestly, because records, sealed types, pattern matching and virtual threads on Java 25 make it a very different language from ten years ago, and Kotlin gives a modern language on the same platform.

So I would consider bounded options: Kotlin on the JVM, a second language only for specific domains like data science, or a serious Java modernisation.

If a change still makes sense, I would run a pilot with one or two teams, with goals and a review date set beforehand, and explain the data and reasoning openly to engineers, including what it means for their skills.

About this answer

Last updated
12 November 2026
Versions it names
Java 21, Java 25, Spring Boot 3.5
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 "Your company has been a Java and Spring shop for 15 years. Some leaders want to move new...": https://scrivio-interview-library.netlify.app/architecture/architecture-decisions/cc2b89326f/