Kotlin and Spring Boot, a Match Made in Heaven
summary
Live coding shows a Spring Boot app ported to Kotlin by swapping MVC for reactive MongoDB + WebFlux, replacing @Controller/@Bean annotations with explicit route and bean DSL handlers, and migrating repositories to Flux/Mono types; demos break then recover but the app runs. Introduces Kofu and Spring Foo as an application DSL alternative that compiles clearer wiring and helps GraalVM native images, but flags the work as experimental and not yet recommended for critical production.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:47Exoscale
- 1:34Spring Boot Developer
- 1:47Issues with Spring Boot
- 3:27Demo
- 3:38First Class Citizen
- 4:00Small Light
- 5:09No Magic
- 9:13Adding Routes
- 11:14Single Responsibility Principle
- 14:03Migration
- 16:02Interactive
- 21:29Lifecycle
- 24:16Explicit Initializers
- 25:21Bean DSL
- 27:21Kofu
- 28:54ABDoron
- 30:08Even vs Code
- 31:52Takeaways
- 33:22Incubator
- 35:43QA
related talks
52mSpring Boot with Kotlin, Kofu and Coroutines
43mSpring Boot with Kotlin, Kofu and Coroutines
47mWhy Spring ❤ Kotlin
52mSpring into Kotlin: How to Make the Magic even more Magical
50mBootiful Kotlin
50mKotlin and Spring boot a pleasant experience and some rough edges
46mFunctional web applications with Spring and Kotlin
02h 14mFrom Spring Boot 1 in Java to Spring Boot 2 in Kotlin
