Programarea reactiva Java. Implementari

Implementare

  • RxJava. Acesta librarie este implementata pentru diferite limbaje. In afara de RxJava, avem si Rx pentru C#, JS, Kotlin, Scala, etc
  • Reactor Core. A fost creata sub umbrela Spring si este inclusa in Spring 5
  • Akka streams de la Martin Odersky, creatorul Scala. A creat un Akka framework (abordare cu Actor). Si Akka streams care sunt o implementare a reactive streams si lucreaza cu bine cu acest framework

Single/Synchronous

Multiple/Synchronous

Single/Asynchronous

  • Fie CompletableFuture (Java) si apoi dupa o anumita perioada de timp, primim un raspuns asincron
  • Sau Mono care returneaza o valoare in Spring Reactor library
  • Multiple/Asynchronous
  • Publisher (in Java 9 spec)
  • Observable (in RxJava)
  • Flux (in Spring Reactor)

https://www.luxoft-training.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Luxoft Training

Luxoft Training

https://www.luxoft-training.com/

More from Medium

Array Initialization in Java

Java Threads And Multithreading

Avoiding NullPointerException In Java

Multiple Level Inheritance for Builder Pattern in Java