~/talk

New in Spring Framework 5.0: Functional Web Framework

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

Spring 5.0 adds a second, functional web model that avoids annotation magic by using Java 8 lambdas, reactive types and small composable APIs. It exposes RouterFunction/HandlerFunction with immutable ServerRequest/ServerResponse, uses Mono/Flux (Reactor) for async bodies, supports nesting and predicate composition, and intentionally uses no reflection. The demo builds a tiny routing framework, runs standalone or in Spring Boot, serves CRUD endpoints with 404 handling, and the code is on GitHub.

AI-written summary · about

  1. 0:00Introduction to Spring 5.0
  2. 1:16Problems with annotations
  3. 4:55Goals of functional web framework
  4. 16:20Demo setup and basics
  5. 22:04Creating handler functions
  6. 31:18Exposing repository with handlers
  7. 43:10Introducing router functions
  8. 56:10Combining router functions
  9. 1:00:04Refactoring to handler class
  10. 1:03:26Using Spring's framework types
  11. 1:07:31Running the application
  12. 1:11:57Q&A 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.