4

Refactoring From Spring Boot to Kotlin

 1 year ago
source link: https://www.youtube.com/watch?v=nSvujHAjV2U
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Refactoring From Spring Boot to Kotlin

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 - https://www.youtube.com/c/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...

Show lessShow more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK