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.
Asked
Active
Viewed 326 times
0

Andrew Thompson
- 168,117
- 40
- 217
- 433

Marc H
- 1,228
- 3
- 18
- 29
-
Third party library for what, exactly? – Dave Newton Jan 08 '12 at 18:29
3 Answers
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
- 168,117
- 40
- 217
- 433
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,460
- 3
- 27
- 47