implementing model driven e-business architectures using ... iyengar...• siebel • com/mts •...

63
Copyright 2000, UNISYS Corporation Slide 1 Implementing Model Driven E-Business Architectures using UML and XMI UML in the DOTCOM Enterprise Sridhar Iyengar November 6-9, 2000 : Palm Springs, CA [email protected] www.unisys.com

Upload: others

Post on 23-Mar-2020

3 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 1

Implementing Model Driven E-Business Architectures using

UML and XMI

UML in the DOTCOM EnterpriseSridhar Iyengar

November 6-9, 2000 : Palm Springs, [email protected]

www.unisys.com

Page 2: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 2

■ Global services and technology company– 1999 Revenues : $7.54 Billion– www.unisys.com

■ Services, Systems and Software for the enterprise■ Use of metadata, modeling and repositories for

software and systems integration– www.unisys.com/marketplace/urep

■ Committed to specifying and implementing open standards for enterprise software integration– OMG MOF, UML, XML, LDAP, XMI, CORBA, COM, EJB...

Page 3: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 3

Presentation OverviewPresentation Overview

■ E-Business Integration Challenges■ Relevance to EAI and E-Business■ A model driven E-Business Integration Architecture

– OMG Modeling and Metadata Architecture– Application to Enterprise Integration

■ Overview of MOF, XMI, UML, CWM■ UML Profile for EAI overview■ Putting it all together

Page 4: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 4

Scope of PresentationScope of Presentation

■ What this presentation about– A new architectural approach to software integration– Relevance of metadata, modeling and architecture not only for building

but integrating applications– Some early work in model driven integration at Unisys object

technology labs and related OMG work– Reinforcing the fact that evolving and managing software is a bigger

problem than building it initially

■ What this presentation is NOT about– Specific products even though I will mention some– A complete methodology : we are still in the early stages of

understanding the dynamics of the problem– XML, UML, EJB, CORBA, COM, XMI in detail, even though we

show the relevance to the overall architecture

Page 5: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 5

Customer First

Value ChainCollaboration

Changing Business Models

New BusinessStrategies

eCustomerService

Integrated eMarkets

Different Logistics

RevolutionaryMarketing

24x7 Operations

New Fulfillment

Agile Organization

Processes Systems

LegacyWorkflow Transactions

Knowledge

Reale-Business Touches Everything

Data

ee--Business Impact = Massive Complexity!Business Impact = Massive Complexity!

Page 6: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 6

Enterprise Architecture OR Enterprise Architecture OR Architecture for the EnterpriseArchitecture for the Enterprise

■ Enterprise– ‘Global 1000 company with a large IT investment that is expected to

be used to gain business advantage’– Virtual community of companies that have increased complexity!

■ Enterprise Architecture– Most vendors and architects at ‘large’ customers think they have one– Vendor architectures are usually ‘marketectures’ rationalizing the

products/technologies they have• Microsoft DNA, DOT.NET, IBM E-Business App Framework, SUN

J2EE...

■ Architecture for the Enterprise– Typically home grown painfully by pragmatic architecture teams using

a variety of middleware technologies– Sometimes a lot worse

Page 7: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 7

EE--Business Is Key DriverBusiness Is Key Driver

ERP Custom

Back Office

ProblemTracking

On-lineOrders

CustomerSupport

On-lineProcurement

On-lineBenefits

Web Front-Office

E-businessStrategic

Page 8: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 8

… That Complicates The … That Complicates The Picture!Picture!

■ Unprecedented competitive threats– Nimble startups with no legacy – Unforeseen global business challengers– The rise, fall and re-emergence of e-businesses

■ New Business Opportunities– Brand Leverage– Partner Leverage– New business models

Business Reaction Time is the real issue

Page 9: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 9

Traditional Integration Traditional Integration ApproachesApproaches

System A System BExport Import

Batch

System A System BSend Receive

Near-time

Messages

System A System B

Real-time

Sync Commit

Page 10: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 10

… Do Not Scale!… Do Not Scale!

■ Business semantics are buried in code and not surfaced

■ Implementations can not be easily replicated

■ Little or no flexibility in dealing with change in corp. business models

■ Point-to-point connections can not be multiplexed

System A

Export Code

ExportFile

CustomMessage Formats

System BImport Code

ImportFile

Page 11: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 11

What Is Needed?What Is Needed?

■ Realization that multiple approaches are necessary– To integrate business processes– To integrate operational data– To integrate transactions

■ Acknowledgement that there is no silver bullet– Need a flexible architecture– Access to domain experts– IT commitment to use the architecture

■ Realize that the higher level abstractions are needed– UML not just for development but for integration– Business process model based integration

Page 12: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 12

Enterprises Will Need Multiple Enterprises Will Need Multiple ApproachesApproaches

SAP

PeopleSoft

OracleApps.

Siebel

In-house

Custom

DataIntegrationProducts

ProcessIntegrationProducts

FunctionalIntegrationProducts

Manugistics

Page 13: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 13

Mediation of Integration ComplexityMediation of Integration ComplexityProcesses Systems

LegacyWorkflow Transactions

Knowledge

Data

Processes SystemsLegacyWorkflow Transactions KnowledgeData

E-Business Integration Broker

A unified architecture that supports integration of tools, processes, dataand content.

Key benefit: Less intrusive adoption of new business models, more rapid uptake of new partners, reduced impact of new technology on the business and better leverage of existing systems

Difficult to manageHard to understand

Much simpler designEasy to communicate

Page 14: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 14

Use A Flexible ArchitectureUse A Flexible Architecture■ A model and metadata driven Architecture

– Grounded in UML and MOF– Metadata driven transformations

■ Robust transformation engine– Captures business rules for data transformations

■ Abstraction of the interface from the source(s) and target(s)– Transformations and connection rules apply to a generic description

■ More complex transactions– Long duration transactions (business transactions) : OMG ETS– Recovery control– Able to describe backout actions in case of source/target failures

■ Operational control– Interfaces become part of the standard operational monitoring and

notification system

Page 15: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 15

Integrate the changing picture of Integrate the changing picture of the web based businessthe web based business

■ Global customer interaction■ Emergence of de facto standards such as XML, XMI,

UML, HTTP, SOAP, J2EE, ebXML, UDDI– The ‘marriage of the week’ , ‘standard of the week’

syndrome

■ Focus shifted from “back-office” applications (ERP) to “front-office” (CRM) and now Portals and Vortals

■ The need for secure Internet transactions■ And ultimately to a new paradigm shift towards e-

Business

Page 16: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 16

XML as the eXML as the e--Business Integration Business Integration EnablerEnabler

■ Excellent fit for exchanging data; messages come with the description of the content -- “Metadata”

■ Already adopted by the development community --host of products on the market

■ Endorsed by major players -- Unisys, SAP,PeopleSoft, Oracle, Microsoft, IBM

■ Let’s developers focus on the content not the mechanism

Good News : Almost every one agrees!

Page 17: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 17

XML BusinessXML Business--toto--Business Business Example Example

SAP MRPPeopleSoft HRMSVantive SFA

SAP MRPPeopleSoft HRMSVantive SFA

Oracle Order EntryI2

Oracle Order EntryI2 Business Portal

Web-based resellerRetail

Business PortalWeb-based resellerRetail

XMLover

Internet

Orders

Materials RequestXML

basedIntegration

Preferredsupplier

Bid management and order fulfillment

Bid management and order fulfillment

Secondarysupply chain

Proprietary XML-RPC, SOAP, SCOAP….

Page 18: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 18

If XML is so great why DON’T If XML is so great why DON’T we have smooth integration todaywe have smooth integration today

■ Technology is still new and evolving■ Vendor architecture wars moving to a new level!■ But there is real lack of methodology and discipline in how to

use XML■ Garage DTDs - duplicating the same problems■ Plethora of XML frameworks that lack a cohesive architecture■ Some of the XML frameworks are just a bunch of XML

DTDs on a web site– If we built airlines and roads this way, there would be gridlock

everywhere!

■ So what is the solution– Back to basics : Architecture, discipline, software engineering,

modeling and software integration engineering

Page 19: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 19

XML with Modeling and XML with Modeling and Architecture : XMIArchitecture : XMI

Hand coded integration

Application Integration Tools

Semantic XMI Integration

Component API Integration

Using XML is the first real opportunity to allow applications to be connected without excessive supportfrom systems integrator and domain experts.

The biggest benefit is speed of delivery which is by far the critical issue for eBusiness enablement.

XML Integration

Leve

l of A

bstr

actio

n

Page 20: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 20

Elements of XML Based IntegrationElements of XML Based Integration■ Capture Message semantics and structure in XML formats

without being tied to a platform or technology– But be able to manage mappings to different technologies for legacy

integration (XSLT, …)

■ Easily manage mappings and transformations between XML messages

■ Message “enrichment”■ Support major connectivity (COM, EJB, CORBA..) options

with security■ Provide a high-performance and scalable run-time

environment– And a productive business model driven development environment

■ Security requirements such as X.500 integration, PKI, SSL,ActiveDirectory, JNDI...

Page 21: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 21

XML Based eXML Based e--Business EAIBusiness EAI

XMLHandler

COMCORBA

EJBTIP

Source2

Source1XML

Handler

COMCORBA

EJBCOMSCICS

Target2

Target1Semantics

(Relationships,Rules)

Transformationsand Mappings

Workflow& Rules

• Captures the essence of the Business Processes• Enables rapid adaptation to changing business models• Rapid integration with new partner operational systems• Inherent versioning effectively manages change• Minimizes impact on changes to back-end systems• Business rules can be changed and dynamically invoked at run-time

Example sources• SAP• Oracle Apps.• COMS/TIP• WebLogic (EJB) ...

Example targets• PeopleSoft• Siebel• COM/MTS• COMS/TIP• CICS• BizTalk Server

Model Based Integration

Core Services

Business ProcessModeler

XMI

XMI

Based on Unisys R&D in Business eXchange Server : How to Integrate integration frameworks

Page 22: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 22

Now back to Understanding how Now back to Understanding how XMI ‘architecture enables’ XMLXMI ‘architecture enables’ XML

■ Component Architecture builds on object architecture (more constrained)

■ Object Architectures and Frameworks– White box reuse (Inheritance, Polymorphism…)– Patterns and Frameworks

■ Component Architectures– Black box reuse (Encapsulation)– Components (ActiveX, JavaBeans, EJBs, CORBA

Components)– Component Assembly and Deployment Management

Page 23: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 23

OMG EOMG E--Business Integration Vision Business Integration Vision for components, data, processes, domainsfor components, data, processes, domains

(C) Iyengar 2000

Distributed Runtime Middleware (IIOP, XML/Value, SOAP...)

E-BusinessApplication

DevelopmentUML, SPE

E-BusinessIntelligenceCWM, PM

Information Models, Componentsand Metadata (XMI, MOF…)

E-BusinessApplicationIntegrationCCM, EJB,COM, XML

Community & Enterprise Information Portals (KM…)

Directory, Security, Database,Web, Transaction, Caching,

Metadata, Services..

HealthCare Financial Manufacturing Insurance...

Page 24: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 24

The EThe E--Business Application Life Cycle Business Application Life Cycle and the Processand the Process

Architecture Centric, Business driven,Iterative and Incremental

And do this with quality in a distributed environment

Discovery and Transformation

BusinessRequirem

ents Modeling

Modeling Architecture,

Object, Data…

AddBusiness

Logic

Build /Wrap Components

Assemble& Test

Components

Configure &Deploy

Components

Models, Metadata, Components, Middleware

Manage

Components

ComponentRuntimes

(EJB, COM+)

Acquired

Components

WebTime!

Rigorous

Page 25: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 25

OMG Modeling and Metadata OMG Modeling and Metadata FrameworkFramework

Model Driven App Development

B2B Application Integration

Data Warehousing

Vertical Industry SpecificationsUML

Model & Design

XMIMOF2XML DTDMOF2XML Doc

MOF2XML Schema*

JMI*MOF2Java* Coming

IDLMOF2IDL

MetaDataManagement

And So On

Framework Meta Manage

Page 26: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 26

OMGOMG Metamodeling LayersMetamodeling Layers

MIDDLEWARE

APPLICATION

MOF DTD/SchemaSchema of Schema!!

CWM, EAI, IDL, UML, DTD/SchemaMiddleware Schema

Business Models,DTDsApp Schemas

User ObjectsXML DocumentsBusiness data

XML Terms

<Acme_Software_Share 98789>, 654.56, sell_limit_order, <Stock_Quote_Svr 32123>

StockShare, askPrice, sellLimitOrder, StockQuoteServer[Models, Interfaces, BODs]

UML::Class,Attribute, CWM::Table, CWM::Cube[UML, CWM, EAI, IDL…]

MOF::Class, MOF::Attribute, MOF::Operation[MOF]

Sample Objects

User ObjectsLayer (M0)

ModelLayer(M1)

MetamodelLayer(M2)

Meta-Metamodel Layer (M3)

OMG TermsDefined By

Page 27: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 27

There is more & moreThere is more & more metadatametadatalurking everywhere!lurking everywhere!

Name Char

Marital Status Enumeration (M, D, W, S)

Age Integer

LastName String

First Initial String

Employee Number Number

REPOSITORY

Person Table

User::John Doe

Person Table Space

EmployeeRecord

John M 43

Mary D 27

Bill W 62

George S 18

Data

Meta Data

Meta Data

Meta Data

Created-by

Last good Archive 9/28/1998 : 2 AM

Archive

Page 28: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 28

MetamodelMetamodel ArchitectureArchitecture

<<metamodel>>MOF Meta-metamodel

<<metamodel>>UML Metamodel

User Model

<<instanceOf>>

<<instanceOf>>

<<instanceOf>>

:Foo

M3 Layer: Specifiesmeta-metaclasses forthe UML metamodel

M2 Layer: Specifiesmetaclasses for theUML metamodel, suchas Class

M1 Layer: Specifies classesfor the UML user models,such as Passenger, Ticket,TravelAgency

M0 Layer: User objects thatare instances of UML usermodel classes, such asinstances of Passenger,Ticket, TravelAgency

:Bar :Baz

<<instanceOf>><<instanceOf>>

MOF

Heart of Integrating Metadata

Page 29: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 29

MOF OverviewMOF Overview

■ Foundation for OMG metadata and modeling architecture– Model, design and implement metamodels– Provides 4 generic meta-object interfaces for

introspection (Used by all MOF based Meta-models...)– Provides MOF-IDL mapping to automate generation of

concrete object interfaces for specific metamodels– Provides MOF-XML mappings to automate generation

of XML DTDs and Documents (XMI specification)– Can also be used with COM using COM/CORBA

Interoperability software

■ MOF uses UML for notation and design

Page 30: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 30

M O F 1.1 Reflec t ive< < C O RB A ID L M odule> >

MO F M odel< < OM G M eta -m etam odel> >

M O F F ac ility

Discover & Manipulatemetadata

Model using UML Class Diagrams precisely

Find and ManageMetadata

Registries, Servers

MetaMeta Object Facility (MOF) Object Facility (MOF) ArchitectureArchitecture

MOF

Page 31: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 31

ReflectiveReflective module ofmodule of thethe MOFMOF(Meta Programming/Modeling)(Meta Programming/Modeling)

■ All meta-models based onthe MOF inherit this package.

■ This is the foundation for introspection in the OMG meta-model architecture

RefBaseObject

meta_object()itself()repository_container()

<<Interface>>

RefPackage

get_class_ref()get_association()get_nested_package()

<<Interface>>RefObject

is_instance_of()create_instance()all_objects()value()set_value()add_value()add_value_before()add_value_at()modify_value()modify_value_at()remove_value()remove_value_at()invoke_operation()

<<Interface>>RefAssociation

link_exists()query()add_link()add_link_before()modify_link()remove_link()

<<Interface>>

Page 32: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 32

■ Use W3C Extensible Markup Language (XML) for the transfer syntax and interchange format– Specify XML Document Type Definitions (DTD) to enable

transfer and verification of • UML based models (using UML DTD)• Data Warehouse models (using CWM DTD)• Java and EJB artifacts (using Java and EJB DTDs)• MOF based metamodels and their instances (using MOF DTD)

■ Specify a precise MOF to XML mapping– Allows interchange of any MOF based metamodel and

corresponding models (MOF--> XML Stream)– Enables automatic generation of XML documents that can be

validated with generated DTDs■ Use UML and MOF for metamodel design and implementation■ Designed by Unisys, IBM, Oracle, DSTC et al

XML Metadata Interchange (XMI)XML Metadata Interchange (XMI)

Page 33: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 33

XML Streams (Models)(Many - based on each metamodel DTD)

XML DTD (MetaModels) (1 per metamodel used for validation)

CWMDTD

UMLDTD

TravelDTD

XMI 1.0, 1.1 SimplifiedXMI 1.0, 1.1 SimplifiedOMG Documents :OMG Documents : ad/99ad/99--1010--02, ad/9902, ad/99--1010--0303

XMLSyntax and Encoding

MOFMetadata Definitions

& Management

XMI

UMLMetamodel

Analysis & Design

UMLUML

Models UMLCWMModels UML

TravelDocument

Validate

XMI 1.0 : ad/98-10-05, 98-10-06

Page 34: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 34

XMI/MOF Tool/Application/Data XMI/MOF Tool/Application/Data Interoperability OptionsInteroperability Options

GeneratedInterfaces

for Meta(model)

Tool/App

MOF::ReflectiveReflective

Tool/App

Intermediate Stream/File (XML)

Model TransferDTD GenerationSchema Generation *(XMI)

MOF Introspection

ConcreteModel/Metadata Access

readwrite

XML

UMLCWM

ECEAI

* Coming in XMI

Page 35: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 35

Business

Customer

id : CustId

update()

A Simple Model A Simple Model

Let us pretend this is a trivial (meta)modelMOF and XMI work formodels and metamodels

Page 36: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 36

<!-- Document Prologue, etc. --><Model xmi.id="a1” name = “Business” visibility ="public">

<ownedElement><Class xmi. id="a7” name = “Customer” >

<feature><Attribute name = “id” >

<multiplicity><Multiplicity lower = “1” upper = “1”/></multiplicity>

<type>< DataType href=”|a247"/></type> <!-- Custid --></Attribute><Operation name = “update” scope ="instance"/></Operation>

</feature></Class>

</ownedElement></Model>

XMI 1.1 RepresentationXMI 1.1 Representation

Page 37: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 37

How to use XMIHow to use XMI

■ Define the domain or technology specific model– Middleware models are usually called metamodels by

OMG– Use UML - only knowledge of Class modeling needed to

get started on the design

■ Export model to XMI processor which generates– XML DTDs for the specific (meta) model– XML documents that conform to the DTD

■ Manage the Models, DTDs and documents in a MOF/XMI compliant distributed repository

■ Use XMI toolkits from IBM, Unisys and others

Page 38: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 38

XMI XMI -- Automobile Example Automobile Example (simplified)(simplified)

UML Model

AutoColor : StringDoor : IntegerEngine : Integer

<Auto><Color> Red </Color><Door> 4 </Door><Engine> 2 </Engine>

</Auto>

XMI Document

XMI

<!Element Auto(Color*,Door*,Engine*)>

XMI DTD, Schema

XM

I

MO

F

interface Auto{};

IDL, Java...

Class Auto{public String color;public int Door;public int Engine;}

Page 39: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 39

Use XMI for IntegrationUse XMI for IntegrationExamples of InitiativesExamples of Initiatives

■ Component based development and deployment scenario– Or how do you make e-business development and

deployment tools work together

■ Application Integration Scenario– Or how do you integrate e-business applications

■ Data Warehouse and Content Management Scenario– Or how do you integrate the data in databases, file systems

and the internet

Page 40: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 40

The EThe E--Business Application Life Cycle Business Application Life Cycle and the Processand the Process

Architecture Centric, Business driven,Iterative and Incremental

And do this with quality in a distributed environment

Discovery and Transformation

BusinessRequirem

ents Modeling

Modeling Architecture,

Object, Data…

AddBusiness

Logic

Build /Wrap Components

Assemble& Test

Components

Configure &Deploy

Components

Models, Metadata, Components, Middleware

Manage

Components

ComponentRuntimes

(EJB, COM+)

Acquired

Components

WebTime!

Rigorous

Page 41: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 41

XMI/MOF for EXMI/MOF for E--Business Application Business Application Development Development OMG November 98 DemoOMG November 98 Demo

IBMVisualAge

Select

UnisysUREP

OracleRepository

Rose DTDGen

Enterprise

MOFDTDGen

RationalRose

SelectEnterprise

OracleDesigner

XMI

XMIXMI

XMI

XMI

XMIXMI XMI

XMI

VATC

WebSphere

VAJava

Non-XMIRepositories

XMI

Distributed Runtime Middleware (IIOP, HTTP…)

E-BusinessApplication

DevelopmentUML, CCM

E-BusinessIntelligenceCWM, OIM

Information Models, Componentsand Metadata (XMI, MOF…)

E-BusinessApplicationIntegrationCCM, EJB,

COM+,XML

Community & Enterprise Information Portals (KM…)

Directory, Security, Database,Web, Transaction, Caching,

Metadata, Services..

HealthCare Financial Manufacturing Insurance...

MOF/XMIMOF/XMIMOF/XMI

Page 42: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 42

Business,Componentand Data Modeling

Business,Componentand Data Modeling

Visual DevelopmentEnvironments

& Legacy Wrapping

Visual DevelopmentEnvironments

& Legacy Wrapping

EJB/COM+Generation &Deployment

EJB/COM+Generation &Deployment

Web App Srvror COM+

Web App Srvror COM+

ComponentManagementComponentManagement

JDBC Oracle Native

XMLXMLUMLUML

EJBEJB

IDLIDL

CWMCWMVCSVCS

MOFRSMMOFRSMUREP

XML

Metadata, Models,Components,

code...TraceabilityLinks &

Transformations

Unisys UREP/ICF Unisys UREP/ICF Component Management FrameworkComponent Management Framework

XMIJMI

Page 43: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 43

HotelReservation

CustomerRepository

Travel Business Service ScenarioTravel Business Service ScenarioAn EAn E--Business CommunityBusiness Community

Customer

BXS Travel Service:Make Travel Arrangements

FlightReservation

Customer•requests ItineraryBXS Travel•interacts with multiple systems•responds with Itinerary

Page 44: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 44

Component Based Design for EComponent Based Design for E--Business (Service = Interface)Business (Service = Interface)

■ In B2B integration frameworks the use of Services (ebXML, UDDI, BizTalk…) are common

■ These can be designed using UML which is very effective for component based development– Class diagrams and Collaborations to design components– Interaction Diagrams and State machines for designing

behavior– Activity Diagrams for modeling business processes

• Some issues with the tight coupling of Activity diagrams and state machines are being addressed in UML 1.4+

■ Model the document flows among B2B XML frameworks

Page 45: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 45

Fragments of the ‘Travel Fragments of the ‘Travel Business Model’Business Model’

TravelSchedulDocumentcustomerName : str ingcustNum : s horttotalCharge : shorthotel : stringfl ightNumber : str ing

<<BxsDocument>>

ItineraryRequestDocumentc ustNam e : st ringp in : shortdepartureDate : str ingdepartureCit y : st ringarr ivalDat e : st ringdepartureCountry : st ringarr ivalCi ty : stringarr ivalCount ry : st ringeconom yClass : st ringaccomodationsAreOpt ional : st ringnumberOfDays : st ring

<<BxsDocument>>Custom erInfoReqname : stringpin : short

<<BxsDocument>>

CustomerDocumentname : stringcustNum : shortaddress : stringtelephone : stringe_mail : stringcategory : short

<<BxsDocument>>

Acc omodationRequestcheckInDate : stringnumberOfDays : shortc ity : stringcountry : string

<<BxsDocument>>

AccomodationDocumenthotel : stringtype : shortstation : stringtelephone : stringurl : string

<<BxsDocument>>

FlightRequestDocumentdepartureDate : stringdepartureCity : stringarrivalDate : stringdepartureCountry : stringarrivalCity : stringarrivalCountry : string

<<BxsDocument>>

FlightDocumentdepartureDate : stringarrivalDate : stringflightNumber : stringcharge : shorteconomyClass : string

<<BxsDocument>>

Page 46: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 46

Building the Travel Community Building the Travel Community ModelModel

CommunityTravelBusinessNetwork

TravelResellerInterface

TravelSales

cust

hotel

flight

client

WebPortalResellertravelRe

seller

CustomerRegistry

client

CustomerRepositoryInterface

Aerolinesclient

HotelChain

client

FlightReservationInterface

HotelReservationInterface

Page 47: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 47

Building the Community ModelBuilding the Community Model

clientcust

flight

hotel

GetCustInfo : Transformin out

ItineraryRequest

Document

CustomerInfoReq Document

CustomerDocument

FlightInfo : Transform

in

out FlightRequestDocument

FlightDocument

HotelInfo : Transform

in

out HotelRequestDocument

HotelDocument

ReturnInfo : Transform

in

out

TravelScheduleDocument

done

ProcessMakeTravelArrangements

ClientInterface

CustomerRepositoryInterface

FlightReservationInterface

HotelReservationInterface

Page 48: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 48

SendAction(from Common_Behavio r)

Signal(f ro m Common _Behavi or)

* 1

+sendAction

*

+signal

1 SignalEvent(from State_Machines)+signal

occurrence

*1 *1

StateVertex(from State_Machines)

Event(from State_Machines)

State(from State_Machines)

Action

recurrence : Iterat ionExpressiontarget : Objec tSetExpressionisAsynchronous : Booleanscript : ActionExpression

(from Common_Behavior)

0..1

0..1

+entry0..1

state10..1

0..1

0..1

+exit0..1

state20..1 state3

+doActivity0..1

0..1

0..1

0..1

Guard(f rom State _Mach in es)

Transition(from State_Machines)

0..1

0..1

+trigger0..1

+transition0..1

0..1

0..1

+effect0..1

transition

0..11 *

+source

1

+outgoing

*

1 *

+target

1

+incoming

*

+guard1

0..1

1

0..1

Business Process Meta Model (partial)Business Process Meta Model (partial)

Flow of Control

Stimulus, in context of BP Instance

Page 49: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 49

The Credit Check ProcessThe Credit Check ProcessUML State Machine, OAG XML DTDUML State Machine, OAG XML DTD

Page 50: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 50

XMI: Travel DTDXMI: Travel DTD

Page 51: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 51

XMI Document for Travel DTDXMI Document for Travel DTD

Page 52: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 52

XML Based eXML Based e--Business EAIBusiness EAI

XMLHandler

COMCORBA

EJBTIP

Source2

Source1XML

Handler

COMCORBA

EJBCOMSCICS

Target2

Target1Semantics

(Relationships,Rules)

Transformationsand Mappings

Workflow& Rules

• Captures the essence of the Business Processes• Enables rapid adaptation to changing business models• Rapid integration with new partner operational systems• Inherent versioning effectively manages change• Minimizes impact on changes to back-end systems• Business rules can be changed and dynamically invoked at run-time

Example sources• SAP• Oracle Apps.• COMS/TIP• WebLogic (EJB) ...

Example targets• PeopleSoft• Siebel• COM/MTS• COMS/TIP• CICS• BizTalk Server

Model Based Integration

Core Services

Business ProcessModeler

XMI

XMI

Based on Unisys R&D in Business eXchange Server : How to Integrate integration frameworks

Page 53: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 53

Model driven Business Process Model driven Business Process Integration Framework Integration Framework

Runtime

Design

Semantic integrity of BXS Repository:•Model Interchange Services: Common services for Design tools•BXS Runtime Engine: Dynamic execution of UML/BXS ModelXMI: externalization of model elements, per xmi Standard

BXSRuntimeEngine

ModelInterchange

Services

RepositoryDesignTool

DesignTool

AppServer

etc.XMI

XML

XMI

Page 54: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 54

Integrating XML, COM, CORBA, Integrating XML, COM, CORBA, EJB and Legacy : AdaptersEJB and Legacy : Adapters

EJB 1.1 Application Servercontext:Repository

Legacy Access•Handles Component type•Converts external representationto/from M0 XMI (Signal Instance)

Physical Implementation•Determined by Instance Information

BXS Runtime Enginesend(Signal,source,target)

DCOM CORBA etc OAG

Routes by Component type

Routes by Component Instance

BIZTALKBXS

Page 55: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 55

UML Profile for EAIUML Profile for EAI

■ OMG RFP for introducing architecture modeling discipline into EAI

■ Initial submissions at www.omg.org■ Key players : IBM, Oracle, Unisys, Rational,

Concept 5■ Focus : Event based application integration

architectures■ UML profile and Metamodels for EAI■ Expected to be standardized 1Q2001

Page 56: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 56

UML Profile for Enterprise Distributed UML Profile for Enterprise Distributed Object Computing (EDOC)Object Computing (EDOC)

■ UML profile for CORBA : Completed■ UML profile for EJB : Final stages in Java

Community Process■ UML profile for EDOC

– Business model and process based integration that supports multiple middleware architectures

– ‘Enterprise Collaboration Architecture’– To be completed 1H2001

■ UML profiles for EDOC and EAI to be integrated

Page 57: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 57

XML/XMI for Application Integration XML/XMI for Application Integration and Industry Specific Domainsand Industry Specific Domains

■ OMG XML/Value (2000)■ UML Profile for EAI, I-EAI (2000)■ Integration of OMG and OASIS

Technologies/Frameworks– XML/XMI Registry Discussions underway with ebXML– UDDI is another factor

■ Knowledge Management■ Utilities, Electronic Commerce (2000)■ OMG Healthcare, Manufacturing, ECDTF…■ Most EAI vendors using/planning XML for B2B

Distributed Runtime Middleware (IIOP, HTTP…)

E-BusinessApplication

DevelopmentUML, CCM

E-BusinessIntelligenceCWM, OIM

Information Models, Componentsand Metadata (XMI, MOF…)

E-BusinessApplicationIntegrationCCM, EJB,

COM+,XML

Community & Enterprise Information Portals (KM…)

Directory, Security, Database,Web, Transaction, Caching,

Metadata, Services..

HealthCare Financial Manufacturing Insurance...

Page 58: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 58

OMG EOMG E--Business Integration Vision Business Integration Vision for components, data, processes, domainsfor components, data, processes, domains

(C) Iyengar 2000

Distributed Runtime Middleware (IIOP, XML/Value, SOAP...)

E-BusinessApplication

DevelopmentUML, CCM

E-BusinessIntelligence

CWM

Information Models, Componentsand Metadata (XMI, MOF…)

E-BusinessApplicationIntegrationCCM, EJB,COM, XML

Community & Enterprise Information Portals (KM…)

Directory, Security, Database,Web, Transaction, Caching,

Metadata, Services..

HealthCare Financial Manufacturing Insurance...

Page 59: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 59

Importance of (Importance of (MetaMeta)modeling using )modeling using MOF, XMI and UML MOF, XMI and UML

■ Provides a regular and rigorous infrastructure at a higher level of abstraction

■ Furnishes an architectural basis for extensions and evolution of software

■ Facilitates alignment with other standards that use a metamodel architecture – Potentially eliminate or evolve redundant standards (eg: CDIF

now endorses XMI)■ Supports interoperability and integration across

domains at the semantic level■ Use UML to design metamodels and models, MOF

to implement and manage them and XMI to interchange them over the Internet

Page 60: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 60

Who is Implementing XMI, Who is Implementing XMI, MOF, UML and CWM?MOF, UML and CWM?

■ IBM VisualAge for Java, WebSphere, Rose tool kit■ Unisys UREP, Component Management Server, Transform…■ IBM VisualWarehouse, Hyperion, Oracle, SAS■ Rational Software (Unisys XMI for Rose)■ DSTC, OMEX...■ Oracle Designer, Meta Integration, Together/J, Objecteering,

ObjectsByDesign, Aonix…■ OMG standard metamodels and DTDs (MOF, UML, CCM, CWM*,

Java*, EJB*…)■ Metadata Coalition voted overwhelmingly to build on OMG specifications

for metadata (September 2000)■ Unisys and IBM and others for EAI and B2B Integration■ Java Community Process JSR-40 : Java Metadata Interface*

* In progress

Page 61: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 61

OMG UML/XMI/MOF UsageOMG UML/XMI/MOF Usage

UML XMI

JMI

MOFUMLCWM

CCMEAI

EC

UMLCWMCCM

EAIEC

MOF CWMCCM

EvaluatingCORBA Med

UML

EJB Java UML Profile forEDOC...

IDLUML4CORBA

Submissions

Standards

Life Sciences

ElectronicCommerce

MDC OIM

Enterprise App Integration

DocumentManagement Etc.

SPE

CIAS

Page 62: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 62

Concluding ThoughtsConcluding Thoughts■ Ensuring a unified model driven distributed architecture is

key to solving the heterogeneous integration problem■ Most customers have and will continue to have

components and information/data from multiple sources and formats that need integration

■ XML/HTTP, CORBA/EJB, DCOM/ActiveX, MOF/XMI/XML (Metadata, Services), UML (Modeling) and CWM (Data Warehousing) need to work together with the content (business models, BODS, HL7 RIM…)– UML4EAI is first step to standardizing ‘Integration by Modeling’

■ Modeling and Metadata matters - Master it : Use it in for your middleware, use it for your domains

■ Gain the benefits of component development and integration by building on UML, MOF and XMI

Page 63: Implementing Model Driven E-Business Architectures using ... Iyengar...• Siebel • COM/MTS • COMS/TIP • CICS • BizTalk Server Model Based Integration Core Services Business

Copyright 2000, UNISYS Corporation Slide 63

For More InformationFor More Information

■ OMG : www.omg.org, www.omg.org/cwm■ Unisys : www.unisys.com/marketplace/urep■ UML : www.omg.org/uml, www.rational.com■ W3C : www.w3c.org■ DSTC : www.dstc.edu.au■ Sridhar : [email protected]■ UML RTF : [email protected]■ MOF RTF : [email protected]■ XMI RTF : [email protected]■ CWM RTF : [email protected]