For the latest stable version, please use Spring Framework 6.2.0!spring-doc.cn

Getting Started

The easiest way to learn how to build a Spring application with Kotlin is to follow the dedicated tutorial.spring-doc.cn

start.spring.io

The easiest way to start a new Spring Framework project in Kotlin is to create a new Spring Boot 2 project on start.spring.io.spring-doc.cn

Choosing the Web Flavor

Spring Framework now comes with two different web stacks: Spring MVC and Spring WebFlux.spring-doc.cn

Spring WebFlux is recommended if you want to create applications that will deal with latency, long-lived connections, streaming scenarios or if you want to use the web functional Kotlin DSL.spring-doc.cn

For other use cases, especially if you are using blocking technologies such as JPA, Spring MVC and its annotation-based programming model is the recommended choice.spring-doc.cn