Integrating Complex Event Processing and Transactional Dataflow
Integrating Complex Event Processing and Transactional Dataflow
Modern applications are often driven by user interactions and user triggered events. Traditional event handling logic using imperative code and the observer pattern can quickly become complex and error-prone. Reactive programming frameworks try to solve this by simplifying specification of event handling and dataflow. Although modern reactive frameworks can improve the event handling experience a lot, they still lack expressiveness for more complex events. When handling such event, a fallback to imperative code and observers is often needed. In this thesis we extend the ReScala framework with so-called reactors to provide a simple tool for complex event processing in a reactive context. Reactors embed imperative code into a reactive object, which changes state depending of series and combinations of events.

