WebSphere Adapter for Email

Generating reference bindings

Create a reference in the assembly editor from the adapter project to an endpoint. The endpoint represents an a generic J2EE component, such as the application server. By wiring the adapter project to the stand-alone reference (represented as a component in the assembly editor), you link the adapter to other server processes.

Before you begin

You must have generated artifacts for your adapter project before creating reference bindings.

About this task

To generate reference bindings, follow this procedure.

How to perform this task

  1. Optional: Switch to the business integration perspective by selecting Window > Open perspective > Other > Business Integration Perspective .
  2. Right-click the inbound project and select Open With > Assembly Editor . Opening the Assembly Editor
    The graphic is described in the surrounding steps. It illustrates the inbound interface being right-clicked and opened with the assembly editor.
    The Assembly editor opens in WebSphere® Integration Developer. An icon representing your adapter module interface is present in the assembly editor.
  3. Create a component. The component represents a J2EE client, like an application server, that reads inbound requests from the adapter.
  4. Identify and drag the Component (with no implementation type) icon into the Assembly Editor.
    The component is loaded into the assembly editor.
    Assembly Diagram window with EmailInboundInterface representation
  5. Click the side of the stand-alone reference representation and drag the wire to the adapter project representation. This draws a wire from the adapter project to the new component.
    The wire tool is used to wire the component to the inbound reference.
    Assembly Diagram EmailInboundInterface wired to Component 1 representation
  6. Click OK if any dialog boxes ask you to save the changes.
  7. Right-click the component and select Generate Implementation > Java.
  8. Select the default package and click OK. WebSphere Integration Developer generates the Java implementation for the endpoint component and opens it in a window.
  9. Save the generated Component1 Java™ implementation and the assembly diagram.

Result

A reference binding is created linking the adapter to the J2EE client.

What to do next

Configure an inbound adapter module or export the outbound adapter module to an EAR file. The EAR file can be deployed to the application server.

Terms of use |

Last updated: Mon 30 Oct 2006 03:44:38

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