Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] J2ME Database

Started by Lord_Evil Oct 14, 2007 at 3:15 PM 3 replies 2k views
Original Post
Lord_Evil
Lord_Evil
Hi there, Does anyone know of a good J2ME compatible database that meets the following requirements? - free, no shareware or trial version - good performance - preferably portable I'm developing for a Windows Mobile 5.0 device if the database needs to be OS specific. Thanks in advance for your help.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
Lord_Evil
Lord_Evil
No one?
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
Antheus
Antheus
Do you mean running the database on such system, or merely accessing it remotely?

Many such applications opt for databases located on central servers, and then use internet connections.

What kind of database should that be? You didn't say anything about the table complexity, query language, data store format, does it even need to be persistent?

As such, java.util.HashMap is a database which meets all of the criteria you did list.
BugHunter
BugHunter
Microsoft SQL Server Compact Edition
http://www.microsoft.com/downloads/details.aspx?FamilyId=%2085E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en

I'm not sure how easy it is to access it from J2ME


Quote:
Original post by Lord_Evil
Hi there,

Does anyone know of a good J2ME compatible database that meets the following requirements?

- free, no shareware or trial version
- good performance
- preferably portable

I'm developing for a Windows Mobile 5.0 device if the database needs to be OS specific.

Thanks in advance for your help.
Lord_Evil
Lord_Evil
Sorry for not being to clear about my requirements.

The data needs to be persisted on the mobile device since I won't have a central server (yet).

I only have a rough list of what is needed but it should be approx. 4-5 tables. Since the amount of records in those tables could go into the 100s or even 1000s I'd say a mere file based storage (using the record set functionality built into J2ME) would be too slow for queries etc.

The query language itself isn't that important. I'd prefer SQL but that's not a must.

Well, thanks for the hint to MS SQL Server CE, BugHunter. Although it doesn't seem to be portable it should be sufficient for a first try.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.