You can "embed" Derby in
any Java application (single- or multi-user) by deploying the following packages.
- The Derby library (derby.jar).
- The application's libraries. You have the option of storing these libraries
in the database.
- The database or databases used by the application, in the context of their
system directory.
Figure 1. Deploying
an application, embedded Derby software, and the database. Storing the application
in the database and setting properties as database-wide properties simplify
deployment.