Chapter 17. The J2ME Web Services Optional Package

CHAPTER OVERVIEW

  • The J2ME Web Services Specification

  • The XML Processing API

  • The JAX-RPC API

  • Use the Client Stubs

  • The Service Provider Interface (SPI) for OP Vendors

  • Compare 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 ...

Get Enterprise J2ME™: Developing Mobile Java™ Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.