/spring-kotlin-functional

Spring Framework 5 Kotlin APIs, the functional way

Primary LanguageKotlin

This project is designed to demonstrate Spring Framework 5 Kotlin support and Functional web and bean APIs used together:

All the work in that domain now happen in Spring Fu.

Current master branch is based on standalone WebFlux runtime. Spring Boot is based on JavaConfig and does not provide specific support functional bean definition yet (see this issue where this is discussed). That said, it is possible to use experimentally Spring Boot + functional bean definition together via ApplicationContextInitializer, see this Spring Boot branch for a concrete example.

Build the project and run tests with ./gradlew build, create the executable JAR via ./gradlew shadowJar, and run it via java -jar build/libs/spring-kotlin-functional-1.0.0-SNAPSHOT-all.jar.