Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Why Spring Loves Kotlin

Devoxx via YouTube

Overview

Discover why Spring and Kotlin make an excellent pair in this 44-minute Devoxx conference talk. Learn how to leverage Spring's official Kotlin support in Framework, Boot, and Data to build more efficient and enjoyable Spring projects. Follow a step-by-step guide to transform a Spring Boot 1.0 Java + JavaScript project into a Spring Boot 2.0 pure Kotlin project running on the new WebFlux functional web framework. Explore topics such as migrating to Kotlin, upgrading to Spring Framework 5 and Spring Boot 2.0, switching to WebFlux and Reactive APIs, using WebFlux functional API, and developing frontend applications with Kotlin instead of JavaScript/TypeScript. Gain insights into Kotlin's features, including null safety, reified type parameters, and coroutines, and their integration with Spring's ecosystem. Understand how to utilize Kotlin's expressive syntax for testing, bean definitions, and functional programming in Spring applications.

Syllabus

Intro
Most popular way to build web applications
Migrating a typical Boot application to Kotlin
Step 3
Domain model
Expressive test function names with backticks
Spring MVC controller written in Java
Inferred type hints in IDEA
Kotlin support out of the box
Kotlin support documentation
Running Spring Boot 1 application with Kotlin
Declaring additional beans
Customizing Spring Application
Reified type parameters Kotlin extension
Null safety of Spring APIS
Leveraging Kotlin nullable information
JUnit 5 supports constructor based injection
Flux is for reactive collection and stream
Spring WebFlux with annotations
Reactive APIs = functional programming
Reactor Kotlin extensions
WebFlux functional API with Kotlin DSL
Functional router within Boot
Functional handlers within Boot
Spring & Kotlin Coroutines
Reactive Coroutines interop
Functional bean definition Kotlin DSL
Functional bean definition with Spring Boot
Original JavaScript code
Compiling Kotlin to WebAssembly

Taught by

Devoxx

Reviews

Start your review of Why Spring Loves Kotlin

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.