Reactive programming tutorial: Reactive programming and Vert.x

Опубликовано: 28 Сентябрь 2024
на канале: Red Hat Developer
8,793
125

Tutorial: Reactive programming and Eclipse Vert.x

This is the second of a four-part interactive tutorial on reactive programming and Vert.x. The tutorial can be viewed in full at https://developers.redhat.com/coderla....

The reactive system built in this exercise represents data about the Reactica roller coaster at Coderland (https://developers.redhat.com/coderla..., an imaginary theme park that showcases modern technologies and techniques. The Reactica system contains multiple components that use Red Hat AMQ, Red Hat Data Grid, and the Vert.x event bus to pass data asynchronously. The end result is a web UI that calculates the current wait time for the coaster based on the number of people in line, the length of the ride, and how many people can ride at once.

The web UI also displays a list of users. That includes park guests who are still in line, guests who are currently on the ride, and a few of the guests who have already ridden the coaster. The entire display is driven by a sophisticated infrastructure that illustrates the power and flexibility of reactive programming.

Your assignment: Build the web UI that shows Coderland guests how long they'll have to wait before experiencing the awesomeness of the Reactica roller coaster.

REPOS
The Reactica roller coaster: https://github.com/reactica/rhte-demo

A Vert.x starter application: https://github.com/redhat-developer-d...

ARTICLES
Reactica Part 1: An introduction to reactive programming and Vert.x: https://developers.redhat.com/coderla...

Reactica Part 2: Building a reactive system: https://developers.redhat.com/coderla...

Reactica Part 3: A reactive system in action: https://developers.redhat.com/coderla...

OTHER RESOURCES
Free book - Building Reactive Microservices in Java: https://developers.redhat.com/books/b...

The Reactive Manifesto: https://www.reactivemanifesto.org/

Andre Staltz's reactive programming tutorial: https://gist.github.com/staltz/868e7e...