Revista Tecnologia (May 2009)

NanoBase: um mecanismo de gerenciamento de arquivos para a plataforma JME CLDC/MIDP

  • Leonardo Eloy,
  • Vitor Vasconcelos,
  • José Maria Monteiro,
  • Ângelo Brayner

Journal volume & issue
Vol. 29, no. 1

Abstract

Read online

Increasing advances in mobile computing made possible the development of new and sophisticated applications, which can store data in the mobile devices. The JME platform has emerged as a standard for developing applications for mobile devices, the so-called embedded applications. The RMS API is responsible for ensuring data persistence in the JME platform. In other words, this API provides support for manipulating records stored in files. However, the RMS API “views” files as a set of arrays of bytes. Such a feature makes the process of accessing data in JME platform a very complex and inefficient. Moreover, since no index structure is supported in JMS platform, the access to subset of records in a file tends to be quite inefficient. This work presents NanoBase, a mechanism which provides relational database features for the JME/CLDC platform. A key feature of Nanobase is the ability of processing SQL queries. Moreover, NanoBase can build and manipulate different index structures, such as B+ trees and hash indexes, for efficiently accessing data in JME platform. In order to show the benefits of using NanoBase, we have run extensive performance tests and made comparative analysis with other solutions.

Keywords