Chapter 17. The J2ME Web Services Optional Package CHAPTER OVERVIEWThe J2ME Web Services SpecificationThe XML Processing APIThe JAX-RPC APIUse the Client StubsThe Service Provider Interface (SPI) for OP VendorsCompare with kXML and kSOAP A major strength of the J2ME platform comes from the separation between the specification and implementation processes. J2ME API specifications are industry consensuses developed by the JCP. The standardized APIs allow developers to avoid expensive vendor lock-ins because applications written against those APIs run on a wide range of devices.JSR 172, the J2ME Web Services Specification, defines a standard set of APIs for XML processing, and SOAP Web Service clients on the J2ME platform. Any J2ME vendor can implement JSR 172 to enable Web Services on its device platforms. In this chapter, we discuss the JSR 172 and its relationship to the corresponding J2SE/J2EE specifications. The discussions here are based on the JSR 172 proposed final draft 2 released in July 2003. |