Differences between J2ME and J2SE Networking

The previous sections in this chapter described the full set of networking capabilities in the MIDP. The MIDP java.io package defines all these capabilities. There's no MIDP java.net package as there is in J2SE.

You should also be aware that the MIDP java.io package supports a subset of the familiar J2SE byte- and character-oriented input and output stream classes. In particular, BufferedReader, LineNumberReader, and StringReader classes of the J2SE java.io package are missing from the MIDP java.io package.

Although a basic circuit-based, socket-oriented infrastructure exists in MIDP implementations, MIDP still lacks support for several distributed-communications mechanisms that are available on the ...

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.