Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)