Tuesday, July 15, 2008

Modules and Libraries

Modules and Libraries How to

Websphere Integration Developer v612

Contact us...

Table of Contents

Modules, Mediation Modules, and Libraries Overview

Package assets within modules, mediation modules and libraries to support effective component reuse and application maintainability

How to create a Library

How to create a module

How to create a Mediation Module

Modules, Mediation Modules, and Libraries Overview

Business Integration Module Mediation Module Library

Assembly Diagram Assembly Diagram None
Dependencies Dependencies Dependencies
Business Logic - Processes None None
Business Logic - State Machines None None
Business Logic - Rule Groups None None
Business Logic - Rules None None
Business Logic - Human Tasks None None
Business Logic - Selectors None None
None Mediation Logic - Flows None
Data Types Data Types Data Types
Interfaces Interfaces Interfaces
Mapping - Data Maps None Mapping - Data Maps
Mapping - Interface Maps None None
Mapping - Relationships None Mapping - Relationships
Mapping - Roles None Mapping - Roles
None Mapping - XML Maps None
Events Events Events
You can add the following nodes in a business module Assembly diagram You can add the following nodes in a mediation module Assembly diagram A Library does not use an Assembly diagram

Component (with no implementation type)

Human Task

Java

Process

Rule Group

State Machine

You can generate the following implementation You can generate the following implementation A Library does not use an Assembly diagram
Mediation Flow only

Package assets within modules, mediation modules and libraries to support effective component reuse and application maintainability

Related links

Libraries

Public and private artifacts

Artifacts in a library are public. Artifacts in a module are private. Designers of applications in WebSphere Integration Developer should organize artifacts by taking into consideration logical function and visibility. For example, related data types that are used by various pieces of a system should be placed into a library. Other modules may then easily reuse this library. Only one copy of each artifact needs to be created and maintained using this method. Likewise, related business logic features of the application should be grouped into modules. Componentizing an application in this way will yield a more flexible, easily maintained application. Adding new features to the application will also be easier.

How to create a Library

Related links

Libraries

Creating modules and libraries

Creating the library

A New library

This is a completed Library. It is currently empty.

Follow the steps below to create a library.

Create a Library

Right-click in the Business Integration view and select New > Library.

Assign a Library name

Enter a library name (i.e newLibrary) and click Finish.

A Library is created

An empty library is created.

How to create a module

Related links

Creating modules and libraries

Creating a module for business services

A New Module

This is a completed Module. It is currently empty.

Follow the steps below to create a Module.

Create a Module

Right-click in the Business Integration view and select New > Module.

Assign a Module name

Enter a module name (i.e newModule) and click Finish.

A Module is created

An empty module is created.

How to create a Mediation Module

Related links

Creating modules and libraries

Creating mediation modules

A New Mediation Module

This is a completed Mediation Module. It contains a default mediation flow component (newMediationModule).

Follow the steps below to create a Mediation Module.

Create a Mediation Module

Right-click in the Business Integration view and select New > Mediation Module.

Assign a Mediation Module name

Enter a module name (i.e newMediationModule) and click Finish.

A Mediation Module is created

A mediation module is created.

How to add a Dependency

Related links Adding dependencies to modules and libraries

Dependencies

You can add dependencies (Libraries, Java, and J2EE) to the following:

  • Library
  • Business Module
  • Mediation Module

To add a dependency, double-click on the target module to display the Dependencies window.

On the Dependencies window, select any or all of the dependencies you want to add (Libraries, Java, and J2EE).

For example, to add Libraries as a dependentcy, expand Libraries and click Add...

Select library

Select the Library that you want to add and click OK.

Library is added

The dependency is added.

No comments: