220 likes | 525 Vues
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
E N D
Application Integration with WebSphere Business Integration Adapters
Seminar Outline Introduction – OnDemandTechnicalRoadmap • Integrate Applications and Business Processes to enable On Demand Solutions • BusinessProcessIntegration • 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 ------------------------------------------------------ • ApplicationConnectivity - WebSphereBusinessIntegrationEvent & MessageBroker • Multiprotocol Pub/Sub Message Routing • Message Transformation, Augmentation, and Datasource Integration • Demo – WBI Message Broker • B2B and BusinessPartnerIntegration • WBI Connect --------------------- AFTERNOON BREAK -------------------------------------- • WorkflowbasedProcessIntegration • WBI Workflow • BusinessProcessModellingandMonitoring • Process Modelling in WBI Workbench • Monitoring with WBI Monitor • Demo – WBI Workbench Modeller • Summary • Developer Resources
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
WebSphere Business Integration Reference Architecture Business Modeling and Monitoring WebSphere Business Integration Server WebSphereBusinessIntegrationConnect WebSpherePortal Process Integration Services Business Partner Application Browser User Interaction Services Process Automation Human Activity Partner Services BusinessProtocol BusinessProtocol Presentation ExchangeHubs Cross-Reference StateManagement Transaction /Compensation ProcessChoreography Audit Staff BusinessPartner Personalization CommonBusinessObjectModel WAP Events Application Connectivity Services Routing Pub/Sub Transformation Mediation Transport WebSphere Business Integration Adapters . . . HR Legacy Finance ERP CRM
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
WebSphere Business Integration Adapter Portfolio • 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
EnterpriseApplication WMQ 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 Customer Adapter Agent WBI Server Adapter Framework Order Item Siebel Business Object Clarify Business Object SAP Business Object Generic (WBI) Business Objects
AppACustomer.Create 108 STI@Home SoldTo Active … 1 2 3 Business Objects Broker Application • 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 • The Business Object (BO) contains: • Name suggesting the represented entity • Verb that represents the “action” • Data
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
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
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
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 Adapter Framework App Specific WBI Server BO Handlers IIOP Adapter Controller Generic Services Message Transport Utility Functions Event Interface Application Application Interface Java/C++ JMS Event Notification MQ { Adapter Agent }
The Adapter Agent • Responsible 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. Broker Application Example: User creates customer in application. Adapter must create a business object representing that operation and send it to the broker Event delivery Service call
Adapter Event Processing Application Specific Code Adapter Framework Application App data store archive • 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 event Event mechanism (trigger) • 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 forEvent Processing errors, tracing, etc.
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) Adapter Event Processing Application Application Specific Component Adapter Framework Broker ASBO ASBO GBO Adapter controller App data store archive event • 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
Adapter Request Processing Application Application Specific Component Adapter Framework Broker ASBO ASBO GBO Adapter controller • 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 App data store
Data Handlers A Data Handler is designed to convert application-specific formatted data (“serialized format”) to WBI business objects and vice versa. Application side message Business Object XML Message String Message Name-Value Fixed Width Delimited SOAP Message EDI … • 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. string business object DataHandler
Integration • Broker • WBI Server • WBI Msg Broker • WAS Enterprise 8 5 4 1 3 EventTable 10 2 5 ArchiveTable 9 WBI Adapter Business Object Processing- the Big Picture Siebel 1. Application data is updated – new customer 2. Siebel Adapter detects event - creates row in event table 3. Siebel Adapter polls the event table 4. Siebel Adapter uses application API to retrieve new customer data – and builds customer ASBO 5. Siebel Adapter sends ASBO to WBI Server 5. Siebel Adapter moves the event table entry to archive table 6 App Table SAP 7 App Table 6. Adapter controller creates GBO from ASBO 7. WBI Server runs subscribed collaborations 8. ASBO created from GBO and sent to the SAP adapter 9. SAP Adapter uses ASBO to update SAP using BAPI 10. SAP Adapter returns the new SAP Customer ASBO to WBI Server
Adapter Deployment Options WBI Server WebSphereMQ Brokers WebSphereApplication Server ApplicationComponent Collaboration MessageFlow Connector Controller MessageListener EJBs / MDBs JMS JMS JMS IIOP Adapter Framework Adapter Framework Adapter Framework Application SpecificComponent Application SpecificComponent Application SpecificComponent Enterprise Application Enterprise Application Enterprise Application
Advantages of the WBI Adapter Framework • The WBI Adapter Framework provides… • A runtime environment for your application specific code • Isolation from the adapter-broker messaging • Broker independence (WBI, WMQ Message Broker, WAS) • Potential to leverage existing IBM Data Handlers • Facilities for handling business objects • Default methods that can speed the development process • Feature standardization across the suite of adapters • Object Discovery Tools; Event Management (Event Queuing, Event Archiving, Event Identification); Bi-directional Data Exchange; Meta Data Driven
Questions Anyquestions on: Application Integration with WebSphere Business Integration Adapters …… Demo