A design pattern for using non-developmental items in real-time Java

This paper addresses the need to reduce the difficulties in developing time-constrained Java applications. We present a design pattern for a class of time-constrained real-time applications that allows developers to use (and re-use) Java code libraries and non-developmental items (NDI). The proposed design pattern simplifies the implementation of the time-constrained tasks substantially by not requiring the use of no-heap real-time threads. We tested the design pattern with the Java Real-Time System (RTS) 2.0 from the Sun Microsystems. This paper also presents a simple methodology for determining the appropriate values for the RTS run-time parameters (thread priorities, memory usage, process load, and task deadlines) in order to ensure the deterministic execution of the time-constrained tasks.

[1]  Lui Sha,et al.  Designing for evolvability: building blocks for evolvable real-time systems , 1996, Proceedings Real-Time Technology and Applications.

[2]  James Gosling,et al.  The Real-Time Specification for Java , 2000, Computer.

[3]  James Bret Michael,et al.  Experiments with Sun Java Real-Time system , 2007 .

[4]  James Bret Michael,et al.  Design of preliminary experiments with the Sun Java Real-Time system , 2006 .

[5]  Riccardo Bettati,et al.  Imprecise computations , 1994, Proc. IEEE.

[6]  Jan Vitek,et al.  Real-time Java scoped memory: design patterns and semantics , 2004, Seventh IEEE International Symposium onObject-Oriented Real-Time Distributed Computing, 2004. Proceedings..

[7]  Jan Vitek,et al.  A High Integrity Profile for Memory Safe Programming in Real-time Java , 2005 .

[8]  Daniel L. Dvorak,et al.  Programming with non-heap memory in the real time specification for Java , 2003, OOPSLA '03.

[9]  Andy J. Wellings,et al.  Ravenscar‐Java: a high‐integrity profile for real‐time Java , 2002, JGI '02.

[10]  Lui Sha,et al.  The Simplex architecture for safe online control system upgrades , 1998, Proceedings of the 1998 American Control Conference. ACC (IEEE Cat. No.98CH36207).

[11]  Lui Sha,et al.  Simplex Architecture: Meeting the Challenges of Using COTS in High-Reliability Systems , 1998 .