WebSphere Adapter for JDBC

Generating reference bindings

Reference bindings are used by other WebSphere® Business Integration Service Component Architecture (SCA) components to access the adapter. You create a reference to the adapter from the project module to link the adapter to other server processes.

About this task

Reference binding generation is required in a testing environment only. It is not necessary when deploying the adapter in a production environment.

How to perform this task

  1. Create SCA component
    1. Go to the Business Integration perspective of WebSphere Integration Developer. In the Business Integration tab, right-click the JDBCEMD module, and select Open With > Assembly Editor.
    2. The Assembly Diagram window is displayed with the module’s Export component in view. To create a new component, click the first icon (Component) in the left-hand (vertical) frame of the window.
    3. Click the first icon in the new menu of icons (it has hover-help that reads Component with no implementation type). The cursor changes to the placement icon.
    4. Click the palette to add the new component to the Assembly Diagram window.
  2. Create a component with no implementation type
    1. Click and drag the module’s Export component to the new component. This draws a wire from the Export component to the new component.
    2. In the Add Wire window, click OK.
    3. The new component displays in the Assembly Diagram window with a wire that connects it to the module’s Export component.

      Click File > Save to save the assembly diagram.

  3. Generate an implementation for the new component
    1. Right-click on the Component with no implementation type and select Generate implementation . . . > Java.
    2. Select Default package and click OK. This creates an endpoint for the inbound module.
    3. Optional: Add print statements to print the data object received at the endpoint for each of the endpoint methods.
    4. Click File > Save to save the assembly diagram.

    For more information, refer to the WebSphere Integration Developer user guide at http://www.ibm.com/software/integration/wid.


Terms of use |

Last updated: Tue 12 Dec 2006 03:32:39

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)