using an rtsj-compatible mvc pattern as basis for configurable event-driven real-time software
In this paper we present an RTSJ-compatible architecture for event-driven software. We provide a case study where this architecture has proven to be flexible and testable. Furthermore it fulfills real-time requirements and includes an effective memory management. Our architecture is based on a modified Model-View-Controller pattern (which we named Model-View-Director). The modification includes the reduction of dependencies and the separation of real-time and non-real-time components. The builder pattern is used to achieve configurability of the software. To ensure communication between the components, the modification also introduces event based communication. We demonstrate the capabilities of the proposed architectural patterns with the implementation of a controller for a commercial pinball game platform. We also discuss the advantages and disadvantages of the architecture and point out the differences to existing real-time architectures and proposed patterns.
real-time java configurable software real-time design patterns real-time programming idioms rtsj