Deploying Derby in an embedded environment
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
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
- Embedded systems and properties
Database-wide properties are stored in the database and are simpler for deployment, while system-wide parameters might be easier for development.