~/talk

Functional web applications with Spring and Kotlin

Talkat Spring I/O 2017 · 2017-05-18..05-19· [kotlin, web-platform]
slides:none on file

Shows how to convert a Spring Boot 1 Java app into a Kotlin Spring Boot 2 app using WebFlux and the functional router DSL, with concrete tooling: Kotlin compiler, Spring Framework 5 extensions, Reactor Mono/Flux, and functional bean registration. Demonstrates a real Mixit conference site rebuilt over six months and run in production for three months without issues. Highlights Kotlin features used: null safety, type inference, extension functions, and Spring Kotlin extensions, and measured footprints Kotlin + Spring Framework 5 + WebFlux, Mixit site rebuilt and run 3 months in production, startup: 3s/20MB vs 1.2s/10MB.

AI-written summary · about

  1. 0:00Start
  2. 1:25How does it compare with..
  3. 2:27Google now officially supports Kotlin on Android!
  4. 2:57Familiar Syntax
  5. 3:52Type Inference
  6. 5:27String interpolation
  7. 5:40Smart Casts
  8. 6:15Default parameters
  9. 9:27Better Lambdas
  10. 10:54Spring MVC controller written in Kotlin
  11. 13:19kotlin-noarg Gradle and Maven plugin
  12. 13:55Gradie build files written in Kotlin
  13. 15:51Leveraging Kotlin nuliable information
  14. 18:49Null safety of Spring APIs (experimental)
  15. 20:25Specification like tests with Kotlin and JUnit 5
  16. 21:09JUnit 5 will improve Kotiin support
  17. 21:33JUnit 5 will improve Kotlin support
  18. 24:39Reactive Streams based APIs
  19. 25:55Reactive APIs are functional
  20. 27:55Spring WebFlux annotation based
  21. 35:59Spring WebFlux + Kotlin reference application
  22. 36:40MEXIT project software design
  23. 37:52Choose the flavour you prefer!
  24. 38:56Functional bean registration API
  25. 41:13Kotlin 1.1 supports compiling to JavaScript
~/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.