Abstract

  Back to Advance Program


A Real-Time RMI Framework for the RTSJ

Andrew Borg Andy Wellings

To appear at Euromicro Conference on Real-Time Systems (ECRTS03), Porto, Portugal, 2-4 July 2003


Abstract

The Real-Time Specification for Java (RTSJ) provides a platform for the development of real-time applications. However, the RTSJ does not take the distribution requirements of real-time applications into consideration. As distribution in Java applications is often implemented using Java's Remote Method Invocation (RMI), a real-time version of RMI providing remote invocation between virtual machines that implement the RTSJ can provide a platform for writing distributed real-time systems. This paper describes a Real-Time RMI (RT-RMI) framework for the RTSJ that supports timely invocation of remote objects. The thread classes defined by the RTSJ are used to provide the client and server threading mechanisms. The memory model of the RTSJ is considered in the development of the framework to ensure threads correctly use the memory areas that hold the objects needed in the invocation and also avoid leaks in the absence of the garbage collector. New classes are developed to control the threads used throughout the invocation and to provide new semantics for remote objects that can be invoked in a timely fashion. Finally, an example is provided to explain the end-to-end invocation process as defined by the framework.


10 Mar 2003 at 21:02:26