Why Spring Loves Kotlin
summary
Spring Framework 5 plus Spring Boot 2 add first‑class Kotlin support and migration tooling to convert a Spring Boot 1.x Java+JS blog into a Spring Boot 2 pure Kotlin app running on WebFlux; build uses runApplication, Kotlin compiler plugin that auto‑opens Spring‑annotated classes, Reactor Mono/Flux types, and a Kotlin functional router DSL. Null‑safety annotations in Spring APIs remove many NPEs, coroutines interop maps suspend <-> Mono with benchmarks showing near‑reactor performance, while config‑properties and WebTestClient type inference remain known pain points.
AI-written summary · about
chapters (7)
- 0:00Introduction and motivation
- 12:27Spring Boot 2 and Kotlin support
- 27:27Unit 5 and testing improvements
- 30:21WebFlux and reactive programming
- 44:34Production readiness and next steps
- 54:23Future features and roadmap
- 1:03:00Multi-platform Kotlin and Q&A
related talks
47mWhy Spring ❤ Kotlin
45mWhy Spring Loves Kotlin
27mState of Kotlin Support in Spring
42mThe State of Kotlin Support in Spring
46mFunctional web applications with Spring and Kotlin
33mThe State of Kotlin Support in Spring
02h 14mFrom Spring Boot 1 in Java to Spring Boot 2 in Kotlin
44mKotlin and Spring Boot, a Match Made in Heaven
