| Free tutorials for Java, Eclipse and Web programming |
Version 0.5
Copyright © 2009 Lars Vogel
10.09.2010
| Revision History | ||
|---|---|---|
| Revision 0.1 | 10.01.2009 | Lars Vogel |
| Created | ||
| Revision 0.2 - 0.5 | 19.01.2009 - 10.09.2010 | Lars Vogel |
| bug fixes and enhancements | ||
Table of Contents
Apache Derby is an open source database written in Java. It is free and performs well. Apache Derby is used in the JDK and is called Java DB. Apache Derby and Java DB are essentially the same. Apache Derby is the reference implementation for JDBC 4.0 and compatible to ANSI-SQL. JDBC is the Java interface to connect to databases.
Derby can be used in a server mode and in so-called embedded mode. If Derby runs in the server mode you start the Derby network server which will be responsible for handling the database requests. In the enbedded mode Derby Derby runs within the JVM (Java Virtual Machine) of the application. In this mode only the application can access the database, e.g. another user / application will not be able to access the database.