But the overview of JABWT is
presented to lead to a better understanding of the capabilities and the
reasoning behind these APIs.
2.1 Goals
The Bluetooth specification defines the over-the-air behavior for
ensuring compatibility of Bluetooth devices from different vendors.
The Bluetooth specification does not standardize a software API to Bluetooth
stacks for use by Bluetooth applications. JABWT helps solve this
problem by defining the first standard API for Bluetooth application
developers. The overall goal of the JABWT standardization effort
discussed in this book is to define a standard set of APIs that will enable
an open, third-party application development environment for Bluetooth
wireless technology.
The goals were to minimize the number of classes (the total number
of classes in JABWT is 21); keep the API simple and easy to learn and
program; and keep it powerful. The meaningful high-level abstractions
help in third-party application development. This API brings together
the benefits of two different technologies: Bluetooth wireless technology
and Java technology. Having this standard API in the Java language
brings in all the benefits of Java technology, some of which are discussed
in Chapter 1. The abstractions and ease of programming of the Java
language facilitate easy development of complex programs.
Pages:
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62