Master
'
s Thesis 2006 
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui 
STUTTGART
TECHNIK
The implementation 
        STUTTGART UNIVERSITY OF APPLIED 
SCIENCES 
4.4 
J2ME Record Management Store (RMS) 
The Mobile Information Device Profile    the platform for mobile Java applications    
provides a mechanism for MIDP applications to persistently store data across multiple 
invocations.  This  persistent  storage  mechanism  can  be  viewed  as  a  simple 
record oriented database  model  and  is called the record management system (RMS), 
through  which  MIDlets  can  persistently  store  data  and  retrieve  it  later.  In  a 
record oriented approach, J2ME RMS comprises multiple record stores. An overview 
of J2ME RMS and MIDlet interfacing is given in Figure 21. 
Record Management System 
Record 
Store 
MIDLet 
MIDLet 
Fig. 21: 
Overview of J2ME RMS and MIDlet interfacing 
Each  record  store  can  be  visualized  as  a  collection  of  records,  which  will  remain 
persistent  across  multiple  invocations  of  the  MIDlet.  A  record  store  is  created  in 
platform dependent locations, like nonvolatile device memory, which are not directly 
exposed to the MIDlets.   
3.4.1  Managing the device database 
MDIP provides the set of classes and Interfaces in the package 
javax.micoredition.rms 
to  work  with  RecordStore  and  this  set  of  API
'
s  are  called  as  RMS.  The 
javax.microedition.rms.RecordStore
  class  represents  a  RMS  record  store.  It  provides 
43 




PHP MySql Web Hosting Design and Implement Client Applications PHP MySQL Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.