~/talk

Spring Boot's boot: diving into the startup sequence

TalkinFrenchat Devoxx France 2021 · 2021-09-29..10-01· [java]
links:none on file
slides:none on file

A detailed walkthrough of Spring Boot startup from running java -jar to the "Started {}" log, showing which classes and mechanisms execute and when. It explains bootstrap context (the 2.4 replacement for the old parent-child trick), SpringFactoriesLoader discovery of auto-configurations, how BeanDefinitions and BeanPostProcessors are registered and run during ApplicationContext refresh, the role of deferred logging, and how a refresh event triggers reconfiguration; demonstrations show the sequence initializing and handing control to application code.

AI-written summary · about

  1. 0:00Spring Boot introduction
  2. 3:35Spring Boot context
  3. 6:45Service discovery mechanism
  4. 7:48Spring Boot startup events
  5. 10:38Environment management
  6. 14:30Environment post-processors
  7. 16:39Deferred logs in Spring Boot
  8. 18:25Context preparation
  9. 21:55Context refresh phase
  10. 25:27Auto-configuration in Spring Boot
  11. 29:01Properties configurations
  12. 31:10Runner execution
  13. 32:14Spring Cloud Commons
  14. 35:45Environment refresh
  15. 38:14Conclusion & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.