Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

9.1 Overview

Stored procedures and stored functions that are coded in Java are called Java stored procedures and Java stored functions, respectively. They are referred to collectively in this chapter as external Java stored routines.

External Java stored routines cannot be used on all HiRDB operation platforms. For details, see the section that describes environments in which Java stored procedures and Java stored functions can be used in the HiRDB Version 9 System Operation Guide.

The following figure shows the procedure from creation to execution of an external Java stored routine.

Figure 9-1 Procedure from creation to execution of an external Java stored routine

[Figure]

Explanation
  1. Create an external Java stored routine. For details, see 9.2.1 Creating an external Java stored routine.
  2. Test and debug the Java stored routine as a client AP. For details, see 9.2.1 Creating an external Java stored routine.
  3. Register the JAR file in HiRDB. For details, see 9.2.2 Registering the JAR file.
  4. Define the external Java stored routine. For details, see 9.2.3 Defining the external Java stored routine.
  5. Execute the external Java stored routine. For details, see 9.2.4 Executing the external Java stored routine.