17.2 System configuration for using Java stored procedures and Java stored functions

This section explains the system configuration (positions of Java Virtual Machine, JAR file storage, etc.) for using Java stored procedures and Java stored functions.

Organization of this section
(1) Java Virtual Machine position
(2) JRE (Java Runtime Environment)
(3) System configuration in a HiRDB/Single Server
(4) System configuration in a HiRDB/Parallel Server

(1) Java Virtual Machine position

Figure 17-2 shows the position of a Java Virtual Machine in a HiRDB system.

Figure 17-2 Position of Java Virtual Machine in a HiRDB system

[Figure]

1 The Java virtual machine is included in a JRE (Java Runtime Environment). For details about JREs, see (2) JRE (Java Runtime Environment).

2 HiRDB provides the JDBC driver as a standard.

(2) JRE (Java Runtime Environment)

To use Java stored procedures and Java stored functions, a Java Runtime Environment (JRE) is required at the HiRDB server.

(a) How to obtain a JRE

You should be able to acquire necessary information about JREs and obtain the appropriate JRE by visiting the platform vendor's home page. The JRE version depends on the platform. Table 17-2 lists the JRE version for each platform.

Table 17-2 JRE versions

PlatformVersion
HP-UXOther than below1.2.2.04 or later
HP-UX (IPF)1.4.2.02 or later
Solaris1.3 or later
AIX 5L1.3 or later
LinuxOther than below1.3 or later
Linux (IPF)1.4.2 or later
(b) Handling of the JRE included in HiRDB version 07-02 and earlier

A JRE was included in HiRDB version 07-02 and earlier. This JRE will be deleted from the installation directory and the HiRDB directory at the following times:

[Figure]When the included JRE is deleted from the installation directory
The JRE is deleted when the following events occur:
  • The HiRDB version that provided the JRE (07-02 or earlier) is uninstalled.
  • HiRDB version 07-03 or later is installed by overwriting the existing HiRDB.
[Figure]When the included JRE is deleted from the HiRDB directory
When the file required for HiRDB execution is deleted in order to delete HiRDB from the OS (when Y is entered as the response to the pdsetup -d command's execution query message).
(c) Notes about upgrading to HiRDB version 07-03 or later

The following notes apply to upgrading to HiRDB version 07-03 or later.

(3) System configuration in a HiRDB/Single Server

Figure 17-3 shows the system configuration for using Java stored procedures and Java stored functions in a HiRDB/Single Server.

Figure 17-3 System configuration for using Java stored procedures and Java stored functions in a HiRDB/Single Server

[Figure]

(4) System configuration in a HiRDB/Parallel Server

Figure 17-4 shows the system configuration for using Java stored procedures and Java stored functions in a HiRDB/Parallel Server.

Figure 17-4 System configuration for using Java stored procedures and Java stored functions in a HiRDB/Parallel Server

[Figure]