There are other Reactive implementations that can still be used with Spring 5.x applications and one is RxJava 2.x. Under Apache license, RxJava is now a widely used Reactive programming port in many android applications. It has a huge number of APIs that can implement extensive and highly-threaded operations with Reactive approach. Behind its huge set of packages, RxJava follows the Reactive Stream specification.
Lastly, an additional service class will be added to ch07
through which a new approach will be shown on how to create publishers and subscribers using the RxJava approach.
This last recipe will show us how Spring 5 can integrate with other Reactive Stream implementation such as RxJava 2.0:
- In order for our Spring 5 platform to work perfectly with RxJava, add the following Maven dependencies to the
pom.xml
configuration:
<dependency> <groupId>io.Reactivex.rxjava2</groupId> <artifactId>...