Book
Information - Bluetooth
for Java
FROM THE BACK
COVER
Dear Reader,
If you’re
holding this book, then you probably have an interest
in either Java programming or wireless communication.
This book covers a hands-on approach on how to develop
Bluetooth applications using the Java programming language.
Don’t worry if you’re new to Bluetooth,
because we provide a concise tutorial of the Bluetooth
protocol in initial chapters of this book. This book
also provides extensive detail on how to use the official
Java Bluetooth API (the JSR-82) and shows you
* How to turn
your Bluetooth-enabled phone or PDA into a Bluetooth
network browser
* How to turn a desktop PC into a Bluetooth print server
* How transfer files between two Bluetooth devices
* How to set up and configure a Bluetooth network simulator
* How to encrypt your data transmissions
In the last three
chapters of the book, we provide information on three
hardware devices that have Bluetooth and Java built-in:
the SND Micro BlueTarget, the Ericsson BlipNet, and
the PsiNaptic PsiNode (which is a Jini-Bluetooth device).
In the appendices of the book, we’ve also included
a getting started guide on how to develop Java Bluetooth
applications on the Palm OS platform, as well as API
listings of the JSR-82 API and the Ericsson BlipNet
API.
We hope that
you enjoy the book,
Bruce Hopkins and Ranjith Antony
ABOUT
THE AUTHORS
Bruce Hopkins
is 7-year Java veteran with experience in distributed
computing and wireless networking. He has an electrical
and computer engineering degree from Wayne State University
in Detroit, and has interest in robotics, microcomputing,
and electronics. He has worked in Java since JDK 1.0a,
and his research studies include distributed computing,
clustering, encryption, and pervasive computing. He
currently works as an independent consultant in the
Metro Detroit area. You can contact him at:

Ranjith Antony
earned his bachelor of technology degree in computer
engineering from the College of Engineering, Chengannur,
Kerala, India, an institute affiliated with Cochin University
of Science and Technology. He became a lecturer in the
Department of Computer Engineering of the Government
Model Engineering College, an institute affiliated with
Cochin University of Science and Technology. In June
1998, he joined Atinav as a software engineer. Presently,
he is working as a senior technical manager and is managing
the Bluetooth-related Java products from Atinav.
CHAPTER
OVERVIEW
Chapter 1: Introducing
Bluetooth: If you’re completely new to Bluetooth,
then this chapter is for you. In Chapter 1, we give
a brief introduction to Bluetooth, with a general explanation
of what you can do with the technology.
Chapter 2: Bluetooth
1.1: In this chapter, we dive right into the dirty details
of the Bluetooth protocol. Here we define the roles
and relationships between the Bluetooth stack, Bluetooth
profiles, and Bluetooth hardware. If you’ve seen
Bluetooth terminology before, but you don’t know
the difference between SDP and SDAP for instance, then
this chapter will help clear things up.
Chapter 3: Before
You Get Started: Chapter 3 is very appropriately named
because it covers all the loose ends that need to be
addressed before we show you how to integrate Bluetooth
and Java.
Chapter 4: Understanding
the Java Bluetooth API: This chapter covers the full
life cycle of a Bluetooth application (whether you’re
using Java or not). This chapter also shows you how
to use the javax.bluetooth package of the official Java
Bluetooth API (the JSR-82) in order to create Bluetooth
applications.
Chapter 5: Bluetooth
with J2ME MIDP: The first complete example of a Java
Bluetooth application is explained in Chapter 5. Before
we present the code, however, we provide a short review
of the J2ME MIDP.
Chapter 6: Creating
a Bluetooth Print Server with the JPS API: Now with
a complete example under your belt, things will start
to get pretty exciting. In Chapter 6, we introduce you
to the Java Printing API and show you how to create
a Bluetooth print server.
Chapter 7: Java
and OBEX: Chapter 7 covers the foundation of the OBEX
protocol, and provides an example on how to transfer
files using the javax.obex package of the JSR-82.
Chapter 8: Using
a Bluetooth Simulator: As you might have guessed, this
chapter is all about how to create Java applications
that interact with virtual Bluetooth devices. In this
chapter, the entire Bluetooth network is simulated in
software.
Chapter 9: Bluetooth
Security: Chapter 9 covers the security measures provided
by the Bluetooth specification in order to make wireless
applications more secure.
Chapter 10: Wireless
Embedded Systems with the Micro BlueTarget: The primary
focus of Chapter 10 is the Micro BlueTarget by Smart
Network Devices. In this chapter, we explore the possibilities
of creating applications with a fully functional computer
that fits in your hand and includes an implementation
of the JSR-82.
Chapter 11: Enterprise
Bluetooth Applications with the Ericsson BlipNet: In
Chapter 11, we introduce you to enterprise Bluetooth
applications and show you how to construct them using
Java and the Ericsson BlipNet.
Chapter 12: Bluetooth
and Jini: In the final chapter of the book, we provide
an overview of Jini network technology and describe
how to implement Jini and Bluetooth together.
Appendix A: javax.bluetooth:
Appendix A is a handy reference that contains all the
method signatures of the javax.bluetooth API.
Appendix B: javax.obex:
Appendix B is a handy reference that contains all the
method signatures of the javax.obex API.
Appendix C: Java
Bluetooth Development on the PalmOS Platform: Appendix
C provides a quick overview of how to get started creating
Java Bluetooth applications on the Palm OS platform.
Appendix D: BlipNet
1.1 API: Appendix D contains full descriptions of the
classes, exceptions, and interfaces that comprise the
BlipNet API. This appendix will be really useful to
have on hand when developing BlipNet applications.
|