A Design Pattern for Using Non-developmental Items in Real-Time Java

Authors
Otani, T.W.
Auguston, M.
Cook, T.S.
Drusinsky, D.
Michael, J.B.
Shing, M.
Subjects
Real-time system
Java programming language
Garbage collection
Design pattern
Non-developmental items
Advisors
Date of Issue
2007
Date
Publisher
Language
Abstract
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 timeconstrained 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.
Type
Article
Description
Series/Report No
Department
Computer Science (CS)
Organization
Identifiers
NPS Report Number
Sponsors
Funder
Format
Citation
Distribution Statement
Rights
This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.