Upgrade Time: Choose Java 11+ or the “Other” One…Kotlin
summary
Shows a concrete migration of a Spring Boot 2 service from Java 8/11 to Kotlin using Maven, the kotlin-maven-plugin, kotlin-reflect and the kotlin noarg/jpa compiler plugin; converts POJOs to data classes, replaces Lombok, keeps repositories in Java, adds Kotlin unit tests (Java tests 4 then 6 total after Kotlin), and runs integration tests to prove endpoints still boot and return expected results. Demo exercises Mockito and MockK styles, shows string interpolation, extension functions and sequence vs list evaluation, and reports a working hybrid build with green tests.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:48My story with Kotlin
- 2:47Who am I?
- 3:34Highlights Java 9/10/11+
- 4:43Reasons to switch to Kotlin
- 8:19What to keep in mind
- 10:03Let's start!
- 11:20Migration plan
- 12:38Demo
- 35:40Migration plan continued
- 36:00Welcome on board/Outro
related talks
45mHow we buid and mitigated our Spring Boot applications to Kotlin
45mWhy Spring Loves Kotlin
40mIdiomatic Kotlin applications with Spring Boot 4
02h 14mFrom Spring Boot 1 in Java to Spring Boot 2 in Kotlin
57mMigrating Spring Boot Microservices from Java 8 to 11: What Can Go Wrong?
52mSpring into Kotlin: How to Make the Magic even more Magical
44mAdvanced Kotlin Techniques for Spring Developers
48mSpringing into Kotlin
