A portable real-time extension set for Java

Since the fourth quarter of 1999, the authors engaged in a project where Java was employed to build the real-time control program inside a plastic-injection-molding machine. However, at that time, since the official real-time Java standard-the Real-Time Specification for Java (RTSJ) from the Sun Microsystems was still under development, no RTSJ-compliant Java virtual machine was available. To satisfy our requirement, we designed and implemented a real-time extension library for enhancing the Java virtual machine that was already available in the real-time operating system we used. Our extension library has the following advantages: First, the underlying Java virtual machine needs no modification to accommodate it. Second, this extension library is easy to be ported to any other priority-based real-time operating systems. Third, the core of this extension library is basically derived from the subset of the RTSJ public draft, and thus our real-time control program can be move to a forthcoming RTSJ-compliant Java virtual machine without much difficulty. In brief, our work may help suggest ways of implementing RTSJ, or the notion of (degrees of) "minimal" compliance/support of RTSJ based on non-RTSJ Java virtual machines. In this paper, we show the requirement, application programming interface, and implementation of this extension library, and discuss its influence on timing.

[1]  William Foote,et al.  Theory versus practice in real-time computing with the Java/sup TM/ platform , 1999, Proceedings 2nd IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC'99) (Cat. No.99-61702).

[2]  Kelvin D. Nilsen,et al.  Adding real-time capabilities to Java , 1998, CACM.

[3]  G. Kaplan,et al.  Israel: a high-tech haven , 1998 .

[4]  Benjamin M. Brosgol,et al.  A comparison of the concurrency features of Ada 95 and Java , 1998, SIGAda '98.

[5]  C. Preece,et al.  Java in real-time applications , 1998 .

[6]  Deekap Mulchandani Java for Embedded Systems , 1998, IEEE Internet Comput..

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