It's a kind of magic: under the covers of Spring Boot
summary
Shows how to build a real Spring Boot starter: an "ello" library plus an auto-configuration registered via spring.factories, unit tests that load contexts with and without user beans, and properties bound with @ConfigurationProperties enabled by the spring-boot-configuration-processor. Demonstrates using ConditionalOnMissingBean and conditional-on-class/property hooks, a custom Condition and FailureAnalyzer, and an EnvironmentPostProcessor to pull local files into the Environment. Gives concrete perf numbers (classpath scanning ~100ms reduced to ~8ms with generated metadata) and lists common startup traps (DNS/hosts, AV, entropy).
AI-written summary · about
chapters (13)
- 0:00Intro
- 2:48Lets get started
- 8:32Annotations
- 15:50User Configuration
- 26:33Recap
- 27:27Hello Auto Configuration
- 30:52Convention over Configuration
- 31:23Testing
- 33:33Making the configuration smarter
- 36:51Object model thread
- 48:41Summary
- 53:49Enable Auto Configuration
- 57:39Break
related talks
01h 31mIt's a Kind of Magic: Under the Covers of Spring Boot
01h 34mBoot yourself, Spring is coming
47mDemystifying Spring Boot Magic
37mWhere did you get this bean?
46mSpring Boot under the hood
43mInside Spring: The Architecture Behind the Framework
49mMagical Beans and Mystery
42mSpring Boot's boot: diving into the startup sequence
