38
Baba Piprani, Chong Wang, Keqing He 12 Nov 2008, Monterrey On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture 1 A Metamodel for Enabling a Service Oriented Architecture Baba Piprani, Chong Wang, and Keqing He

A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

  • Upload
    lytuyen

  • View
    222

  • Download
    3

Embed Size (px)

Citation preview

Page 1: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

1

A Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, and Keqing He

Page 2: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

2

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 3: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

3

Your presenter…Baba Piprani, SICOM Canada

• Senior IT Consultant with over 30 yrs standardization experience…Computer Languages, SQL, Conceptual Schema, Data Modelliing, IRDS, Metadata Registry, MOF…

• Developed award winning implementations of standards-based Data Quality Firewalls for advanced generation architecture data warehouses and Web based applications using SBVR, ORM, NIAM, Master Data Management, Metadata Repositories/Registries using SQL DBMSs incorporating Service Oriented Architectures…

• Clients: Canadian Government departments Transport, Foreign Affairs, Defence, Superintendent of Financial Systems, Public Works…including private sector, and CNIS (China National Institute for Standardization)

Page 4: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

4

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 5: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

5

Background

• Many businesses suffer from weak IT infrastructure consisting of disconnected databases, applications and services…

• Glaring eye-opener…lack of documented business processes, data semantics

• New Technology, faster “processing” or shall we say “faster hard line undocumented garbage processing”…is here!

Page 6: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

6

Recap…Conceptual Schema TR9007…

• Conceptual Schema essentially reflects static and dynamic behaviour rules of enterprise

• Processes address the dynamics part…and Process Modelling has been around for many decades along with their own paradigms

Page 7: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

7

The fallacy of process modelling techniques…

• Various representational notations, description languages for focused domains…(it is a free world….)

• Most process modelling paradigms focus on flow of control of operations, weaving a complex scenario that may include several re-usable individual standalone processes in the form of a “service”…

Page 8: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

8

How vs. What…• Note: Processes represent the “How” part of the

behavioural dynamics • Focus is lost on the “What” part and its

semantics which is normally buried or hidden as a “process”

• Hey…we need to orchestrate them together (see good old TR9007)..

• Change is more in the “how” and much less in “what”….e.g. airline ticket going from paper to e-ticket but person goes from point A to point B and associated semantics…

Page 9: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

9

Background

• “Hype” concepts or “Buzzword” contexts…also bring in what is known as “Services”

• Services in a Services Oriented Architecture (SOA) has its own connotation…– Infrastructure Services Oriented Architecture (also

known as Enterprise Service Oriented Architecture)– Application Services Oriented Architecture..(this

paper)

Page 10: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

10

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 11: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

11

Objective of ISO 19763-5• Aim: Enable availability, common sourcing, and reuse of

various kinds of process models – includes workflows, business process, web services,

software process– described by different process modeling languages

• Objective:– register administrative information of process models

• Structural information • Semantic constraints within process models• Flows between processes

– promote semantic interoperation between them

Page 12: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

12

Overall structure of ISO 19763-5

Proces-type : boolean(idl)

Process_Modeling_Language

Goal

Input

Output

Artifact

Atomic_Process

Composite_Proces

1-realizes

1

-modelType1

1..*

1

-hasInput

1..*

1

-hasOutput

1..*

-referredTo*

*

-referredTo **

1

2..*

Artifact_Constraint

Control_Constraint

-constrainedBy

1..*1 Condition

1 0..*

1

1..*

Control_Construct

Precondition

Postcondition

1

-constrainedBy

0..*

1

-constrainedBy

0..*

-constrainedBy

1

1

Page 13: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

13

Key concepts in ISO 19763-5• Atomic Process: a process model that cannot be decomposed• Composite Process: a process consisting of at least two sub-processes,

which can be atomic process or other composite process• Process Model Language: name of the modeling language adopted by the

registered process model• Input: the message to be transformed or used by a process model• Output: the generated message after transforming

• Control Constraint: to specify sequence control of a Composite Process• Artifact Constraint: to restrict semantics of artifacts in Input/Output• Precondition: refers to Input specifying the information state that may exist

and should be satisfied before execution• Postcondition: refers to Output representing desirable outcomes when a

process is completed as specified.

Page 14: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

14

ISO 19763-5: Status• Submitted in 2008 to ISO / IEC SC32 WG2

Metadata WG as a Working Draft

• Slated for progression into Committee Draft for 2009

• Open for review and comments

Page 15: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

15

ORM schema of ISO 19763-5

Process

Input

Output

Artifact

ArtifactConstraint

PostCondition

PreCondition

Goal ProcessModellingLanguage

Condition

ControlConstraint

ControlConstruct

CompositeProcess

AtomicProcess

>=2

.Owned by./... has ...

... ha

s .../.

.. Con

strain

ed by

...

... ha

s .../.

.. has

outpu

t...

... Ha

s inp

ut .../

... ha

s ...

... re

alize

s .../.

.. has

...

... Mo

del ty

pe ...

/... ha

s ... ... has .../constrained by

... has .../constrained by

Refer

red t

o/... h

as ...

...

has .

../refe

rred t

o

... has .../Constrained by

... has .../... Owned by ...

... ha

s .../.

.owne

d by .

..

Page 16: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

16

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 17: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

17

Positioning the Process Model in a model driven architecture SDLC…

• There are SDLCs and SDLCs and SDLCs…from waterfall, spiral, agile…whatever!

• Here is an SDLC that has been successfully followed for NIAM / ORM based projects over the past 20 years and more (since CRIS 82..) ---[OK, new terminology has been added to keep up with the times…]

• Entails formalizing a semantic model (NIAM / ORM) as the kingpin core supplying semantics to other components and derivation of metadata

• Many parallels to OMG’s Model Driven Architecture and SVBR driven…

Page 18: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

18

Business Process Model

(Business activity model decomp.)

Platform Specific Model [syn. vendor

independent] (SQL)

Vendor PlatformSpecific Model

(Oracle 10g)

Business Intelligence (Business

Objects,Crystal Reports, Cognos...)

Events

Process Sequence Ordering

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

REPOSITORY

SERVICESMODEL SCREEN

DESIGN

REPORT DESIGN

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

CREATE TABLE . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

CREATE TABLE . . . . . . VARCHAR2 . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

. . . UNIVERSE . . .

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

EVENTMODEL

CONTROLSEQUENCE

MODEL

TransformEvent ControlSeq Process

Transform

Platform Independent

Model (URI)

WebServices

Transform

Positioning the Services and Processes in an overall ORM driven SDLC

Page 19: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

19

Business Activity Model Semantic Model• Starting with a forest level view, analyzing the

flows between the decomposed lowest level process (elementary or atomic) to derive a strong semantic model

• MOST PROCESS MODELLING APPROACHES PAY LIP-SERVICE TO THIS “semantics” STEP---thus embedding their business rules in processes, sequences….

Page 20: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

20

Business Process Model

(Business activity model decomp.)

Platform Specific Model [syn. vendor

independent] (SQL)

Vendor PlatformSpecific Model

(Oracle 10g)

Business Intelligence (Business

Objects,Crystal Reports, Cognos...)

Events

Process Sequence Ordering

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

REPOSITORY

SERVICESMODEL SCREEN

DESIGN

REPORT DESIGN

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

CREATE TABLE . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

CREATE TABLE . . . . . . VARCHAR2 . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

. . . UNIVERSE . . .

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

EVENTMODEL

CONTROLSEQUENCE

MODEL

TransformEvent ControlSeq Process

Transform

Platform Independent

Model (URI)

WebServices

Transform

Business Process Model

(Business activity model decomp.)

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

Positioning the Services and Processes in an overall ORM driven SDLC…

Page 21: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

21

Elementary, my dear Watson…

• Note the separation of control sequence and event drivers from the atomic processes

• This is necessary, because when you address the viewpoint of a “service”…

• Rigidly defined services with non-reusable processes break quickly…

• Secret is to orchestrate atomic processes and stitch together the necessary couplings involving sequencing and events…to form a “Service”

Page 22: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

22

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 23: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

23

Business Process Model

(Business activity model decomp.)

Platform Specific Model [syn. vendor

independent] (SQL)

Vendor PlatformSpecific Model

(Oracle 10g)

Business Intelligence (Business

Objects,Crystal Reports, Cognos...)

Events

Process Sequence Ordering

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

REPOSITORY

SERVICESMODEL SCREEN

DESIGN

REPORT DESIGN

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

CREATE TABLE . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

CREATE TABLE . . . . . . VARCHAR2 . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

. . . UNIVERSE . . .

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

EVENTMODEL

CONTROLSEQUENCE

MODEL

TransformEvent ControlSeq Process

Transform

Platform Independent

Model (URI)

WebServices

Transform

Business Process Model

(Business activity model decomp.)

Events

Process Sequence Ordering

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

EVENTMODEL

CONTROLSEQUENCE

MODEL

Positioning the Services and Processes in an overall ORM driven SDLC…

Page 24: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

24

Applying to the selected IT infrastructure…

• And now position the processes, control sequences, and event drives---incorporating the application infrastructure components into a “service model”

• i.e. de-couple complex processes (built in sequencing, and consisting of splittable composite processes) to stitch the service deliverable fabric

Page 25: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

25

Business Process Model

(Business activity model decomp.)

Platform Specific Model [syn. vendor

independent] (SQL)

Vendor PlatformSpecific Model

(Oracle 10g)

Business Intelligence (Business

Objects,Crystal Reports, Cognos...)

Events

Process Sequence Ordering

Semantic Model i.e. Computation

Independent Model (Natural Language Facts ORM,

NIAM,CogNIAM )

REPOSITORY

SERVICESMODEL SCREEN

DESIGN

REPORT DESIGN

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

Agent AtomicProcess Store

Actor

Process Model

F1

F4

F2

F3

F1, F2, F3, F4semantics

CREATE TABLE . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

CREATE TABLE . . . . . . VARCHAR2 . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

. . . UNIVERSE . . .

X

(n-1)

Propositions

Business Requirements

(IDEF0)

(n level)

Transform

EVENTMODEL

CONTROLSEQUENCE

MODEL

TransformEvent ControlSeq Process

Transform

Platform Independent

Model (URI)

WebServices

Transform

Platform Specific Model [syn. vendor

independent] (SQL)

Vendor PlatformSpecific Model

(Oracle 10g)

Business Intelligence (Business

Objects,Crystal Reports, Cognos...)

Events

Process Sequence Ordering

REPOSITORY

SERVICESMODEL SCREEN

DESIGN

REPORT DESIGN

Platform Independent

Model (Attribute Model ER, UML..)

Platform Independent Model (Grouped Facts)

Transform

CREATE TABLE . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

CREATE TABLE . . . . . . VARCHAR2 . . . . . . CHECK . . . . . . PRIMARY KEY . . . . . . FOREIGN KEY . . .

. . . UNIVERSE . . .

EVENTMODEL

CONTROLSEQUENCE

MODEL

TransformEvent ControlSeq Process

Transform

Platform Independent

Model (URI)

WebServices

Transform

Positioning the Services and Processes in an overall ORM driven SDLC…

Page 26: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

26

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 27: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

27

ORM Schema of Services Model….

• Extending the ISO 19763-5 metamodel to accommodate Services and Events

• Stitch together the processes for a service fabric…

• Relate the service to events…• Accommodate the event with an event

hierarchy…• The ORM Schema of Services Model…

Page 28: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

28

EventService

Event EventStep

Service

Exception

AtomicProcess

ProcessStep

Process inService

... h

as ..

./...

has

...

... h

as ..

./...

has

...

... h

as ..

./...

has

...

U

... has .../... has ...

Has super/has sub

... has .../... has ...

... has .../... has ...

... has .../... has ...

U

... has .../... has ...

ORM Schema of the Service Model

Page 29: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

29

Common Services Metadata• Model of “Services” metadata includes…

– Functionality metadata (the business…)– Technical metadata (the infrastructure…)– Context metadata (the mappings…)

• Services Category– Basic Services, Foundation Services, Management

Services, Management Services, Security Services, Business Services, Identity Services….

• The ORM Schema of the Common Services Metadata…

Page 30: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

30

Services hierarchy….• Services hierarchy to accommodate a “Service

Decomposition”…• Some ask..is “Service” a “Process”?.....

Wo, Wo, Wo! There are differences…a process is performed in order to achieve a service deliverable, while a service is in itself deliverable component– a service is a commitment of the business to

achieving an outcome– A process is a mechanism to deliver or achieve that

outcome

Page 31: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

31

Service

ServiceProviderService

Category

... h

as ..

./...

has

...

Functionalitymetadata

Technicalmetadata

Contextmetadata

ServiceMetadata

... has .../... has ...

... has .../...

ServiceBroker

..acc

esse

s ...

/... h

as ..

.

ORM Schema of the Common Services Metadata

Page 32: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

32

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 33: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

33

SOA Overlay based on Atomic Processes…

Or…How to avoid a spaghetti Services Oriented Architecture resulting from an ad hoc assembly of interwoven applications?

• Business Process Modelling is “top down”• SOA is a bottom up procedure

– Service requires the execution of one or more re-usable atomic processes as per the Event and Control Sequence models…

• Hey…you have something that works and is solid!!!

Page 34: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

34

(n-1) (n-1)(n-1)

BU

SIN

ES

S P

RO

CE

SS

ES

SE

RV

ICE

S D

RIV

ING

PR

OC

ES

SE

S

Process

Atomic process (n-1)

Service

SE

RV

ICE

S H

IER

AR

CH

Y

Overlay Positioning Services and Processes

Page 35: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

35

Outline

• Background• Introduction of ISO 19763-5• Positioning the Process Model in SDLC• Processes in SOA• ORM Schema of the Service Model• SOA Overlay based on Atomic Process• Summary

Page 36: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

36

Summary• Generally, processes and services lose

emphasis on data and semantics• Process sequencing buried in complex thread---

not flexible, not reusable, resulting in redundancies and anomalies

• These complex operations are essentially reusable elementary atomic processes

• ISO 19763-5 is extended with an ORM defined Service Model and Common Services Metadata model

Page 37: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

37

Summary

• Secret is to unravel the complex thread and “insulate” a service by separating – Control and sequencing– Event driven services– Strong NIAM / ORM driven data schema

containing business rules that were formerly interwoven

• Don’t knock it….it works…and works damn well!!!

Page 38: A Metamodel for Enabling a Service Oriented Architecturemetadata-standards.org/.../WG2-N1204-Metamodel-for-enabling-SOA.… · Metamodel for Enabling a Service Oriented Architecture

Baba Piprani, Chong Wang, Keqing He12 Nov 2008, Monterrey

On The Move - ORM Workshop 2008 Metamodel for Enabling a Service Oriented Architecture

38

AcknowledgementProductive Discussions with:

Dr. Robert MeersmanDr. Sjir NijssenPaul ThompsonDr. Yangfan HeDr. Jian Wang

Grants:National Basic Research Program of China (973), National High Technology Research and Development Program of China (863), National Natural Foundation of China, and Provincial Natural Science Foundation of Hubei Province, China.