Learn about reactive programming in practice by developing an application using Java, Spring WebFlux, Project Reactor, Reactor Test, and WebClient.
Key Features
- Learn about the advantages of webflux and how to start using it in your company
- Practice the operations of Reactive Streams, RxJava, the Reactor Project, and mainly Spring WebFlux
- Learn the basic concepts of Reactive programming and develop an application from scratch
Book Description
Ever heard of reactive programming? No? Then this book is for you! If you have heard of reactive programming but never developed an application using Spring WebFlux, then this book is for you too!
In this book, you will learn the whole theory behind reactive programming and most importantly, you will put it into practice! We will start with the basics of reactive programming and then build an application in reactive programming from scratch using Spring WebFlux, Project Reactor, Reactor Test, MongoDB, WebClient, Web test client, and Spring REST Docs. You will learn concepts of reactive programming, RxJava, Reactive Streams, Spring WebFlux, Project Reactor, Netty, and much more.
If you are considering using Spring WebFlux in your company but still don't know the technology deeply, with this book you will have all the necessary basics covered to decide whether or not it makes sense to use Spring WebFlux in your company.
What you will learn
- Learn essential concepts to start your journey in reactive programming
- Explore RxJava and Reactive Streams
- Learn how to use Spring Webflux in your applications
- Learn to use the Reactor Project with Spring WebFlux
- Develop an application from scratch to practice your knowledge of Spring WebFlux
- Write unit tests with reactor test
- Document your application endpoints with WebTestClient and Spring Rest Docs
- Learn how to consume external services with the webclient
Who This Book Is For
This book is for those who are looking to take their first steps in reactive programming while still using Java and Spring technologies as well as those who want to leverage the full potential of Spring webflux together with the Reactor project.
Table of Contents: Table of Contents
Reactive Programming Concepts
Reactive Streams and RxJava
Spring WebFlux in Action
Project Reactor
Netty
Creating REST API with Webflux and MongoDB
Consuming an external api with WebClient
Testing our application with Reactor Test
Documenting our endpoints with Spring Rest Docs and Web Test Client
Best practices for Spring webflux applications