Chapter Summary

The MIDP supports networking through its javax.microedition.io package. It provides support for basic connectionless and connection-oriented communication protocols.

The crux of the design of the MIDP networking package is the notion of a generic connection framework. It defines a generic mechanism for applications to make network connections. Moreover, it abstracts the differences in setting up and using different kinds of connections that involve different protocols.

This framework enables application code to be written independently of the specific kind of connection used. This independence is important in pervasive environments where the nature of underlying networks can affect the application services available.

A connection ...

Get Wireless J2ME™ Platform Programming 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.