Today I found that, for concurrency in java we have good framework like Akka
and I also found that, there is a reactive programming frameworks like RxJava
for performing multithreading
in application. But I'm still confused! Why are both better than Java Concurrency
framework?
Nowadays reactive programing is mature topic, and most languages have support for Functional Reactive Programing
like Netflix
provide APIs regarding Reactive programming
for more than one language. Rxjava
is one of the api that is used for java
, scala
etc. According to RxJava
, they internally use actors for maintaining multithreading
and Akka
also uses Actors
for multithreading
programming.
So, what is the difference between Akka
and Reactive Programming
approach and why they are good from Java Concurrency
?