Customize your Spring Boot experience by writing your own Spring Boot starter
summary
Shows how to build a reusable Spring Boot starter that actually works: a two-module layout (optional dependency starter + auto-configure) using spring.factories to register auto-configuration, Java @Configuration beans and conditionals such as ConditionalOnClass, ConditionalOnMissingBean and property checks to avoid breaking apps. Demonstrates a Thymeleaf custom dialect that renders an HTML banner, a cache-backed banner variant guarded by a custom condition built with AllNestedConditions, and uses the actuator autoconfig report to prove which configurations match.
AI-written summary · about
chapters (15)
- 0:00Custom Spring Boot starters intro
- 3:26What are Spring Boot starters
- 5:57Anatomy of a starter
- 7:19Auto configuration explained
- 9:07Demo: Thymeleaf banner starter
- 14:16Starter module setup
- 16:04Auto config implementation
- 19:43Custom Thymeleaf dialect
- 22:00Starter properties config
- 23:03Conditional annotations
- 28:25Debugging with Actuator
- 31:43Complex conditions
- 39:25Spring Boot 1.4 features
- 41:11Benefits and use cases
- 42:38Q&A on naming and scanning
related talks
47mSpring Boot Starter - How And Why?
46mSpring Boot under the hood
01h 34mBoot yourself, Spring is coming
52mSpring Boot the Ripper – Part I
45mCode Once, Use Everywhere: Building a Shared Module used by Multiple Projects
59mSpring Boot Autoconfiguration: A Look Behind the Scenes
22mFundamental Spring Boot: Keep it Simple, Get it Right, Be Productive and Have Fun!
56mBuilding a Framework on top of Spring Boot
