Prev | Current Page 301 | Next

Timothy J. Thompson, C Bala Kumar, and Paul Kline

"Bluetooth Application Programming with the Java APIs Essentials Edition"


254 Chapter Eight: L2CAP
9CHAPTER Push Registry
This chapter covers how to utilize the Push Registry with JABWT. In
particular, this chapter covers the following:
??? A brief introduction to the Push Registry
??? How to statically/dynamically register and unregister connection
strings
??? How to update service records on a Push Registry service
9.1 Overview
Most Java ME devices support only running a single Java MIDlet at a
time. (This may be changing in the next couple of years as a result of
devices getting more capabilities, memory, and resources.) Because of
the resource-constrained nature of a Java ME device, running multiple
background MIDlets is typically not supported. Lack of support for
running MIDlets in the background made it difficult to support applications
that would simply wait to receive a connection or message from a
remote device. This issue came to a head around the time JSR-120
(Wireless Messaging) was being completed. Developers were looking
for ways to pass messages to Java ME devices that may be consumed
by MIDlets. Historically, MIDP 1.0 devices assumed a pull method of
getting data, requiring the MIDlet to be running to receive data.
When the original JABWT specification was completed, this issue
became even more pronounced. While the JABWT specification did not
solve the problem, it did expect to see such a capability defined in the
future.


Pages:
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313