Reactive Programming in Java

An asynchronous processing approach is a perfect fit while dealing with a huge volume of data or a large set of users. It will make the system responsive and improve the overall user experience. Implementing asynchronous processing in Java with the custom code would be cumbersome and harder to implement. Reactive Programming would be beneficial in this scenario.

Java doesn't provide native support for Reactive Programming like other JVM-based programming languages such as Scala or Clojure do. However, from version 9, Java has started supporting Reactive Programming natively. Apart from native support in Java 9, there are other implementation layers that help to achieve Reactive Programming with an older version of Java (such as Java 8). We will see a few of them, as follows.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.4.181