[All]
JDataStore persistence.
By: Ben Matterson
Abstract: How does JDataStore provide persistence for mobile/offline computing?
How does JDataStore provide persistence for mobile/offline computing?
Since JBuilder 2.0, JDataStore provides high performance data caching and compact
persistence for DataExpress DataSets, files and Java Objects. The data store has
a hierarchical directory structure that allows a single DataStore to persist
multiple DataSets, files and objects.
The DataStore component can be used with any DataSet that extends from StorageDataSet
(TableDataSet, QueryDataSet, ProcedureDataSet). In addition, you can use Java
serialization support since JBuilder 2.0. The new DataSetData class can extract edited
or unedited rows from a DataSet. DataSetData implements java.io.Serialization so it can
be used as a parameter to an RMI method or manually streamed between a client and server
as a stream of bytes. DataSetData also has methods for loading its contents back into
a StorageDataSet.
Connect with Us