Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/kotlin-webflux-mvc
Spring WebFlux vs WebMVC. Reading configurations in build.gradle.kts and settings.gradle.kts as extras from gradle.properties file
https://github.com/daggerok/kotlin-webflux-mvc
gradle gradle-extras gradle-kotlin-dsl gradle-properties kotlin spring-mvc spring-webflux
Last synced: about 1 month ago
JSON representation
Spring WebFlux vs WebMVC. Reading configurations in build.gradle.kts and settings.gradle.kts as extras from gradle.properties file
- Host: GitHub
- URL: https://github.com/daggerok/kotlin-webflux-mvc
- Owner: daggerok
- Created: 2019-12-10T15:08:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T21:55:42.000Z (about 5 years ago)
- Last Synced: 2024-11-11T15:39:04.722Z (3 months ago)
- Topics: gradle, gradle-extras, gradle-kotlin-dsl, gradle-properties, kotlin, spring-mvc, spring-webflux
- Language: Kotlin
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kotlin-webflux-mvc [![Build Status](https://travis-ci.org/daggerok/kotlin-webflux-mvc.svg?branch=master)](https://travis-ci.org/daggerok/kotlin-webflux-mvc)
Spring WebFlux vs Spring MVC## build jar
_windows_
```cmd
./gradlew build
# on wndows:
# gradlew build
```## start spring-mvc
```bash
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
```bash
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
* https://github.com/daggerok/gitignore-idea-runConfigurations
* https://stackoverflow.com/questions/47631243/spring-5-reactive-webexceptionhandler-is-not-getting-called
* https://docs.spring.io/spring-boot/docs/2.0.0.M7/reference/html/boot-features-developing-web-applications.html#boot-features-webflux-error-handling
* https://jar-download.com/artifacts/org.thymeleaf/thymeleaf-spring5/3.0.10.RELEASE/source-code/org/thymeleaf/spring5/view/reactive/ThymeleafReactiveViewResolver.java
* https://github.com/reactor/reactor-kotlin-extensions
* [Official Gradle documentation](https://docs.gradle.org)
* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/gradle-plugin/reference/html/)
* [Coroutines section of the Spring Framework Documentation](https://docs.spring.io/spring/docs/5.2.2.RELEASE/spring-framework-reference/languages.html#coroutines)
* [Thymeleaf](https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/reference/htmlsingle/#boot-features-spring-mvc-template-engines)
* [Spring Boot DevTools](https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/reference/htmlsingle/#using-boot-devtools)
* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/)
* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle)