Connection Types

Before describing the mandatory HTTP protocol and other connections, we will cover the optional socket connections because they form the basis for higher-level protocols such as HTTP or FTP. Actually, it might be possible to create a CLDC-based device without display, implementing a Web server as a user interface. Examples might be configurable network routers or production control hardware.

Note

We cannot cover all the underlying protocols in full detail here, so we will mainly focus on the Java API. For complete coverage, refer to the corresponding standard specifications or other protocol specific literature.

General Socket Connections

Socket and datagram connections are simple basic IP connection types. Although sockets ...

Get Java™ 2 Micro Edition Application Development 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.