WebSphere Adapter for Email

Generating reference bindings

Create a reference in the assembly editor from the adapter project to a stand-alone reference. The stand-alone reference represents an a generic J2EE component, such as the application server. By wiring the adapter project to the 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. For more information on wiring reference bindings, see the WebSphere® Integration Developer documentation.

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 .
    Right-clicking the module in the WebSphere Integration Developer and opening the assembly editor.
    Opening the Assembly Editor
    Email outbound reference binding in the assembly editor. How to get to this is noted in the surrounding text.
    Assembly Diagram window with EmailOutboundInterface representation
  3. In the assembly editor, locate and click the Import icon (a green arrow).
  4. Locate and click the Stand-alone References icon (a blue arrow) once. Then, click once in the assembly editor to place the stand-alone reference.
  5. Create a wire between 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.
    Wire the outbound adapter project to the imported component.
    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 adapter 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.
    Click add to add your new reference bindings to the J2EE project.
    Selecting a J2EE project
  10. Select your project from the J2EE list and save.

Result

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

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)