Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Full Stack Reactive Java with Spring Framework 5, Spring Boot 2, & Project Reactor

Full Stack Reactive Java with Spring Framework 5, Spring Boot 2, & Project Reactor

Reactive programming offers Java developers a way to build message-driven, elastic, resilient, and responsive services...yet many Java developers don't know where to begin. The Reactive Streams initiative provides a baseline and Project Reactor provides a great way to become immediately productive, leveraging reactive capabilities from end to end. Whether you're coming from a Spring MVC environment or a functional perspective, Reactor empowers you to spin up fully reactive Spring Boot 2 applications quickly and efficiently.

In this talk, the presenter dives into the net-new Netty-based web runtime and shows you how to:

* integrate easily with existing Spring-stack technologies
* easily transition from blocking to reactive applications & systems
* define your API in an imperative style *and* functionally, reaping all benefits both ways
* leverage powerful new testing mechanisms to make code better and life easier

The presenter will code all examples live and in real time. This is not an abstract discussion, come to gain real, practical knowledge!

Mark Heckler

October 09, 2018
Tweet

More Decks by Mark Heckler

Other Decks in Programming

Transcript

  1. Full Stack Reactive Java With Spring Framework 5, Spring Boot

    2, & Project Reactor Mark Heckler Principal Technologist, Spring Developer Advocate www.thehecklers.com [email protected] [email protected] @mkheck
  2. @mkheck @projectreactor Who am I? • Author • Speaker •

    Architect & Developer • Java Champion • Seeker of a better way
  3. @mkheck @projectreactor –Rossen Stoyanchev, Project Reactor team “In a nutshell

    reactive programming is about non-blocking, event-driven applications that scale with a small number of threads with backpressure as a key ingredient that aims to ensure producers do not overwhelm consumers.”
  4. @mkheck @projectreactor Reactive Streams: 4 interfaces Publisher<T> Subscriber<T> Subscription Processor<T,R>

  5. @mkheck @projectreactor Project Reactor: a quick overview

  6. @mkheck @projectreactor Let’s code!

  7. @mkheck @projectreactor Helpful resources http://www.reactive-streams.org https://projectreactor.io https://github.com/mkheck/FSRx (LATEST KOTLIN!: https://github.com/mkheck/kotlin-coffee-service)

    (R2DBC WIP!: https://github.com/mkheck/coffee-service-r2dbc)
  8. @mkheck @projectreactor Thanks for coming! @mkheck [email protected] [email protected]