~/talk

It's a Kind of Magic: Under the Covers of Spring Boot

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [java]
slides:none on file

Explains how Spring Boot’s auto‑configuration actually works: a two‑phase model that applies spring.factories‑registered configs after user beans, uses conditions like @ConditionalOnMissingBean and @ConditionalOnClass (and custom Condition classes) so auto‑configs back off when users provide beans, binds configuration properties for customization, and tests auto‑configs with ApplicationContextRunner. Covers EnvironmentPostProcessor hooks, failure analyzers, auto‑config ordering, ASM/indexed condition checks for speed, and an example that 5,000 classes with 200 components yields ~6.5s startup so classpath scanning is not usually the bottleneck.

AI-written summary · about

  1. 0:00Introduction to Spring Boot magic
  2. 10:47Spring Boot application basics
  3. 20:25Creating custom auto configuration
  4. 32:49Customizing auto configuration
  5. 46:28Advanced conditions in auto config
  6. 56:21Writing custom conditions
  7. 1:03:23Environment post processors
  8. 1:10:13Spring Boot application events
  9. 1:16:53Failure analyzers
  10. 1:22:41Common startup performance myths
  11. 1:28:25Startup performance troubleshooting
~/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.