Wednesday, August 20, 2008

Adapters

Adapter How to

Websphere Integration Developer v612

Contact us...

Contents

Introduction

Overview

Introduction

Adapters enables you to connect to enterprise information systems (EIS).

WebSphere® Adapters, also known as resource adapters, enable managed, bidirectional connectivity between enterprise information systems (EISs) and J2EE components supported by the server.

IBM® adapters allow you to integrate enterprise applications, and data storage facilities, in a service-oriented way. Adapters expose low-level EIS functions, or events, in the form of a service.

Adapters are sometimes referred to as resource adapters, and provide a standard interface to proprietary systems. Using standard interfaces avoids the maintenance issues associated with non-standard solutions.

Some adapters come with WebSphere® Integration Developer and are licensed for production use, others are only for development purposes: that is, they can be used to develop and test an application. Generally, after you deploy your application to WebSphere ESB, or WebSphere Process Server, you will need a licensed runtime resource adapter.

Types of adapters

There are two types of IBM adapters:

  • WebSphere Adapters

    Also referred to as JCA adapters.
    • WebSphere Adapters are based on Java™ 2 Platform, Enterprise Edition (J2EE) Connector architecture (JCA), and are the recommended adapters to use with WebSphere ESB and WebSphere Process Server.
    • If an application is developed with a WebSphere Adapter embedded, the adapter is deployed with the application.
  • WebSphere Business Integration (WBI) Adapters

    • WebSphere Business Integration Adapters reside outside of WebSphere ESB or WebSphere Process Server. The run time communicates with this type of adapter through a Java Message Service (JMS) transport layer.
Both types of adapter can be split into two classes:

  • Technology Adapters.
    • Technology adapters let you integrate files, FTP, databases and email: these adapters come with WebSphere Integration Developer and are licensed for production use with WebSphere ESB and WebSphere Process Server.
  • Application Adapters.
    • Application adapters let you integrate enterprise application suites, such as SAP Exchange Infrastructure (XI).
Related links

How to add, configure, and bind an adapter

Related links

Configuring and using adapters

Overview
Before you begin using an adapter, you first need to import it as a project into your application. Resource adapters are bundled into Resource Adapter Archive (RAR) files. RAR files are a type of ZIP file that contain the adapter and a set of additional files that help WebSphere Integration Developer (or any other tool) give you options on configuring the adapter.

There are several ways to add, configure, and bind an adapter. You can add an adapter using any of the following ways:
  1. Use the adapter pattern wizard
    This is the preferred way to add, configure, and bind an adapter. However, the adapter pattern wizard in WID 6.1.2 only support a few adapters.
  2. Use the External service wizard
    You can also use the External service wizard to add, configure, and bind any of the adapters available in WID 6.1.2.
  3. Use the Palette
    You can also use the Palette to add, configure, and bind any of the adapters available in WID 6.1.2.

How to add an adapter using the External service wizard

Related links

Configuring and using adapters

External Service Wizard

In the Business integration view, right-click a module (i.e adapters) and select New > External Service.

Select External Service type

Select the type of service you would like to access (i.e Adapters) and click Next.

Select an adapter

Select the adapter you want to use and click Next.

Import an adapter
Import a resource adapter archive (RAR) from the file system to create a connector project for the adapter.
Select the target runtime (Webpshere process server v6.1 or Websphere ESB Server v6.1).
Click Next.

Set processing direction
Select the direction of adapter processing at runtime (i.e Outbound) and click Next.

Set Service configuration properties
For this service, specify security and connection configuration properties as required.
Click Next.

How to add an adapter using the Palette

Related links

Configuring and using adapters

Select an adapter from the palette
The Palette shows all the available adapters (outbound/inbound) supported in WID 6.1.2.
You can add outbound (imports) and inbound (exports) adapters using the Palette. To do this, click on an adapter (i.e Flat File) and drag/drop it into the Assembly diagram.
Select flat file service creation
You have the option of creating a flat file service using the typical or advanced method.
Select advanced and click Next.

Select an adapter
Select the adapter you want to use and click Next.

Import an adapter
Import a resource adapter archive (RAR) from the file system to create a connector project for the adapter.
Select the target runtime (Webpshere process server v6.1 or Websphere ESB Server v6.1).
Click Next.
Flatfile Project
After importing the adapter, a Flatfile project is created by WID 6.1.2

Set Service configuration properties
For this service, specify security and connection configuration properties as required.
Click Next.

How to configure the flat file adapter

Related links

Configuring and using adapters

Overview

The following adapters can be configured to work with WebSphere Integration Developer. In the documentation for each adapter, you will be shown how to use the external service wizard with the adapter as well as additional information that will be helpful such as field level reference information and runtime information.

Configuring an inbound flat file adapter
For this service, specify security and connection configuration properties as required.

Configuring an outbound flat file adapter
For this service, specify security and connection configuration properties as required.
Click Next.

How to bind an adapter


No comments: