Title :
The analysis and evaluation of design patterns for distributed real-time Java software
Author :
Corsaro, Angelo ; Santoro, Corrado
Author_Institution :
Strategic & Technological Planning, SELEX SI, Rome
Abstract :
The real-time specification for Java (RTSJ) introduces a new memory model featuring some programming constraints that impede the "as-is" use of many well known design patterns. In this context, this paper describes and evaluates two design patterns, developed by the authors for distributed real-time Java software, that are able to overcome the limitations imposed by RTSJ. The first pattern, RTJ-leader-follower; is a RTSJ-compliant version of the well-known leader/follower pattern. The second pattern, called scoped tunnels, provides a new communication mechanism for RTSJ threads executing in different and incompatible memory areas, thus making possible the realization of the standard pattern half-sync/half-async for efficient network I/O handling. The paper presents both a qualitative and quantitative evaluation of these patterns, showing, above all, that they are able to provide a safe execution environment
Keywords :
Java; formal specification; multi-threading; object-oriented methods; object-oriented programming; real-time systems; storage management; RTJ-leader-follower; RTSJ thread; design patterns; distributed real-time Java software; network I/O handling; real-time specification for Java; scoped tunnels; Communication standards; Impedance; Java; Memory management; Middleware; Pattern analysis; Real time systems; Strategic planning; Technology planning; Yarn;
Conference_Titel :
Emerging Technologies and Factory Automation, 2005. ETFA 2005. 10th IEEE Conference on
Conference_Location :
Catania
Print_ISBN :
0-7803-9401-1
DOI :
10.1109/ETFA.2005.1612614