Logo image
Supporting Java RMI over Bluetooth Environments
Thesis

Supporting Java RMI over Bluetooth Environments

Pu-Chen Wey
Masters, 國立清華大學, 資訊工程學系
2001

Abstract

爪哇 藍芽 遠端程序呼叫 通訊協定 普及運算 Java Bluetooth Remote Method Invocation protocol driver pervasive computing
In this thesis, we build a Bluetooth protocol driver in the Java programming language. This Bluetooth protocol driver includes two layer, one is Host Controller Interface layer and another is Logical Link Control Adaptation Protocol layer. These layers provide the abilities as writing Bluetooth applications in the Java environment. We also define a transport layer for supporting the di®erent physical bus between Bluetooth protocol driver and Bluetooth device. Based on our Bluetooth protocol driver, we build a set of classes that are compatible to the Java socket classes. These Bluetooth socket classes can help programmers who want port the original Java socket programs to Bluetooth or write the communication programs in the Java socket style. Then we make it possible to run the Java RMI over Bluetooth on these Java Bluetooth Socket classes. In our first experiment, we write test programs based on our Bluetooth protocol driver to transmit data of di®erent size through the four di®erent layers in the several times to measure the bandwidth of the Bluetooth protocol driver and the overhead of these layers. In additional, we build a task dispatching system that dispatches tasks to the remote computer and collects results by the Bluetooth RMI. The experiment is done with a pair of EBDK systems on the Java 1.1.8 compatible runtime environment with additional RMI and Java Communications API supports. The experiments show that we have a robust software environments and illustrate application scenarios.

Metrics

1 Record Views

Details

Logo image