JavaZone 2011 - The Future is Reactive
As programming is more and more based on events and asynchronous
calls, the limitations of the observer pattern are becoming
obvious. Reactive programming solves this by operating on streams of
events rather than the events themselves.
Frameworks for reactive programming in functional programming
languages have existed for some time, but Reactive Extensions (Rx)
from Microsoft marks a breakthrough for this paradigm in imperative
languages. Reactive programming has also become popular in Scala.
This is a practical introduction to reactive programming. Currently,
this paradigm is less convenient in Java than in Scala or C#, but when
Java gets lambda expressions (closures) this will improve a lot...
Ivar Rummelhoff
Ivar Rummelhoff is a principal engineer at Computas AS. He has a PhD i
Logic (Type Theory) and a lifelong interest in programming and
programming languages. At work he is mainly using Java and C#, at home
everything else.
