3.3.10 Procedure for resource adapter settings (To use the resource adapter with Inbound)

This subsection describes the procedure for the resource adapter and J2EE application settings for executing message inflow. The procedure for the settings varies depending on whether you directly deploy the resource adapter on the J2EE server, or whether you include the resource adapter in a J2EE application.

Organization of this subsection
(1) Directly deploying the resource adapter on the J2EE server
(2) To include and use the resource adapter in the J2EE application

(1) Directly deploying the resource adapter on the J2EE server

The following figure shows the procedure for specifying the settings for directly deploying the resource adapter on the J2EE server.

Figure 3-10 Procedure for specifying the settings for directly deploying the resource adapter on the J2EE server

[Figure]

A description of points 1 to 5 in the figure is as follows. The server management command-based operations are described here.

  1. Import the resource adapters conforming to the Connector 1.5 specifications.
    Execute the cjimportres command by specifying -type rar.
  2. Deploy the resource adapter.
    Execute the cjdeployrar command.
  3. Define the resource adapter properties.
    Use the cjgetrarprop command to obtain the HITACHI Connector Property file. Edit the file, and then use the cjsetrarprop command to apply the edited content.
    The Administered objects will be set up here. For details on the settings, see 3.16.8(2) Setting up the Administered objects.
  4. Import the J2EE application containing the Message-driven Bean.
    Use the cjimportapp command.
  5. Define the J2EE application properties.
    Execute the cjgetappprop command by specifying -type all to obtain HITACHI Application Integrated Property File. Edit the file, and then execute the cjsetappprop command by specifying -type all to apply the edited content.
    The following items will be set up here:

(2) To include and use the resource adapter in the J2EE application

The following figure shows the procedure for specifying the settings to include and use the resource adapter in the J2EE application.

Figure 3-11 Procedure for specifying the settings for including and using the resource adapter in the J2EE application

[Figure]

A description of points 1 and 2 in the figure is as follows. Note that the server management command-based operations are described here.

  1. Import the J2EE application containing the Message-driven Beans.
    Use the cjimportapp command.
  2. Define the J2EE application properties.
    Execute the cjgetappprop command by specifying -type all to obtain HITACHI Application Integrated Property File. Edit the file, and then execute the cjsetappprop command by specifying -type all to apply the edited content.
    The following items will be set up here: