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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access