Other Java frameworks
17 questions in 5 subtopics.
Quarkus
What does Quarkus do at build time that Spring Boot traditionally does at startup, and how does that affect startup time and memory?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.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.One business unit wants to standardise on Quarkus while the rest of the company uses Spring Boot. How do you evaluate the proposal?Micronaut
How does Micronaut implement dependency injection differently from Spring, and what are the consequences for startup and for developers?Write a Micronaut declarative HTTP client for GET /customers/{id} on another service, and explain how you would add timeouts and retries.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
What is the difference between Helidon SE and Helidon MP, and what changed in Helidon 4's web server?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?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
A Vert.x application logs the warning: Threadvert.x-eventloop-thread-2 has been blocked for 3400 ms. What does it mean and how do you fix it?Explain verticles and the event bus in Vert.x and when you would use them to structure a service.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
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?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?Design a framework selection policy for an engineering organisation of 400 developers. How many Java frameworks would you support and why?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?No question matches these choices.