0

I really like the way adobe has integrated sqlLite into their AIR api. I'd love to utilize similar functionality in a Java SE 7 desktop application I'm currently coding. Can anyone recommend a simple third party library for this? I'm not doing anything heavy duty with it -- just to keep track of user accounts, pws, plus a few other data items.

Andrew Thompson
  • 166,747
  • 40
  • 210
  • 420
Marc H
  • 1,198
  • 3
  • 17
  • 29

3 Answers3

1

Java Web Start can provide a painless install experience for the end user.

For the database, call the installer from an extension declared as an installer-desc, and it will be called the first time the app. is downloaded. Here is a demo. of the ExtensionInstallerService.

Community
  • 1
  • 1
Andrew Thompson
  • 166,747
  • 40
  • 210
  • 420
1

Here is a discussion on SO about 3 different embedded databases, Derby (which Java DB is based on), H2, and HSQLDB.

Embedded java databases

Community
  • 1
  • 1
Paul
  • 19,097
  • 13
  • 76
  • 95
0

There several embedded databases you could use such as HSQL DB or Apache Derby. I believe it is also possible to use SQLite as well.

Also, if the data is extremely simple perhaps a simple XML/flat file storage system could work equally well.

Michael
  • 2,360
  • 3
  • 24
  • 47