When you want to use Pi4J in your project, you should definitely check out the Pi4J website where you can find a lot of information and many examples! For example, for a minimal example to blink a LED ...
RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences. It extends the observer pattern to support ...