You can create Derby databases for use on read-only media such as
CD-ROMs.
Derby databases in zip or jar files are also read-only databases.
Typically, read-only databases are deployed with an application in an embedded
environment.
Accessing databases within a jar file using the classpath
Once an archive containing one or more Derby databases has been created it can be placed in the classpath. This allows access to a database from within an application without the application's knowing the path of the archive.