Overview
Embark on a comprehensive live coding deep dive that transforms a Spring Boot 1 web application written in Java into a Spring Boot 2 application using Kotlin. Learn about Kotlin's key features, including null safety, data classes, DSLs, and extensions, while exploring Spring Framework 5.0 and Spring Data Kay's dedicated Kotlin support. Discover how to leverage both Spring MVC and Spring WebFlux in this 2-hour 14-minute session led by Mark Heckler and Sébastien Deleuze. Gain insights into the migration process, covering topics such as context, dependencies, type inference, if statements, Spring plugins, top-level functions, extension functions, and data classes. No prior Kotlin knowledge is required for this Devoxx presentation, making it accessible to developers looking to transition from Java to Kotlin in the Spring Boot ecosystem.
Syllabus
Introduction
Context
Migration from Java to Kotlin
Spring Boot 2 in Kotlin
Spring Web Flex
Blog Post Application
Application Overview
Migrating to Kotlin
Dependencies
Kotlin vs Java
Kotlin to Spring Boot
Type inference
If statements
Spring Plugin
Migration to Kotlin
Kotlin Top Level Functions
Kotlin Extension Functions
Importing Extension Functions
Mustache
Data class
Taught by
Devoxx