WebSphere Adapter for Email

Generating reference bindings

Create a reference in the assembly editor from the adapter project to a stand-alone reference. A stand-alone reference represents an a generic J2EE component, such as an application server. By wiring the adapter project to a stand-alone reference, 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 outbound project and select Open With > Assembly Editor . Opening the Assembly Editor
    Steps for opening assembly editor are in the surrounding text.
    The Assembly editor opens in WebSphere® Integration Developer. An icon representing your adapter module interface is present in the assembly editor.
    The adapter project is loaded into the assembly editor.
    Assembly Diagram window with EmailOutboundInterface representation
  3. In the assembly editor, identify and click the Import icon. It is a green arrow.
  4. Identify and click the Stand-alone References icon (blue arrow) and drag it into the assembly editor.
  5. Create a wiring from the stand-alone reference to the adapter project by clicking the side of the stand-alone reference representation and dragging the wire to the adapter project representation.
    Create a wiring using the wiring tool.
    Assembly Diagram EmailOutboundInterface wired to Stand-alone References
  6. Optional: If a message appears telling you that a reference will be added to the source node and asking you to continue, click OK.
  7. Save the changes.
  8. Right-click the business integration module project and select Open Dependency Editor.
    The image shows how to open the dependency editor from the adapter project in the project explorer.
    Opening Dependency Editor
  9. Click Add to add your J2EE project.
  10. Select your project from the list and save.

Result

A reference binding is created linking the adapter to application server processes.

What to do next

Export the adapter project 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)