• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JME portable and free database?

 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've been facing a problem during development process using RMS as stated here:
http://www.coderanch.com/t/434045/Java-Micro-Edition/Mobile/do-make-RMS-store-persistent
and after evaluating the possibilities I realize that this is not worth for me, also RMS has too many issues that makes development and evolution not worth to deal with.
So.. what I need is a JME DB wich should be portable between devices and also free.
I'd like sugestions on that.
Any sugestions?

[]s
 
Marcos Maia
Ranch Hand
Posts: 977
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out HSQLDB as well - it's much smaller than Derby/JavaDB, and still quite capable.
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Check out HSQLDB as well - it's much smaller than Derby/JavaDB, and still quite capable.


Are you sure I can run HSQLDB in a JME device? I took a quick look and couldn't find any references to HSQLDB and JME devices in its documentation!!
[]s
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why wouldn't it run there?
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Why wouldn't it run there?


Because of limitations on Java ME JVMs. My project uses MIDP 2.0 and CLDC 1.1 .

[]s
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what limitations you mean -missing classes?- but that should be easy to test. If a more complex DB like Derby can run then I don't see see why HSQLDB couldn't.
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Not sure what limitations you mean -missing classes?- but that should be easy to test. If a more complex DB like Derby can run then I don't see see why HSQLDB couldn't.


I mean JDBC API for example, it's not supported by CLDC devices. In fact during my researches I found out Derby can only be run under CDC compliant devices. So it's also not an option for me. Still researching for an option. Now I could say I will problably use Lite Perst: https://meapplicationdevelopers.dev.java.net/mcobject/perst.html or Floggy: http://floggy.sourceforge.net . As I mentioned I'm new to Java ME world so I'm a bit insecure about the best path to take on this. So I'm still studying the available options.

[]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic