As discussed earlier in this thread, SQLite is one good database to work with for embedded database. Other than i can suggest few more to you, if you want to try them out. Some of the Embedded database work for both web/desktop based applications. And those database even have wrappers for multiple programing languages. Most of the popular languages are supported by the database i'm mentioning here. So here is my view about those databases.
HSQLDB, is embedded database which is preferred by most of the java developers. It supports desktop as well as web applications. It is written for and in java. It is compatible with 1.x branch of JDK. Batch and scrollable result-set functionality is fully supported. But it comes with a price of more footprint than SQLite. HSQLDB also supports free java runtime like Kaffe. Database engine is just 600kb, which is larger than sqlite but still small enough to be qualified for embedded applications.
H2 database has less footprint than HSQLDB. But it is more than SQLite. It also supports most of the JDK versions and JDBC interface support with batch and scrollable functionality is also supported. So if you want to choose between H2 and then H2 is good choice. To be precise, HSQLDB and H2 are perfect for java development. They can be used with C++ and other languages as well. H2 database is more suitable for web development. It comes with web server and console examples. Other than that both these database support CSV read and write access.
Apache Derby which is also included with JDK & Netbeans is also one good alternative as it comes with software. You don't have to download, and if needed recent versions of it can be downloaded from Netbeans. Other than this both
MySQL and
PostgreSQL can be used to for embedded applications.
Comment/Reply (w/o sign-up)