Quick revision
The short answer
Spring Boot won because it removed large amounts of repeated setup and made a working, production-shaped service the default, and because starters plus a curated dependency set solved version alignment, which had been one of the biggest sources of failures. The long-term costs are hidden behaviour, where engineers do not know which beans exist or why, and upgrades that can change defaults silently, so large organisations need tests and release-note review for every upgrade, and people who understand the internals, condition reports and how to override safely.
What to remember
In this answer, we saw that Boot won by removing repeated setup and by solving version alignment with starters and a curated dependency set. Its costs are hidden behaviour and defaults that change on upgrade, and large organisations manage them with people who understand the internals, visible condition and bean reports, explicit platform defaults for risky settings, and a tested upgrade path.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
Spring Boot won because it removed large amounts of repeated setup and made a working, production-shaped service the default, and because starters plus a curated dependency set solved version alignment, which had been one of the biggest sources of failures. The long-term costs are hidden behaviour, where engineers do not know which beans exist or why, and upgrades that can change defaults silently, so large organisations need tests and release-note review for every upgrade, and people who understand the internals, condition reports and how to override safely.
Background to this question
Before Boot, starting a Spring service meant copying XML or Java configuration from the last project, aligning versions of a dozen libraries by hand and repeating the same wiring for data sources, transactions, JSON and the web server. Boot made almost all of that disappear, and within a few years it became the default for Java services. A leadership question about it is really a question about trade-offs: what did we gain, what did we give up, and how do we manage the part we gave up when there are hundreds of services. In this answer, we will look at what explicit configuration cost, why Boot's conventions won, the hidden costs that grow with scale, and the practices that keep those costs under control.
1What Explicit Configuration Cost
Convention over configuration means the framework assumes sensible defaults, and we write configuration only where we differ from them. Before Boot, the opposite was normal. A Spring MVC service with JPA needed a DataSource definition, an EntityManagerFactory, a transaction manager, a dispatcher servlet setup, message converters, and a web.xml or an external servlet container to deploy into. Every team wrote these, every team made slightly different mistakes, and none of it was business logic.
Versions were a separate burden. Spring, Hibernate, Jackson, the servlet API and logging libraries had to be compatible, and a single mismatched transitive dependency could produce a NoSuchMethodError at runtime, often only in one environment.
2Why Boot's Conventions Won
Boot attacked both problems at once. Auto-configuration made a working service the default: add a starter, and the beans appear, configured from properties, with an embedded server and production features like health checks a dependency away. Because those defaults back off when we define our own beans, teams kept full control where they needed it.
Starters and the managed dependency set solved version alignment. A Boot release is a tested combination of hundreds of library versions, and importing the Boot BOM or parent means a team upgrades one number instead of twenty. That alone removed a whole category of incidents. Add the executable jar, which made deployment uniform, and Boot became the path of least resistance, which is how standards actually win.
| Concern | Explicit configuration | Spring Boot |
|---|---|---|
| New service setup | days of copied wiring | minutes: starter plus properties |
| Library versions | aligned by hand per project | curated, tested set per release |
| Deployment | WAR into a managed container | executable jar with embedded server |
| Production features | built per team | Actuator: health, metrics, info |
| Knowing which beans exist | visible in our code | hidden in auto-configuration |
| Upgrade effect | only what we change | defaults can change under us |
3The Hidden Cost: Behaviour Nobody Wrote
The same mechanism that removes setup also hides it. In a Boot service, many beans exist that no engineer on the team wrote: connection pools, executors, JSON mappers, security filters, error handlers. When something goes wrong, the first question, which bean is doing this and why does it exist, has no answer in the team's own code.
This has concrete effects at scale. An executor with an unbounded queue, a default timeout that is too long, or a security filter chain that applies more than expected can sit unnoticed in hundreds of services because nobody chose it, so nobody reviewed it. Engineers who have only known Boot may not realise there is a choice at all, and changes such as adding a dependency can switch on new auto-configuration, because a new class on the classpath satisfies a condition.
4The Upgrade Cost: Defaults That Change
Because Boot owns the defaults, a Boot upgrade can change behaviour without any change in our code. Examples across major versions include the move from javax to jakarta packages in Boot 3, changed default property values, removed auto-configuration registration through spring.factories, and the modularisation and move to Jackson 3 in Boot 4. Minor releases change dependency versions, and a new Hibernate or driver version can change query or locking behaviour.
So every upgrade needs two things: a test suite that exercises real behaviour, not just compilation, and someone who reads the release notes and migration guide and decides what applies. For a large estate, the platform team does this once and publishes what changed and what each team must check, instead of 150 teams discovering it separately.
5Managing the Costs in a Large Organisation
The answer is not to abandon convention, but to keep the knowledge it hides alive in the organisation. That starts with people: a platform group, or a set of named engineers, who understand how auto-configuration works, can read a condition evaluation report, and know how to override a default safely with properties, customizers or a replacement bean.
Next come practices. Services keep the conditions report and Actuator's beans and configprops endpoints available in non-production environments, so anyone can answer which beans exist and with what settings. Important defaults, such as executor queues, timeouts and connection pool sizes, are set explicitly by a platform starter rather than left implicit. Upgrades follow a tested path: the platform upgrades a reference service first, publishes notes, and services move within a support window. In short, we accept hidden setup, but we refuse hidden decisions on the things that cause incidents.
- Read release notes and migration guideplatform team
- Upgrade the reference servicerun full tests, compare conditions report
- Publish what changedproperties, defaults, actions per team
- Teams upgrade within the windowstarter version bump plus checklist
- Track versions across the estateno service beyond supported lines
5 steps in order. Play them, or step through them one at a time.
6Follow-up questions
Would you ever choose explicit configuration over Boot today?
For a small library or a tool where startup and dependency size matter most, plain Spring or no framework can be right. For services in an organisation, Boot's alignment and conventions are worth the hidden cost, provided the organisation manages that cost deliberately.
How do you find out what changed between two Boot versions in your service?
Compare the condition evaluation reports and the Actuator beans and configprops output from both versions, and run the spring-boot-properties-migrator module during the upgrade, which reports renamed or removed properties at startup.
How do you keep the knowledge from concentrating in a few people?
Teach it through incidents: when a default causes a problem, the review explains the auto-configuration and condition involved. Short internal guides on reading the conditions report and overriding safely spread the skill further than a single expert can.
7Conclusion
In this answer, we saw that Boot won by removing repeated setup and by solving version alignment with starters and a curated dependency set. Its costs are hidden behaviour and defaults that change on upgrade, and large organisations manage them with people who understand the internals, visible condition and bean reports, explicit platform defaults for risky settings, and a tested upgrade path.
Open with
I think Boot won for two reasons. First, it made a working, production-shaped service the default. Before it, every team wrote the same DataSource, transaction, web and JSON wiring and deployed into a container, and none of it was business logic.
Then, if they want more
With auto-configuration you add a starter and the beans appear, configured from properties, while still backing off when you define your own. Second, starters and the curated dependency set solved version alignment, which used to cause runtime failures like NoSuchMethodError, so a team upgrades one version number instead of twenty. The long-term costs grow with scale.
The biggest is hidden behaviour: many beans in a service were written by nobody on the team, so nobody reviewed choices like an unbounded executor queue, and adding a dependency can quietly switch on new configuration.
The second is upgrades: Boot owns the defaults, so an upgrade can change behaviour with no code change, as the jakarta move in Boot 3 or Jackson 3 in Boot 4 showed.
So in a large organisation I'd keep people who understand the internals and can read condition reports, set risky defaults explicitly in a platform starter, keep the conditions and beans endpoints available outside production, and run upgrades through a reference service and published notes before teams move.
About this answer
- Last updated
- 12 November 2026
- 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.
- Official documentation
- Spring Boot reference
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 "Spring Boot made convention over configuration the standard for Java services. Why did...": https://scrivio-interview-library.netlify.app/spring-boot/auto-configuration/f0fec3120f/