JISE


  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]


Journal of Information Science and Engineering, Vol. 18 No. 6, pp. 905-927


Experience in Building a Real-Time Extension Library for Java


Hsin-Ta Chiao, Scott Hsu-Jing Kao+, Yue-Shan Chang++
Shen-Tzay Huang+ and Shyan-Ming Yuang
 
Department of Computer and Information Science 
National Chiao Tung University 
Hsinchu, 300 Taiwan 
E-mail: {gis84532, smyuan}@cis.nctu.edu.tw 
+Department of Computer and Information Science 
National Pingtung University of Science and Technology 
Pingtung, 912 Taiwan 
E-mail: {m8856004, sthuang}@mail.npust.edu.tw 
++Department of Electronic Engineering 
Ming-Hsin Institute of Technology 
Hsinchu, 304 Taiwan 
E-mail: ysc@mhit.edu.tw


    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.


Keywords: JavaTM, RTSJ, real-time systems, asynchronous event handling, POSIX

  Retrieve PDF document (JISE_200206_04.pdf)