Introduction
In this tutorial, we will build a typical Java 2 Platform, Micro Edition (J2ME) application, called UniStocks, based on CLDC (Connected Limited Device Configuration) and MIDP (Mobile Information Device Profile) APIs. As we build the application, we'll cover the following topics:
- MIDlet basics
- MIDP high-level user interface design
- MIDP low-level user interface design
- Record management system (RMS)
- J2ME networking and multithreading
- Server-side design
- Application optimization and deployment
- Overcoming J2ME limitations
UniStocks is a stock application that enables the user to access and manage information of any stock -- anywhere, anytime.
Like any stock application on your PC or on the Web, UniStocks lets the user:
- Add stocks (store stock symbols on a phone)
- Delete stock(s) (remove stock symbols)
- View live information of selected stocks, such as current high price, low price, volume, etc.
- View charts of historical data (one month, three months, six months, one year), price, volume, and so forth.
UniStocks is based on a client-server architecture. The server will provide all required stock information, such as live data and historical data.
Figures 1 through 3 show the main menu; the downloading status, and the stock historical chart, respectively.
Figure 1: UniStocks main menu
Figure 2: UniStocks download status
Figure 3: UniStocks historical chart




