views:

267

answers:

3

Currently I'm developing a Blackberry Application to access internal business contacts in our company. As far as I know there is no database platform for j2me or blackberry applications. What the the best way to store large sets of data without a database?

I found http://www.mcobject.com/j2me_database via google which uses a B-Tree algorithm.

Any other Ideas (besides RMS) , I should test?

thanks!

+2  A: 

You might want to check out the OpenBaseMovil framework or you could build up your own storing engine on top of RMS with own indexing, etc. It's a litte bit overkill, nevertheless.

MicSim
+1  A: 

sqllite is in OS 5.0, but i suspect you can't wait that long.

sybase has a database product for the blackberry that runs i belive on OS 4.1 and higher

http://www.sybase.com/detail?id=1055872

I've never used it, Just heard about it.

haagmm
+1  A: 

There are 3 different ways that I know of to persist on the BlackBerry.

  1. BlackBerry persistent store APIs. It doesn't provide a relational database model but it allows you to persist entire objects.
  2. MIDP record store which are part of the standard MIDP spec.
  3. File connection API's

You best bet is to use the persistent store api's.

http://www.blackberry.com/developers/developerlabs/storingpersistentdata.shtml

beffbernard