Refactoring From Spring Boot to Kotlin

Published: 14 October 2022
on channel: Pairing with Duncan
1,471
46

In this video Dmitry Kandalov and I look at a small Spring Boot web application, trying to understand what it does and how. As we do, we discover that some of the dependencies on Spring are unnecessary, and the more we remove, the easier it is to reason about how our application actually works.

We almost succeed in replacing Dependency Injection with Just Creating Objects, but are foiled at the last because we never actually get to instantiate the top-level components ourselves. Undeterred we reimplement the app using the http4k library and show that it passes the original Spring acceptance tests.

No actual Spring Boot applications were harmed in the making of this video.

You should check out Dmitry's YouTube channel -    / dmitrykandalov  

If you like this, you’ll probably like the book Java to Kotlin, A Refactoring Guidebook
http://java-to-kotlin.dev.
.
The music in the video is courtesy of Orion Williams - http://toolofgod.com/my-music/royalty...

This talk was originally given as a presentation at Jax London 2022 - https://jaxlondon.com/java-core-jvm-l...
and we will be doing it live at On Kotlin in London on October 22 https://www.meetup.com/source-talks-o...


Watch video Refactoring From Spring Boot to Kotlin online without registration, duration hours minute second in high quality. This video was added by user Pairing with Duncan 14 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,471 once and liked it 46 people.