Reactive Java for The Realtime

D375df6774572e49bcb86d810a5ba186?s=47 Trayan Iliev
November 16, 2018

Reactive Java for The Realtime

The demos are developed by IPT (http://iproduct.org/) for the BGOUG 2018 conference.

Sensor data is streamed in realtime from Arduino + accelerometeres, gyroscopes & compass 3D, ultrasound distance sensor, etc. using UDP protocol. The data processing is done with reactive Java alterantive implementations: callbacks, CompletableFutures and using Spring 5 Reactor library. The web 3D visualization with Three.js is streamed using Server Sent Events (SSE).

A video for the IoT demo is available @YouTube: https://www.youtube.com/watch?v=AB3AWAfcy9U

All source code of the demo is freely available @GitHub: https://github.com/iproduct/reactive-demos-iot

There are more reactive Java demos in the same repository - callbacks, CompletableFuture, realtime event streaming. Soon I'll add a description how to build the device and upload Arduino sketch, as well as describe CompletableFuture and Reactor demos and 3D web visualization part with Three.js. Please stay tuned :)

D375df6774572e49bcb86d810a5ba186?s=128

Trayan Iliev

November 16, 2018
Tweet