Scrivio Interview library

Other Java frameworks

17 questions in 5 subtopics.

Quarkus

ConceptFoundations6 min read
What does Quarkus do at build time that Spring Boot traditionally does at startup, and how does that affect startup time and memory?
CodingFoundations6 min read
Write a Quarkus REST endpoint GET /orders/{id} that returns an Order from a Panache entity, and explain how blocking and reactive execution are chosen.
ScenarioIntermediate7 min read
Your team moves a Spring Boot service to Quarkus native images to cut cloud cost. Startup is 50 ms, but some features fail at run time and peak throughput is lower than on the JVM. Explain why and how you would decide which mode to run.
LeadershipAdvanced6 min read
One business unit wants to standardise on Quarkus while the rest of the company uses Spring Boot. How do you evaluate the proposal?

Micronaut

ConceptFoundations6 min read
How does Micronaut implement dependency injection differently from Spring, and what are the consequences for startup and for developers?
CodingIntermediate7 min read
Write a Micronaut declarative HTTP client for GET /customers/{id} on another service, and explain how you would add timeouts and retries.
LeadershipPrincipal6 min read
Micronaut, Quarkus and Spring Boot all moved towards ahead-of-time processing and native images. What does this convergence tell you, and how does it change your framework strategy?

Helidon

ConceptFoundations6 min read
What is the difference between Helidon SE and Helidon MP, and what changed in Helidon 4's web server?
ScenarioIntermediate6 min read
A team proposes Helidon MP for a new service because they already know Jakarta EE and MicroProfile. What questions would you ask and how would you compare it with Spring Boot?
DesignAdvanced7 min read
You run some services on Helidon MP, some on Open Liberty and most on Spring Boot. Design the platform contract that makes them operable the same way.

Vert.x

DebuggingFoundations7 min read
A Vert.x application logs the warning: Thread vert.x-eventloop-thread-2 has been blocked for 3400 ms. What does it mean and how do you fix it?
DesignIntermediate7 min read
Explain verticles and the event bus in Vert.x and when you would use them to structure a service.
LeadershipPrincipal6 min read
Your company built its edge proxies and real-time services on Vert.x for performance years ago. With virtual threads in Java 21 and later, should you keep the reactive codebase, rewrite or mix? Explain the strategic decision.

Choosing between Spring Boot and other frameworks

ConceptFoundations6 min read
For a typical CRUD microservice with a PostgreSQL database and a REST API, what factors would make you choose Spring Boot or Quarkus or Micronaut?
ScenarioIntermediate8 min read
A proof of concept shows Quarkus native starting in 40 ms against 3 seconds for Spring Boot, and the team wants to switch. What else must be measured before deciding?
DesignAdvanced6 min read
Design a framework selection policy for an engineering organisation of 400 developers. How many Java frameworks would you support and why?
LeadershipPrincipal6 min read
The CTO asks whether to keep Spring Boot as the company standard for the next ten years given vendor ownership changes, licence trends and new frameworks. How do you answer?