REST con
Spring 5
(Webflux)
!Hola! 🤓
Soy Carlos Salazar
Software Engineer
https://codesolt.com/
2
◦ Introducción
◦ Reactor
◦ Reactive Streams
◦ Webflux
◦ Demo
◦ Siguientes pasos
◦ Conclusiónes
3
Agenda
🤓
Introducción
Contexto y motivaciones
4
5
6
77
Reactive Streams
A standard for asynchronous
stream processing
An initiative to provide a standard for
asynchronous stream processing with
non-blocking back pressure. This
encompasses efforts aimed at runtime
environments (JVM and JavaScript) as
well as network protocols.
8
9
10
Project Reactor
Reactive Java
“Composing asynchronous
& event-based sequences,
using non-blocking
operators
11
Project
reactor en
general
12
13
Flux
14
Mono
15
Reactive
Manifesto
16
Webflux
Web reactiva con Spring
17
Spring
Webflux
😻
19
Github:
@chuucks
20
DEMO
😬
21
Siguientes pasos:
Spring reactive data
Spring reactive JPA? 🌚
22
IBM
Reactive
Components
🙊
23
24
Conclusiones
Reactive or non-reactive?
25
“Do not change”
- Spring Framework
🤓♂
“If you have a Spring MVC application that
works fine, there is no need to change.
Imperative programming is the easiest
way to write, understand, and debug
code. You have maximum choice of
libraries, since, historically, most are
blocking.
26
Project Reactor:
◦ https://ordina-
jworks.github.io/reactive/2016/12/12/Rea
ctive-Programming-Spring-Reactor.html
◦ https://projectreactor.io/learn
◦ https://stackabuse.com/spring-reactor-
tutorial/
Spring Webflux:
◦ https://docs.spring.io/spring/docs/curre
nt/spring-framework-reference/web-
reactive.html
◦ https://www.baeldung.com/spring-
webflux
Recursos
😇
27
28
!Gracias! 😃
Mándame un tweet a:
@chuucksc

Spring webflux