
Explore the reactive programming paradigm in Java and learn to build blocking and nonblocking microservices with ReactiveJ and a reactive embedded server.
discover how embedded Jetty enables non-blocking, reactive microservices, each listening on its own port, contrasting this approach with traditional app servers like Tomcat.
Discover the advantages of reactive programming by comparing blocking and nonblocking microservices. See how nonblocking threads handle more HTTP requests with fewer resources, reducing queues, memory use, and cloud cost.
Develop a simple to-do CRUD microservice in Java using ReactiveJ, implementing both blocking and non-blocking versions to illustrate a reactive stack with an embedded server.
Explore essential links for ReactiveJ setup, including the official docs, cloning the master branch or downloading the master zip, and the final update branch from the repository.
Implement the skeleton of the API by wiring reactive endpoints with a singleton pattern, defining functional actions (create, read, update) and injecting them into endpoints using ReactiveJ.
Develop a reactive Java microservice with ReactiveJ by implementing the create todo endpoint, parsing the request body, producing a JSON response, and testing the endpoint.
Develop a reactive API with ReactiveJ by implementing create, read by id, and read all endpoints, using path variables and optional handling to deliver proper HTTP responses.
Test and interact with a reactive Java microservice by calling endpoints with Postman, performing create, read, and delete operations, and explore the nonblocking version of the application.
Implement a nonblocking create to-do endpoint in a reactive Java microservice, converting incoming requests into observable flows, subscribing to results, and testing the API version 2.
Transform requests into observables and drive the rest of your application with reactive flows. Handle responses and errors with subscribers, and shape response bodies for 200 ok outputs.
Develop a reactive Java microservice by building a reactive rest api with observable streams, mapping, and a response wrapper, testing create, read, and delete endpoints against a simulated reactive database.
In this couse we're going to introduce the main concepts of reactive programming and we're going to develop a reactive microservice with Java, ReactiveJ and RxJava2.
The arguments of the course are:
- reactive programming
- JSR 340 and servlets 3.1 specification
- advantages of reactive programming
- non-blocking embedded Jetty
- ReactiveJ non-blocking and asynchronous library
- develop of a synchronous and blocking app with ReactiveJ
- develop of a asynchronous and non blocking app with ReactiveJ and RxJava2