Persistent storage

For data storage and retrieval, MIDP 2.0 features a Record Management System (RMS) that is modeled after a simple record oriented database. A record store is a collection of data that remains persistent across multiple invocations of a MIDlet.

MIDlets in the same MIDlet suite have access to the same record store database, which is always stored on the same drive as the MIDlet itself (phone memory or memory card). The size of record store database is limited only by free disk space. A RecordStoreFullException is thrown when free space runs out. Each record in a record store is an array of bytes.

For more information, see RMS package specification and FileConnection Optional Package 1.0 specification.