• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JME portable and free database?

 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I've been facing a problem during development process using RMS as stated here:
https://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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have found a list here!

https://coderanch.com/t/230853/Java-Micro-Edition/Mobile/List-Database-J-ME


 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why wouldn't it run there?
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

[]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic