Spring
Presentation
Le nouveau module WebFlux ajoute la simplicité d’utilisation de Spring et la facilité de configuration de Spring Boot à la conception et au développement d’applications réactives, tandis que Reactive Streams permet aux applications d’utiliser plus efficacement des ressources limitées en ajoutant des fonctionnalités non bloquantes.
Training Course
- Course Presentation
- Wiki
- Exercices
- Video
- [Spring Framework Documentation] (https://docs.spring.io/spring/docs/5.1.0.RELEASE/spring-framework-reference/)
Composants
Reactor (used internaly in spring)
Reactive Streams Adapters (to convert other libraries (RxJs, Akka) into reactor format )
The webflux module in Spring 5 allows you to use the Project Reactor types Flux and Mono.Methods that work synchronously can be converted to asynchronous by changing the return type to one of those types. The WebClient class then knows how produce those types, and is now the preferred asynchronous rest client (the class AsyncRestTemplate is now deprecated).
[Reactive, non-blocking WebClient for HTTP requests] (https://docs.spring.io/spring/docs/5.1.0.RELEASE/spring-framework-reference/web-reactive.html#webflux-client)