Possible Duplicate:
Embedded java databases
I want to embed a java relational database in my web application which I can just use by dropping a JAR file in the libs directory. What choices do I have?
Possible Duplicate:
Embedded java databases
I want to embed a java relational database in my web application which I can just use by dropping a JAR file in the libs directory. What choices do I have?
java has has a small database included from version 6 on
http://www.oracle.com/technetwork/java/javadb/index.html
it's a fork of http://db.apache.org/derby/
another popular choice is http://hsqldb.org/
There is H2:
Welcome to H2, the Java SQL database. The main features of H2 are:
- Very fast, open source, JDBC API
- Embedded and server modes; in-memory databases
- Browser based Console application
- Small footprint: around 1 MB jar file size
You could try Apache Derby DB, a variant of which is included in J2SE 6.