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
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.
Class loading overview
You store application classes and resources by storing one or more jar files in the database. Then your application can access classes loaded by Derby from the jar file and does not need to be coded in a particular way. The only difference is the way in which you invoke the application.