Persistent storage in MIDP is centered around record stores. A record store is a small database that contains pieces of data called records. Record stores are represented by instances of javax.microedition.rms.RecordStore. In MIDP 1.0, the scope of a record store is limited to a single MIDlet suite. Said another way, a MIDlet can only access record stores that were created by a MIDlet in the same suite. Figure 8-1 shows the relationship between MIDlet suites and record stores. MIDP 2.0 allows optional sharing of record stores. See the section on "Sharing Record Stores in MIDP 2.0" later in this chapter.
Record stores are identified by a name. Within a MIDlet suite's record stores, the names must be unique.