Master
'
s Thesis 2006 
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui 
STUTTGART
TECHNIK
The implementation 
        STUTTGART UNIVERSITY OF APPLIED 
SCIENCES 
RecordID is a unique identifier used by RMS for identifying the records in a 
particular RecordStore, so the recordID of the record has to be passed to be updated 
and updates new bytes of array using the given below method 
String newappt = "update record"; 
Byte data = newappt.getBytes(); 
Rs.setRecord(RecordID, data, 0, data.length()); 
Listing 16:
 Update a Record 
To read a specified record from RecordStore make a call to 
getRecord 
() method in 
the given below way. 
byte [] readRecord = Rs.deleteRecord(RecordID); 
Listing 17:
 Read a RecordStore 
This given method call will delete the record with a specified recordID. 
Rs.deleteRecord(RecordID); 
Listing 18:
 Delete a RecordStore 
In this application, RMS was used to restore the server list, including WMS name and 
URL. And  in the  further developing, RMS can also store the  image as byte array, to 
reduce the  repetition  times  of  requesting  to the  same  WMS  map  source.  If the  users 
access the same source again  later, the byte array was read from RMS to rebuild the 
image. 
45 




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.