Card 06/ 06

RecapDifficulty: Advanced1 min

What This Topic Established

@SpringBootApplication combines @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan — verified by reading the class's own annotations.

Auto-configuration classes are guarded by conditional annotations — @ConditionalOnClass checks what's on the classpath, @ConditionalOnMissingBean checks what you've already defined. A bean you declare yourself always wins over the one Boot would otherwise have created.