Loading classes from a database

You can store application logic in a database and then load classes from the database. Application logic, which can be used by SQL functions and procedures, includes Java class files and other resources. Storing application code simplifies application deployment, since it reduces the potential for problems with a user's classpath.

In an embedded environment, when application logic is stored in the database, Derby can access classes loaded by the Derby class loader from stored jar files.

Related concepts
Deployment issues
Creating Derby databases for read-only use