Home Conference Sessions Migrating Spring...

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

Nicolas Frankel | GOTO Amsterdam 2019

You need to be signed in to add a collection

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?**<br> * 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?**<br> 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:** <br> [Level 200](https://gotoams.nl/2019/pages/experience-level)

Share on:
linkedin facebook
Copied!

Transcript

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

About the speakers

Nicolas Frankel

Nicolas Frankel

Developer Advocate at Hazelcast