Card 06/ 06

RecapDifficulty: Advanced1 min

Recap: What Spring Boot Adds

Boot's job, its main annotation, auto-configuration and the rule that your bean wins, with where each was.

What Spring Boot adds comes down to the four ideas below, each listed with the card that covers it.

What the topic established, and which card it was on
The ideaWhere
Boot is Spring with the typical setup created for you from what is on the classpathSpring Boot: What It Adds to Spring
@SpringBootApplication combines configuration, auto-configuration and component scanning@SpringBootApplication: The Three Annotations Inside It
Conditional annotations decide whether an auto-configured bean is createdAuto-Configuration Example: A DataSource You Never Defined
A bean you define yourself replaces Boot's, silentlyYour Own Bean Replaces the Auto-Configured One

When a Boot application does something you did not configure, the --debug conditions report shows which auto-configuration did it and why.