This section explains how to use and configure Derby in
an embedded environment.
If you installed the Demos and Samples for the JDK, you can run the
sample application program $JAVA_HOME/demo/db/programs/simple,
which illustrates how to run Derby
embedded in the calling program. See "Installing Java DB" in
Getting Started with Java DB for details on installing
the sample programs.
Derby JDBC driver
Derby consists of both the database engine and an embedded JDBC driver. Applications use JDBC to interact with a database. Applications running on JDK 5 or earlier must load the driver in order to work with the database.