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.

Here are the basic steps:

  1. Create jar files for your application
  2. Add the jar file or files to the database
  3. Enable database class loading with a property
  4. Code your applications
Note: If you are interested in making changes to jar files stored in the database or changing the database jar "classpath" of your application without having to re-boot, read Dynamic changes to jar files or to the database jar classpath.
Related concepts
Create jar files for your application
Add the jar file or files to the database
Enable database class loading with a property
Code your applications
Dynamic changes to jar files or to the database jar classpath