Migrating Spring Boot Apps from Annotation-based Config to Functional with Kotlin
GOTO Amsterdam 2019

Tuesday Jun 18
16:30 –
17:15
Administratiezaal

Migrating Spring Boot Apps from Annotation-based Config to Functional with Kotlin

Slides:


This video is also available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.

Available in Google Play Store or Available in Apple App Store




In the latest years, there has been some push-back against frameworks, and more specifically annotations: some call them magic. Obviously, they make understanding the flow of the application harder. Spring and Spring Boot latest versions go along this trend, by offering an additional way to configure beans with explicit code instead of annotations. It's declarative in the sense it looks like configuration, though it's based on Domain-Specific Language(s). This talk aims to demo a step-by-step process to achieve that.

What will the audience learn from this talk?

  • How to migrate from controllers to routes
  • How to migrate from annotations to declarative ("functional")
  • New Kotlin DSLs for routes & beans declaration
  • The future!

Does it feature code examples and/or live coding?
Yes, my talk is based on the migration of a demo app. I have a reference in my last slides that point to the Github repo, so that people can study it at home afterwards.

Prerequisite attendee experience level:
Level 200