Inside Spring: The Architecture Behind the Framework
summary
Walks through Spring Boot startup from Application.run to the bootstrap initializers load config before context, shows how Environment and ApplicationContext are constructed, and steps into refresh() where refresh() creates beans and auto‑configuration and component scanning actually instantiate controllers, services and repositories. Demonstrates with the PetClinic demo, IntelliJ debugging and Actuator timers, compares servlet (Tomcat/Jetty) vs reactive stacks, and highlights AOT and CRaC checkpoint speeds startup as practical ways to cut JVM cold‑start time; the demo runs and the debugger steps confirm the sequence.
AI-written summary · about
chapters (9)
- 0:00Introduction to Spring
- 4:25What is Spring Boot
- 10:09Starting a Spring Boot app
- 15:34Class loading and JVM warmup
- 21:58Bootstrap context and environment
- 26:53Creating application context
- 33:03Refreshing the context
- 38:44Spring core container
- 41:55Conclusion and Q&A
related talks
42mSpring Boot's boot: diving into the startup sequence
01h 34mBoot yourself, Spring is coming
49mDas Boot: Diving into Debugging Spring Boot Applications
01h 13mSpring: Your next Java microframework
49mMagical Beans and Mystery
01h 38mBoot yourself, Spring is coming
24mSpring: Your Next Java Micro-Framework
38mWhat Is Spring?
