How the adapter works

The following sections describe how the adapter processes business objects.

Business object processing

The adapter receives business object requests from an integration broker and builds the parameter list for the RPG program, then establishes a connection with an iSeries or AS/400 system and ececutes the program.

The incoming business object has the connection child attribute. The information in this attribute is used to connect to the iSeries or AS/400 system.

Connector operations

The connector passes business objects between the integration broker and a business object handler. The connector:

  1. Registers the BOHandler with the framework.
  2. The framework sends the BO request to the BOHandler.
  3. The BOHandler uses the attribute information in the incoming business object to build the RPG program parameter list.
  4. The BOHandler calls the RPG program running on the iSeries or AS/400 system.
    Note:
    This is essentially a call to execute an RPG program on the iSeries or AS/400 system which then returns a succes or fail message.
  5. The BOHandler then returns the results of the execution of the RPG program to the adapter framework. It also populates the business object with the returned parameters.

The adapter is written in Java and consists of two components:

Copyright IBM Corp. 1997, 2003