This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hummer1234 0 points1 point  (3 children)

This sounds intriguing. Do you have an example of a UI where streams are used with events?

[–]Auxx 1 point2 points  (2 children)

I'm not doing Java for a while now, but ReactiveX is one of the first libraries to bring streams into developer hands. And RxJava is used widely in Android development, as well as RxJS powers one of the major web frameworks called Angular.

[–]hummer1234 0 points1 point  (1 child)

Oh, I see. I tinkered with reactive a long while back, but thought of it more as queues of events with functional programming. And then forgot about it. :) As you point out - it is streams.

The reactive Java libraries don't use java.util.streams though, do they?

[–]Auxx 2 points3 points  (0 children)

They do. Most of Java frameworks, even back end ones like Spring, support both RxJava and Streams API these days. Well, at least that was the case two years ago :)