~/talk

Functional Spring Boot

Talkat Devnexus 2025 · 2025-03-04..03-06· [java, software-architecture]
links:none on file
slides:none on file

Shows how to replace annotation-driven Spring Boot wiring with Kotlin-based programmatic configuration using ApplicationContextInitializer and Spring.factories, leveraging Kotlin features like inline reified generics and extension functions. Demonstrates the Spring Core beans DSL and router DSL, converting controllers to functional routes, running unit tests in milliseconds (demo test 786 ms) and shipping this at GrubHub across ~200 microservices. Presents Spring Fu history, the Spring Funk library that integrates with Spring Boot Test, and notes upcoming Spring Boot 7 bean registrar support.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:10Spring Boot history and problems
  3. 7:56Decomposing Spring Boot magic
  4. 10:21Programmatic configuration concept
  5. 16:21Beans DSL in Kotlin
  6. 20:17Router DSL for web endpoints
  7. 23:27Spring Boot 7 improvements
  8. 25:37Spring Funk project introduction
  9. 29:27Live demo setup
  10. 31:49Demo converting to functional approach
  11. 41:47Refactoring with Kotlin features
  12. 43:09Integrating Spring Funk library
  13. 48:53Final functional Spring Boot app
  14. 51:24Kotlin advantages and future
  15. 53:10Resources and closing
~/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.