Example: Using persistent storage (record store)

This example MIDlet shows you how to use the Record Management System (RMS). The MIDlet demonstrates four different approaches to using RMS. It measures the efficiency of each approach, and displays the results.

RMS is modeled after a simple record-oriented database, where a record store is a collection of data that remains persistent across multiple invocations of a MIDlet.

Figure: PersistentStorage MIDlet

Prerequisites

You need the following to develop and test this MIDlet:

  • Series 40 2nd Edition or S60 2nd Edition FP2 SDK or newer

  • Series 40 2nd Edition or S60 2nd Edition FP2 device or newer

For instructions on how to set up the Java ME development environment, see section Setting up the development environment.

Development

For more information about the MIDlet, see:

  • Design for information about the design and functionality of the MIDlet

  • Implementation for instructions on how to implement the MIDlet

You can download the project files for the MIDlet from the download page.