~/talk

Programmatic Bean Registration with Spring Framework 5.0 - Josh Long

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

Shows how Spring Framework 5 lets code register beans at runtime using SpringApplicationBuilder and an ApplicationContext initializer, replacing boilerplate configuration with registerBean with Supplier and BeanDefinitionCustomizer hooks. Demonstrates Java and Kotlin beans DSL, uses Spring Boot, WebFlux routes, Reactive MongoDB and Lombok, and builds a tiny app (about 40 lines of code) that registers a CustomerService, an ApplicationRunner and a RouterFunction and runs — curl returns "hello world".

AI-written summary · about

  1. 0:00Introduction
  2. 1:38About Josh
  3. 3:40Overview
  4. 6:30Building the Application
  5. 7:35Annotations
  6. 9:20Bean Provider
  7. 10:30Application
  8. 11:45Customer Service
  9. 13:15Configuration
  10. 15:20Rewriting Application Builder
  11. 17:15Rewriting Application Runner
  12. 20:05Running the Application
  13. 21:50Copy and Paste
  14. 22:50Application Runner
  15. 24:20Testing
~/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.