Slide 1

Slide 1 text

Spring Fu A quick introduction Corneil du Plessis

Slide 2

Slide 2 text

Quote “Programming is not a zero-sum game. Teaching a fellow programmer something doesn’t take it away from you.” John Carmack

Slide 3

Slide 3 text

What is Spring Fu? Spring Fu is an experimental Kotlin micro-framework based on functional confguration intended to test new ideas for future Spring Boot releases

Slide 4

Slide 4 text

Application

Slide 5

Slide 5 text

Beans

Slide 6

Slide 6 text

Comparison confguration Annotation based Functional bean defnition

Slide 7

Slide 7 text

What is diferent? Spring 5 • Java or Kotlin • Annotation driven confguration • Type erasure in generics • AspectJ and JDK Proxies • Dependency Hell Spring Fu • Kotlin • Explicit functional confguration • Kotlin reifed type parameters • Minimal refection • Modules

Slide 8

Slide 8 text

Lets look at some code • Application and confguration • Routers • Handlers • Services • Repositories

Slide 9

Slide 9 text

Performance comparison

Slide 10

Slide 10 text

Finally • Contact: @corneil • Source: https://github.com/corneil/reactive-spring-5 • Resources: https://github.com/spring-projects/spring-fu Questions?

Slide 11

Slide 11 text

No content