apache > db
Apache DB Project
 
Font size:      

Code your applications the way you normally would

Code your applications the way you normally would

In your applications, you cause classes to be loaded the way you normally would:

  • indirectly referencing them in the code
  • directly using java.lang.Class.forName

In your applications, you load resources the way you normally would, using the standard java.lang.Class.getResourceAsStream, a mechanism that allows an application to access resources defined in the class path without knowing where or how they are stored.

You do not need to make any changes to the way code interacts with Derby and its JDBC driver. An application can safely attempt to boot Derby, even though it is already running, without any errors. Applications connect to Derby in the usual manner.

Note:
The method getResource is not supported.

Previous Page
Next Page
Table of Contents
Index