Chapter 15. XML for Small Devices CHAPTER OVERVIEWWhat Is XML?Challenges for Small DevicesXML Parsing ModelsIntroducing Amazon XML ServicesAmazon Services via XmlPullAmazon Services via kDOMA Mobile RSS client XML is the foundation of componentized and interoperable Web Services. Java and XML are perfectly suited for each other, since Java provides code mobility while XML provides data mobility. In this chapter, we discuss why XML is so important, and we explore common XML parsing APIs on the Java platform and XML support on the J2ME platform. An example of Amazon XML Web Services demonstrates how to process real-world XML messages using different APIs. Finally, we learn about an RSS XML client, and the important concept of XML-based data aggregation is introduced. |