Summary

In this chapter we have examined the record store APIs that the MID profile in J2ME offers for storing information on Palm devices. Although quite simple, the RMS classes provide quite sufficient means to store information between MIDlet invocations, turning the device off and on again, device reboots, etc. The RMS classes are useful for storing information downloaded from an external data source using HTTP, for example. In Chapter 7, "Networking," we will examine the process of transferring data to and from an external data source over HTTP, which complements the discussion here on storing information. Together, the two capabilities of the MIDP can allow the developer to build a versatile data management application.

We have also examined the more powerful persistence mechanisms available to the PersonalJava developer. These include persisting objects to files, and accessing relational databases through JDBC.