Functional web applications with Spring and Kotlin
summary
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
chapters (25)
- 0:00Start
- 1:25How does it compare with..
- 2:27Google now officially supports Kotlin on Android!
- 2:57Familiar Syntax
- 3:52Type Inference
- 5:27String interpolation
- 5:40Smart Casts
- 6:15Default parameters
- 9:27Better Lambdas
- 10:54Spring MVC controller written in Kotlin
- 13:19kotlin-noarg Gradle and Maven plugin
- 13:55Gradie build files written in Kotlin
- 15:51Leveraging Kotlin nuliable information
- 18:49Null safety of Spring APIs (experimental)
- 20:25Specification like tests with Kotlin and JUnit 5
- 21:09JUnit 5 will improve Kotiin support
- 21:33JUnit 5 will improve Kotlin support
- 24:39Reactive Streams based APIs
- 25:55Reactive APIs are functional
- 27:55Spring WebFlux annotation based
- 35:59Spring WebFlux + Kotlin reference application
- 36:40MEXIT project software design
- 37:52Choose the flavour you prefer!
- 38:56Functional bean registration API
- 41:13Kotlin 1.1 supports compiling to JavaScript
related talks
47mWhy Spring ❤ Kotlin
01h 05mWhy Spring Loves Kotlin
44mKotlin and Spring Boot, a Match Made in Heaven
02h 14mFrom Spring Boot 1 in Java to Spring Boot 2 in Kotlin
43mSpring Boot with Kotlin, Kofu and Coroutines
42mThe State of Kotlin Support in Spring
27mState of Kotlin Support in Spring
45mWhy Spring Loves Kotlin
