RMS is probably the simplest, and least powerful, of the three approaches because it is a Java standard that has to be implemented the same way on many different devices. It is basic and functional, but not terribly easy to use.
RMS allows an application to create one or more record stores, which in turn stores one or more records. Each record is one large array of bytes and can be of any size, subject to the limits of the OS. RMS does not provide or understand any structure of the data in each record.
The RecordStore
class is at the heart of RMS. Because the RecordStore
is a Java standard, it is found in the javax.microedition.rms
package instead of the BlackBerry-related packages. The RecordStore
class can be instantiated to represent a single RecordStore
object, but it also contains several static methods for operating on record stores in general. Methods such as listRecordStore
and deleteRecordStore
are available at any time and do not require a RecordStore
instance...