Upload
gaura
View
89
Download
3
Embed Size (px)
DESCRIPTION
Application Integration with WebSphere Business Integration Adapters. Seminar Outline. Introduction – On Demand Technical Roadmap Integrate Applications and Business Processes to enable On Demand Solutions Business Process Integration - PowerPoint PPT Presentation
Citation preview
e-business on demand
© 2003 IBM Corporation
Application Integration with WebSphere Business Integration Adapters
© 2004 IBM Corporation
e-business on demand
2
Seminar OutlineIntroduction – On Demand Technical RoadmapIntegrate Applications and Business Processes to enable On Demand Solutions
Business Process Integration
● An Introduction to Application Integration and Process Integration● Service Oriented Architecture● WebSphere Business Integration for On Demand Process Integration
------------------- MORNING BREAK --------------------------------------------
Application Integration with WBI Adapters and Collaborations
● WBI Adapters, Business Objects and Mappings● Demo – WBI Adapters and Business Objects● WBI Collaborations, Templates, Deployment and Access● Demo – WBI Collaborations
------------------------- LUNCH ------------------------------------------------------
Application Connectivity - WebSphere Business Integration Event & Message Broker
● Multiprotocol Pub/Sub Message Routing● Message Transformation, Augmentation, and Datasource Integration● Demo – WBI Message Broker
B2B and Business Partner Integration
● WBI Connect
--------------------- AFTERNOON BREAK --------------------------------------
Workflow based Process Integration
● WBI Workflow Business Process Modelling and Monitoring
● Process Modelling in WBI Workbench ● Monitoring with WBI Monitor● Demo – WBI Workbench Modeller
Summary
● Developer Resources
© 2004 IBM Corporation
e-business on demand
3
WBI Adapters and Business Objects
WBI Adapters and the Adapter Framework
Business Objects
● Mappings and Transformations● Application-Specific Information● Object Discovery Agents
Adapter Architecture and Processing
● Adapter Components● Application Event Triggered Processing● WBI Service Call Triggered Processing
Adapter Development
Adapter Deployment
© 2004 IBM Corporation
e-business on demand
4
Process Integration Services
Pro
cess
Ch
ore
og
rap
hy
Cro
ss-
Ref
eren
ce
Tra
nsa
ctio
n /
Co
mp
ensa
tio
n
Sta
teM
anag
emen
t
Au
dit
Sta
ff
BusinessProtocol
BusinessPartner
BusinessProtocol
Personalization
Presentation
Application Connectivity Services
CommonBusiness
ObjectModel
WebSphereBusiness
IntegrationConnect
WebSpherePortal
Partner ServicesUser Interaction
Services
Business Partner Application
ExchangeHubs
Browser
WAP
Process Automation
Human Activity
Events
HR Legacy Finance ERP CRM . . .
WebSphere Business Integration Adapters
Routing Pub/Sub Transformation Mediation
Transport
WebSphere Business Integration Server
Business Modeling and Monitoring
WebSphere Business Integration Reference Architecture
© 2004 IBM Corporation
e-business on demand
5
IBM WebSphere Business Integration Adapters
Are STAND-ALONE Solutions, Meaning That Each Adapter Can Run With Several Integration Brokers
● WBI Server● WMQ Message Broker● WebSphere Application Server - Enterprise
Allow Customers To Link Customer Data, Automate Business Processes And Connect To Trading Partners.
Are 'Spokes' Enabling Data & Transaction Information Exchange - Via A Broker, Or 'Hub' - Between Applications.
Feature Non-intrusive, Event-driven, Two-way Connectivity, Allowing Customers To Extend Business Integration Solutions To Each Application & Providing Control Over The Exchange Of Information.
Offer Event Detection, Full Application Program Interface (API) Support, And Messaging And Transaction Support.
Adapters Are Committed To Support Open Standards Adapter Framework Speeds Time To Implementation
© 2004 IBM Corporation
e-business on demand
6
Application Adapters• Clarify CRM• i2 Active Data Warehouse• MetaSolv Applications• Oracle Applications• PeopleSoft• Portal Infranet• mySAP.com• Siebel eBusiness Applications• WebSphere Commerce• NightFire Applications• Spirent Applications• Telcordia Applications• Retek• Broadvision Commerce• i2• eMatrix• Vantive• Ariba Buyer• IndusConnect Framework • Maximo MEA • QAD MFG/PRO
Technology Adapters• Adapter for e-mail• XML• WebSphere MQ• WebSphere MQ
Integrator• WebSphere MQ
Workflow• JText• JDBC• SWIFT• FIX Protocol
• COM • CORBA • Exchange • Healthcare Data
Protocols • Lotus Domino • iSeries
eBusiness Adapters• Trading Partner Interchange Trading
Networks• Trading Partner Interchange Solo• Trading Partner Interchange On-Ramp• Data Handler for XML• Data Handler for EDI• JMS• Web Services• J2CA / EJB Connection to InterChange
Server• iSoft Peer to Peer Agent
Mainframe Adapters• CICS• IMS Transaction Manager• IMS Database Manager• Adapter for VSAM• DB2 Databases• ADABAS• Natural• IDMS Database
WebSphere Business Integration Adapter Portfolio
© 2004 IBM Corporation
e-business on demand
7
Adapters and Business Objects
A Single Adapter Can Process Data Going In Both Directions A Single Adapter Can Handle Many Types Of Transactions (E.G.
Orders, Customer Data, Etc.) An Adapter Can Use A Single Business Object For Multiple Operations
(E.G. Create, Update, Delete, Retrieve) An Adapter Is Driven From Meta-data In Business Objects Business Objects Are Stored As XML Schemas
EnterpriseEnterpriseApplicationApplication
OrderOrderItemItem
CustomerCustomer
WMQWMQWMQWMQ
Siebel Business
Object
Clarify Clarify Business Business
ObjectObject
SAP SAP Business Business
ObjectObjectGeneric (WBI) Business Objects Generic (WBI) Business Objects
WBI Server WBI Server Adapter Adapter
AgentAgent
Adapter Adapter
FrameworkFramework
© 2004 IBM Corporation
e-business on demand
8
Business Objects
Core Function of a Business Object• Model the data that needs to pass among
systems• Tag the data with a simple operation (“verb”)
• Create, Retrieve, Update, Delete• Exists, Retrieve By Content• Other business logic methods
BrokerBrokerApplicationApplication
AppACustomer.Create108
STI@HomeSoldToActive
…
11 22
33 The Business Object (BO) contains:
1. Name suggesting the represented entity
2. Verb that represents the “action”
3. Data
© 2004 IBM Corporation
e-business on demand
9
Business Object Designer
© 2004 IBM Corporation
e-business on demand
10
Business Object Discovery Agents
Object Discovery Agents (ODA) tools perform object discovery within an application or application specific datasource and build generic (WBI) business object definitions for you
ODA tools are available for many Adapters Oracle Applications JDBC (Oracle, MSSQL, DB2, etc.) I2 ADW SAP PeopleSoft Siebel
More are being developed Object Discovery Kit (ODK) allows a developer to develop their own ODA
for custom or legacy systems Some Adapters have specialized tools to build Business Object Definitions
© 2004 IBM Corporation
e-business on demand
11
Mapping Business Object Attributes
WBI Adapters convert between Application-Specific Business Objects and Generic Business Objects
Mappings must be defined for each Application Specific Business Object Definition
WBI Map Designer is provided for graphically associating fields between application specific and generic business objects
© 2004 IBM Corporation
e-business on demand
12
Mapping Business Object Attributes
Transformations in the mapping steps for each field are provided by the WBI Activity Editor to graphically specify transformation rules
● Nodes provided for Math, String, Database, BO field & API access, BO array manipulation, Utility functions, Conditional expression evaluation, Looping, Logging
© 2004 IBM Corporation
e-business on demand
13
WBI Adapter Components
Adapter Agent – links an application to an integration broker► Application Specific Component – interfaces to the application and understands its API and
how to retrieve and update application data► Adapter Framework – common infrastructure for all adapters that provides services for
broker interaction & communication, logging, common admin & config services, initialization Adapter Controller – runs within the WBI server
► manages list of subscribers for the adapter► transforms between application specific and generic business objects► Contains transport services for communication with the Adapter Agent
Connector Configurator – to set application specific information required to access the application and for general Adapter instance properties
Me
ss
ag
e
Tra
ns
po
rtM
es
sa
ge
T
ran
sp
ort
Ev
en
t
Inte
rfa
ce
Ev
en
t
Inte
rfa
ce
Ja
va
/C+
+
Ja
va
/C+
+
Ge
ne
ric
S
erv
ice
sG
en
eri
c
Se
rvic
es
Utility Utility FunctionsFunctions
Utility Utility FunctionsFunctions
BO BO HandlersHandlers
BO BO HandlersHandlers
Ap
pli
ca
tio
n
Ap
pli
ca
tio
n
Inte
rfa
ce
In
terf
ac
e
Ap
pli
ca
tio
n
Ap
pli
ca
tio
n
Inte
rfa
ce
In
terf
ac
e
Event Event NotificationNotification
Event Event NotificationNotification A
pp
licat
ion
Ap
plic
atio
n
IIOP
MQ
JMS
Adapter Framework App Specific
{ Adapter Agent }
WBI WBI ServerServer
Adapter Controller
© 2004 IBM Corporation
e-business on demand
14
The Adapter AgentResponsible for extracting data (representing a business object) from, and
giving data to, an application (or technology) on behalf of an integration broker
Event Detection & Delivery Something happens in the application, and the adapter needs to notify the integration
broker The adapter could poll for the event, or the application could send it directly to the adapter
Service Call The broker sends a request to the Adapter Agent to update a business object in the
application. The adapter must process the request and send the result back to the broker as a
response.
BrokerEvent delivery
ApplicationExample: User creates customer in application. Adapter must create a business object representing that operation and send it to the broker Service call
© 2004 IBM Corporation
e-business on demand
15
ApplicationSpecific
Code
Adapter Event Processing
archivearchiveApp App data data storestore
eventevent
Event mechanism (trigger)
AdapterFramework
• The Adapter’s application specific code detects updates to objects in the application using
• the application API• a listener component registered to the application’s callback mechanism• triggers on the application’s database• access to the application’s datasources or files
Application
•The application specific component writes entries for each update to its Event Table•Contains Name of the Business Object, Action (Create, Update, Delete), a set of key values, and a date/timestamp• Entries in Event table are moved to Archive table, useful for Event Processing errors, tracing, etc.
© 2004 IBM Corporation
e-business on demand
16
Adapter Event Processing
archivearchiveApp App data data storestore
eventevent
AdapterFramework
Application Specific
Component
Application
The Adapter processes a configured number of entries from its Event Table on each Poll Interval
For each entry, the adapter checks that the Business Object name and the Verb are listed within its Subscription List (which is managed by the Adapter Framework)
If it matches, the Adapter retrieves the rest of the data for the object from the application, builds a WBI application specific business object, including the Verb.
The Adapter Framework sends the application-specific Business Object to the Adapter Controller using a configured transport channel
The Adapter Controller converts the application specific business object to a generic business object and sends it to subscribers
BrokerAdapter controllerAdapter controller
ASBO ASBO
GBO
© 2004 IBM Corporation
e-business on demand
17
Adapter Request Processing
App data storeApp data store
Application AdapterFramework
Application Specific
ComponentBroker
Adapter controllerAdapter controller
ASBO ASBO
GBO
The Adapter Controller Maps The Generic Business Object To An Application-specific Business Object
Adapter Controller determines the transport connection to the adapter agent and sends the Application-specific Business Object
The Adapter Application Specific component creates data in the proper format for the application from the app specific business object
performs the request action associated with the Verb in the request, to update the application generates a Return-status Descriptor and a Response Business Object to the Adapter Framework
The Adapter Framework sends the application specific Response Business Object to the Adapter Controller using a configured transport channel
© 2004 IBM Corporation
e-business on demand
18
Data Handlers
Application side
message
DataHandler
Business Object
string
business
object
XML MessageString Message Name-Value Fixed Width DelimitedSOAP MessageEDI…
A Data Handler is designed to convert application-specific formatted data (“serialized format”) to WBI business objects and
vice versa.
● Data Handlers can be (re-)used from across various Adapters
● Executes within the Adapter Agent’s executing process
● Invoked for a business object to string (serialized) conversion to handle WBI business object request processing.
● Invoked for string (serialized) to business object conversion to handle application event notification.
© 2004 IBM Corporation
e-business on demand
19
WBI Adapter Business Object Processing- the Big Picture
Siebel
SAP
App Table
App Table
1
2EventTable
4
5ArchiveTable
58
10
IntegrationBroker
-WBI Server-WBI Msg Broker-WAS Enterprise
7
9
3
1. Application data is updated – new customer2. Siebel Adapter detects event - creates row in event table3. Siebel Adapter polls the event table4. Siebel Adapter uses application API to retrieve new
customer data – and builds customer ASBO5. Siebel Adapter sends ASBO to WBI Server5. Siebel Adapter moves the event table entry to archive
table
6. Adapter controller creates GBO from ASBO7. WBI Server runs subscribed collaborations8. ASBO created from GBO and sent to the SAP
adapter9. SAP Adapter uses ASBO to update SAP using
BAPI10. SAP Adapter returns the new SAP Customer
ASBO to WBI Server
6
© 2004 IBM Corporation
e-business on demand
20
Adapter Deployment Options
WBI Server
EnterpriseApplication
ConnectorController
Collaboration
Adapter Framework
Application SpecificComponent
JMS IIOP
WebSphereMQ Brokers
EnterpriseApplication
MessageListener
MessageFlow
Adapter Framework
Application SpecificComponent
JMS
WebSphereApplication Server
EnterpriseApplication
EJBs / MDBs
ApplicationComponent
Adapter Framework
Application SpecificComponent
JMS
© 2004 IBM Corporation
e-business on demand
22
Advantages of the WBI Adapter Framework
The WBI Adapter Framework provides…1. A runtime environment for your application specific code
2. Isolation from the adapter-broker messaging
3. Broker independence (WBI, WMQ Message Broker, WAS)
4. Potential to leverage existing IBM Data Handlers
5. Facilities for handling business objects
6. Default methods that can speed the development process
7. Feature standardization across the suite of adapters
8. Object Discovery Tools; Event Management (Event Queuing, Event Archiving, Event Identification); Bi-directional Data Exchange; Meta Data Driven
© 2004 IBM Corporation
e-business on demand
23
Questions
Any questions on:
Application Integration with WebSphere Business Integration Adapters
…… Demo