Experience in building a real-time extension library for Java

Hsin Ta Chiao*, Scott Hsu Jing Kao, Yue Shan Chang, Shen Tzay Huang, Shyan-Ming Yuan

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

For building real-time control programs on PC controllers, we designed and implemented a real-time extension library to enhance 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 easily ported to any other priority-based real-time operating system. Third, the core of this extension library is basically derived from a subset of the Real-Time Specification for Java (RTSJ) standard, and thus our real-time control program can be moved 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 will show the requirement, application programming interface, and implementation of this extension library, and discuss its influence on timing.

Original languageEnglish
Pages (from-to)905-927
Number of pages23
JournalJournal of Information Science and Engineering
Volume18
Issue number6
DOIs
StatePublished - 1 Nov 2002

Keywords

  • Asynchronous event handling
  • Java™
  • POSIX
  • Real-time systems
  • RTSJ

Fingerprint Dive into the research topics of 'Experience in building a real-time extension library for Java'. Together they form a unique fingerprint.

Cite this