background image
<< Copyright | Product documentation for Derby >>
<< Copyright | Product documentation for Derby >>

Introduction to Derby

Getting Started with Derby
8
Introduction to Derby
Welcome to Derby! Derby is a full-featured, open source relational database
management system (RDBMS) that is based on Java technology and SQL.
Derby is written and implemented completely in the Java programming language. Derby
provides users with a small-footprint standards-based database engine that can be tightly
embedded into any Java based solution. Derby ensures data integrity and provides
sophisticated transaction support. In the default configuration there is no separate
database server to be installed or maintained by the end user. For more information on
Derby, visit the Derby Web site at
http://db.apache.org/derby
.
The on-disk database format used by Derby is portable and platform-independent. You
can move Derby databases from machine to machine without needing to modify the data.
A Derby application can include a pre-built, populated database if it needs to, and that
database will work in any Derby configuration.
Before you install Derby, you should understand the deployment options and system
requirements.
Deployment options
The Derby software distribution provides two basic deployment options (also referred to
as frameworks), the simple embedded option and the Derby Network Server option.
Embedded
Refers to Derby being started by a simple single-user Java application. With this
option Derby runs in the same Java virtual machine (JVM) as the application. Derby
can be almost invisible to the end user because it is started and stopped by the
application and often requires no administration.
The Derby documentation often refers to this as the embedded configuration or
embedded mode.
Server (or Server-based)
Refers to Derby being started by an application that provides multi-user connectivity
to Derby databases across a network. With this option Derby runs in the Java virtual
machine (JVM) that hosts the Server. Applications connect to the Server from
different JVMs to access the database. The Derby Network Server is part of the
Derby software distribution and provides this type of framework for Derby. Derby also
works well with other, independently developed Server applications.
The Derby documentation often refers to this as the Network Server configuration or
client/server configuration.
System requirements
Derby is a database engine written completely in the Java programming language. The
database will run in any certified Java Virtual Machine (JVM).
You must have a Java Development Kit (JDK) version 1.4 or higher installed on your
computer. The JDK is required to perform the activities in the
Self-study tutorial for users
new to Derby
.
To check that the correct version of the JDK is installed, issue the
java -version
command.