Supporting Java RMI over Bluetooth Environments

碩士 === 國立清華大學 === 資訊工程學系 === 90 === 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...

Full description

Bibliographic Details
Main Authors: Pu-Chen Wey, 魏溥辰
Other Authors: Jenq Kuen Lee
Format: Others
Language:en_US
Published: 2002
Online Access:http://ndltd.ncl.edu.tw/handle/56353949605325067113
Description
Summary:碩士 === 國立清華大學 === 資訊工程學系 === 90 === 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.