Kotlin for Fun for Spring Fans
summary
A hands-on walk through of a tiny Spring Boot HTTP app shows Kotlin specifics: Spring compiler plugin auto-opens classes for AOP and @Component; entities use Spring Data JPA with query-by-example and data classes are rejected for JPA so DTOs are recommended; null-safety, extension properties for loggers, and runCatching replace checked exceptions; demonstrates migrating Gradle Groovy to Gradle Kotlin DSL with five simple steps and confirms the app runs with the Kotlin-based build and Spring Boot starter setup.
AI-written summary Β· about
chapters (15)
- 0:00Introduction
- 1:37Developer experience
- 3:40Spring and Kotlin synergy
- 6:33Spring framework features
- 10:24Kotlin basics
- 12:12Kotlin Spring configuration
- 14:41Kotlin language specifics
- 18:02Data classes and DTOs
- 23:03Null safety and repositories
- 26:12Service layer and scope
- 29:35Control flow and Nothing
- 32:16Extension functions
- 33:56Exception handling
- 35:53Gradle Kotlin DSL
- 39:51Conclusion and resources
related talks
52mSpring into Kotlin: How to Make the Magic even more Magical
58mSpring and Kotlin: A Winning Combination
44mKotlin and Spring Boot, a Match Made in Heaven
48mSpringing into Kotlin
50mBootiful Kotlin
59mSpring into Kotlin: How to Make the Magic even more Magical
47mWhy Spring β€ Kotlin
48mKotlin for the back-end β Does the fancy code bring much value?
