YoVDO

Why Spring Loves Kotlin

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Kotlin Courses Functional Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Introduction to Functional Programming
Delft University of Technology via edX
Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX