Sunday, January 14th, 2018
Reactive Streams is an initiative trying to standardize asynchronous stream processing with non-blocking back-pressure. With Java 9, new classes in the java.util.concurrent.flow package offer a semantically equivalent counterpart to this standard that may be adopted by other frameworks.
In the following short tutorial we’re implementing examples for reactive streams with Java 9 and the Flow API, with RxJava2, with Akka, with Reactor and finally there is an example in RxJava1, too though it does not follow the standard.
(more…)
Tags: akka, backpressure, consumer, diagramming, flow, flow-api, java9, jdk9, manifesto, maven, plantuml, producer, publisher, reactive, reactivex, reactor, rxjava, rxjava1, rxjava2, streams, subscriber, uml
Posted in Java | 3 Comments »
Friday, September 8th, 2017
Sometimes I need to resolve Maven dependencies programmatically. Eclipse Aether is a library for working with artifact repositories and I’ll be using it in the following example to read dependency trees from a given POM descriptor file and download each dependency from a remote Maven repository to a local directory.
(more…)
Tags: aether, eclipse, maven, pom, reactor, repository, resolve
Posted in Java | 5 Comments »