/kotlin-webflux-mvc

Spring WebFlux vs WebMVC. Reading configurations in build.gradle.kts and settings.gradle.kts as extras from gradle.properties file

Primary LanguageKotlin

kotlin-webflux-mvc Build Status

Spring WebFlux vs Spring MVC

build jar

windows

./gradlew build
# on wndows:
# gradlew build

start spring-mvc

java -jar build/libs/kotlin-webflux-mvc-0.0.1-SNAPSHOT.jar --spring.profiles.active=mvc
http :8080/
http :8080/not-found
http :8080/api/message 
http --stream :8080/api/messages 

start spring-webflux

java -jar build/libs/kotlin-webflux-mvc-0.0.1-SNAPSHOT.jar --spring.profiles.active=webflux
http :8080/
http :8080/not-found
http :8080/api/message
http :8080/api/messages --stream 

resources