Derby is a lightweight, relational database with a small memory footprint. Derby is written in Java and is very appealing for building and delivering cross-platform solutions that require a full-function RDBMS. Both Sun and IBM are contributing to the Apache Derby project.
http://db.apache.org/derby/