|
|
||||||||||||||
|
| ||||||||||||||
Part 1 Java XML Programmers Reference Chapter 11: XML Tools for Information Appliances September 17, 2001
Our series takes a look at Chapter 11: XML Tools for Information Appliances.
This chapter focuses on Java, XML, and XSLT technologies for lightweight clients.
Lightweight clients are defined as those with more limited resources than traditional
clients. The term information appliance is used interchangeably with lightweight
client. The obvious devices that fit within this category are personal digital
assistants (PDAs), mobile phones, and pagers. However, many other embedded devices
and consumer electronics may fit into this category: television set-top boxes,
global positioning system (GPS) receivers, thermostats, watches, digital cameras,
even Internet appliances such as kitchen stoves, refrigerators, and radios.
Non-consumer-oriented devices also can fit in this category, such as industrial
automation and control sensors.
However, this definition is not limited to non-PC devices. Any environment
that requires the following should qualify:
In this chapter, we will address three key Java
XML technologies for lightweight clients:
There are a number of acronyms and
terms you'll encounter in the following sections, so let's briefly cover some
terminology before we continue: This chapter starts by discussing why we should consider
using XML on lightweight clients. We introduce the Java 2 Platform, Micro
Edition (J2ME) and its architecture. Then, we cover three lightweight XML
parsers and the XSLT Compiler. Finally, we conclude with a Palm OS application
that beams address book entries in XML format from one Palm device to another using
the Java KVM. Any discussion of using XML on lightweight clients typically
leads to solutions that do not adhere well to standards. W3C XML-related
recommendations and standards usually don't have lightweight clients in mind,
as they are written independently of any platform or operating system. The
implementation of these recommendations often involves resource-intensive
processing not possible on lightweight clients. Therefore, many W3C
recommendations, for instance namespaces and DOM, are not supported, in order
to keep library sizes down. Instead of looking at the XML components covered in this
chapter as non-standard, I encourage you to view them as you might have viewed
tools of the early World Wide Web: useful, but non-standard and non-standardized. This will change with time, as we can see by the recent conglomeration of multiple lightweight Java initiatives into the far-reaching J2ME.
| ||||||||||||||
|
PAGE: 1 | 2 | 3 | 4 | 5 | NEXT PAGE |
||||||||||||||













