Are there any libraries create programs in java that uses a file as a database and you don't have to install database services on the computer you are going to use it?
+3
A:
We are successfully using http://www.sqlite.org/ along with http://www.zentus.com/sqlitejdbc/ as JDBC driver.
Manuel Selva
2010-08-26 13:25:05
+5
A:
Derby and Hypersonic SQL can both be run in memory and server modes.
duffymo
2010-08-26 13:26:22
+1. This should be the answer, not sqlite which requires platform specific libraries. Just add some links: http://db.apache.org/derby/ http://hsqldb.org/ http://www.h2database.com/html/main.html
tulskiy
2010-08-26 16:55:58
+2
A:
Derby can run in the Embedded mode as mentioned above. It actually is included in Java 6 SE and called Java DB instead (although it is really just Apache Derby). It is quite easy to use, although the default database tool (ij) isn't great. I would use something like SQuirreL SQL to view the data.
Awaken
2010-08-26 13:57:29
+1
A:
Besides the already mentioned embedded relational databases, there are also non-relational embedded Java databases like exist (an XML DB) or db4o (an object DB).
Fabian Steeg
2010-08-26 14:01:48