Reactive Programming

Dealing with void and null in RxJava 2

The Problem I recently updated my RxJava dependency from version 1.x to 2.x. Everything looks very good in RxJava world - new version seems to be more coherent and consistent. Much cleaner. You can find large amount of details in an official RxJava Github Repo. First sentences on this page say that: RxJava 2.0 has been completely rewritten from scratch on top of the Reactive-Streams specification. The specification itself has evolved out of RxJava 1.

Continue reading

RxJava for JAX-WS

Introduction Recently I had an undoubted pleasure to work with SOAP based web services. The client I was using was JAX-WS compliant and generated using wsimport tool. In theory for modern systems they are basically thing of the past but in reality they are still present. Let’s say that your nice and clean Java code uses RxJava and tries to be reactive and asynchronous. In that case you really want to call SOAP web service as you would any other Rx Observable/Completable source.

Continue reading