DBA > Job Interview Questions > DERBY Java Database FAQs

How to Load Classes from a Database?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How to Load 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 both Derby (for database-side methods and stored objects) and your application, includes Java class files and other resources. Storing application code simplifies application deployment, since it reduces the potential for problems with a user's class path.

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

(Continued on next question...)

Other Job Interview Questions