Scrivio Interview library

Developer experience

16 questions in 5 subtopics.

DevTools

InternalsFoundations6 min read
How does Spring Boot DevTools restart work, and why is it faster than a full JVM restart?
DebuggingIntermediate7 min read
With DevTools on the classpath, a ClassCastException says com.acme.Order cannot be cast to com.acme.Order. What is happening and how do you fix it?
ScenarioIntermediate6 min read
A colleague proposes shipping DevTools in production images so that a remote restart can be used for quick fixes. How do you respond?
DesignAdvanced7 min read
Build and restart times for a large Spring service are 4 minutes, and developers avoid running it locally. How would you improve inner-loop development?

Docker Compose support

ConceptFoundations6 min read
What does Spring Boot's Docker Compose support do when you run the application locally?
DesignAdvanced6 min read
Developers spend hours setting up local databases, brokers and caches for each service. How would you standardise the local environment for 40 teams?
LeadershipPrincipal5 min read
Local development environments, cloud dev environments and shared staging all compete for investment. How would you decide your long-term developer environment strategy?

Testcontainers at development time

CodingFoundations6 min read
Show how to start an application locally with a Postgres Testcontainer instead of a manually installed database.
ScenarioIntermediate6 min read
Your team uses both Docker Compose support and Testcontainers. When would you choose one over the other for development and tests?
LeadershipPrincipal5 min read
Testcontainers and Docker-based tooling depend on a container runtime on every developer machine. What risks does this bring to an organisation over the years, and how would you manage them?

Spring Initializr

ConceptFoundations6 min read
What does Spring Initializr generate, and why is starting from it better than copying an old project?
DesignAdvanced6 min read
Would you run a custom Spring Initializr instance for your company? What would it contain and what are the risks?
LeadershipPrincipal5 min read
How much should an organisation invest in developer experience for its Java platform, and how would you measure the return?

JHipster code generation

ConceptFoundations6 min read
What does JHipster generate for a new application, and what are the benefits and costs of starting a project with it?
ScenarioIntermediate7 min read
A team built a service with JHipster three years ago, heavily modified the generated code, and now wants to upgrade Spring Boot and the JHipster version. How do you approach it?
LeadershipAdvanced6 min read
Should your organisation use JHipster or a similar generator as the standard starting point for new services, or build its own templates?