Chapter 4
The Networking Module
Every client application needs a module to allow it to communicate with its associated server or servers. Our Twitter client is no different. In this chapter, we will implement our networking module, which will allow us to access Twitter's services. In the process, we will also examine some interesting aspects related to Java ME networking.
Because writing a networking module from scratch would be too time-consuming and complicated, we will instead use an already existing third-party library to handle the low-level communication with the Twitter servers. We will thus build our module around it, relying on the library to do the dirty work while exposing only high-level functionality to the rest of the application. ...
Get Pro Java ME Apps 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.