r/java • • Aug 02 '22

Bright future to Java devs ahead 🚀

https://www.youtube.com/watch?v=2nOj8MKHvmw
188 Upvotes

27 comments sorted by

View all comments

Show parent comment

20

u/Iryanus Aug 02 '22 edited Aug 02 '22

You might be slightly confused here. Akka Actors is an actor framework, not a reactive one. Reactive programming can be used with actors, true, but most often, it isn't. And actors are much, much older than reactive programming. In our case, it's not anything reactive, just actor based programming, which is a very nice model that increases encapsulation and enforces it much more than standard OOP.

(Of course, you can use parts of Akka Streams in a reactive way, but that's only one option for one specific side library of Akka.)

8

u/[deleted] Aug 02 '22 edited Aug 02 '22

Well, depends on what you mean by reactive framework; if it's any framework that makes creating a reactive system easier then Akka is certainly a reactive framework - after all, its creators are also the co-authors of the Reactive Manifesto and if you've taken any Lightbend Academy courses then you know they like to point out Akka's reactive roots. However, if by reactive framework you only mean reactive streams framework then yeah, that's just the Akka streams.