INF5120
F04 - February 9th 2009 1
1
Lecture 4: 09.02.2009
CIM and PIM (SoaML and SOA)Arne-Jørgen Berre
INF5120
”Modellbasert Systemutvikling”
”Modelbased System development”
2
CIM to PIM to PSM
Flexible
business modelsFlexible
business models
Interconnected
heterogeneous
SOA platform
models
Interconnected
heterogeneous
SOA platform
models
Heterogeneous
SOA platforms
metamodels
Heterogeneous
SOA platforms
metamodels
Business
metamodelsBusiness
metamodelsflexible
Business Models
Business
metamodels
Semantically-
enabled
heterogeneous
SOA model
Unified and
standardised
metamodel for
SOA & SHA
Transformation
rules
Transformer
(engine)
according to
according to
transformation
engine
Transformation
rules
Transformer
(engine)
transformation
engine
Semantically-
enabled
heterogeneous
SOA platform
models
Semantically-
enabled
heterogeneous
SOA platform
metamodels
according to
EPCPOP*BPDM, BPMNBMM4
Heterogeneousservice platformsWSAJXTAOGSAJACK, JADEWSMO, WSMX4
Executable businessprocesses
Service interfacesService contracts
Service enactmentBusiness rules
SLAsParameterized
services4
GoalsBusiness rules
Business processesBusiness services
E-contracts4
Executable artefactsXSD, WSDL, BPEL
Teams and plansResource
managementSemantic Web
Services4
Wh
at
se
rvic
e-o
rie
nte
d a
sp
ec
ts t
o c
ap
ture
in
mo
de
ls
Wh
ich
me
tam
od
els
an
d la
ng
ua
ge
s t
o u
se
CIM
PIM
PSM
UPMSHA Agents
Grid
Semantic Web
Services
Service
Variability
Web
Services
P2P
Flexible
Business Models
Heterogeneous
Platforms
INF5120
F04 - February 9th 2009 2
Oblig 1
• 16/2: CIM models (Scope manager and Objecteering SOA
Business semantics and organisations) (Group 1)
• 23/2: Use case models (Group 2)
• 2/3: PIM – SoaML models (Group 3)
• 9/3: PIM – Objecteering SOA (Group 4)
• 16/3: PSM – Java/Web services (Group 5)
• 2x/3: Oblig1 Delivery: For all groups for
their part of the system
• 30/3: Discussion of Oblig 13
Short course methodology
• CIM modeling
• CIM 2 PIM mapping
• PIM modeling
• PIM 2 PSM mapping
• PSM modeling
41st Review, Brussels, February 6th 2009
INF5120
F04 - February 9th 2009 3
5
CIM – PIM - PSM
SoaML
Core
Service Variability
PIM4
WS-A
PIM4
SWS
PIM4
Agents
P2P/Grid/Components
SoaML-SHA
WSDL, WSMO, OWL-S, JACK, JADE, JXTA, OGSA, J2EE, CORBA
J2EE, NetWeaver, .Net, 4
BPMN BPDM BMM EPC
PIMs for different
Architectural Styles
Realization Technologies
PSMImplementation Models
CIMBusiness Models
PIMSystem Models
4
6
CIM-PIM-PSM Reference Matrix
INF5120
F04 - February 9th 2009 4
7
CIM – PIM – PSM methods
Information Service Process Rules Events Organization Goals �FA
CIM
Total: 40
Sources: ESIM,
SCM, SM, ISE,
ESOA, Cyc,
DILIGENT,
EOnto, MethOnto,
NeOn, OTK,
TOVE,
GERAM,ARIS,
EUP, COMET-S
Total: 25
Sources:
ESIM, SM, SCM,
SMART, SOMA,
ISE, ESOA,
GERAM,ARIS,
EUP COMET-S,
OGSOA
Total: 23
Sources: ESIM,
SAE,SCM, SM,
SMART, SOAD,
SOMA, ISE,
ESOA,
GERAM,ARIS,
EUP, COMET-S,
OGSOA
Total: 14
Sources: ESIM,
SM, SOMA, ISE,
ESOA, Cyc,
GERAM, EUP
Total: 4
Sources:
GERAM, EUP
Total: 15
Sources: ESIM,
SAE, SM,
SMART, SOMA,
ISE, ESOA,
GERAM,ARIS,
EUP
Total: 17
Sources: ESIM,
SM, SMART,
SOMA, ISE,
ESOA,
GERAM,ARIS,
EUP, COMET-S
Total: 11
Sources: ESIM,
SCM, SM,
SOMA, ISE,
ESOA, GERAM
CIM2PIM
Total: 1
Sources:
COMET-S
Total: 1
Sources:
COMET-S
Total: 1
Sources:
COMET-S
PIM
Total: 10
Sources: ESIM,
SCM, SM,
SMART, SOMA,
ISE, ESOA,
COMET-S,
OASIS
Total: 19
Sources: ESIM,
SAE, SCM,
SMART, SOAD,
SOMA, ISE,
ESOA, COMET-
S, OASIS,
OGSOA
Total: 21
Sources: ESIM,
SAE, SCM,
SMART, SOAD,
SOMA, ISE,
ESOA, OASIS,
OGSOA
Total: 7
Sources:
SMART, ISE,
ESOA
Total: 1
Sources: OASIS
Total: 6
Sources:
SMART, ESOA
Total: 1
Sources: SMART
Total: 10
Sources: ESIM,
SCM, SMART,
SOMA, ISE,
ESOA, OASIS
PIM2PSM
Total: 1
Sources:
COMET-S
Total: 3
Sources: ESOA,
COMET-S
Total: 2
Sources: ESOA
Total: 2
Sources: ESIM,
ESOA
Total: 1
Sources: ESIM,
Total: 1
Sources: ESIM,
Total: 1
Sources: ESIM,
PSM
Total: 11
Sources: ESIM,
SCM, SM,
SOAD, SOMA,
ISE, ESOA
COMET-S
Total: 21
Sources: ESIM,
SAE, SCM, SM,
SOAD, SOMA,
ISE, ESOA,
COMET-S
Total: 19
Sources: ESIM,
SAE, SCM, SM,
SOAD, SOMA,
ISE, ESOA
Total: 7
Sources: SM,
SOAD, SOMA,
ISE, ESOA
Total: 1
Sources: SOAD
Total: 4
Sources: SAE,
SM, SOAD
Total: 1
Sources: SOAD
Total: 5
Sources: SM,
SOMA, ESOA
8
CIM – PIM – PSM methodsin this INF5120 course
Information Service Process Rules Organization Goals �FA
CIMSM: Dictionary
OSOA: Business
semantic model
SoaML
collaboration
diagram
BPM� SM: Business
rules
OSOA: Business
organisation
model
SM: Goals SM:
Requirements
CIM2PIM
manual
PIM
UML Class
diagram
SoaML
OSOA
UML Activitiy
diagrams,
sequence
diagrams, BPM�
PIM2PS
M
Objecteering
& MOFScript
Objecteering
& MOFScript
Objecteering
& MOFScript
PSMJava and
Web services
(XML)
Java and
Web services
(WSDL)
Java and
Web services
(BPEL)
INF5120
F04 - February 9th 2009 5
CIM MODELING
9
Objecteering Scope
Manager• Requirements
• Goals
• Business rules
• Dictionaries
10
INF5120
F04 - February 9th 2009 6
Requirements
11
Goals
12
INF5120
F04 - February 9th 2009 7
Business rules
13
Dictionary
14
INF5120
F04 - February 9th 2009 8
Traceability links
15
CIM 2 PIM MAPPING
16
INF5120
F04 - February 9th 2009 9
Process and use case
relationship
17
PIM MODELING
18
INF5120
F04 - February 9th 2009 10
Objecteering with SoaML and
manual mapping to SOA• Use the SoaML MDA component for
SoaML modeling
• Do manual mapping to the Objecteering
Logical SOA model Software model
• (See separate SoaML presentation)
19
Objecteering SOA
• Business semantic model
• Business organisation model
• Logical model (from SoaML to SOA)
• Business implementation model;
• Software model
• (See Objecteering user
guide/demonstration)20
INF5120
F04 - February 9th 2009 11
Objecteering SOA method
and tool support
21
Objecteering for SOA
22
INF5120
F04 - February 9th 2009 12
23
Current Component Architecture
Eclipse 3.4
WSMT
Plugins
Objecteering
SoaML
model
PIM4Agents Solution
Plugins
Semantic
Web
Services
SoaML Plugins
(default tree editor)
UML2 SoaML
Profiled
model
Jack / Jade
CIMFlex Plugins
Traceability (SINTEF)
Web
Services J2EE
SINTEF Composition
Studio
Grid / P2P
24
Example mapping sequenceCIM BPMN with Objecteering
CIM2PIM Use case analysis and
Manual (later by MOFScript or ATL ?)
PIM SoaML – Objecteering
(Collaboration (serv.arch),
Port/Connector)
PIM2PIM Manual (later by MOFScript or ATL ?)
PIMs Objecteering SOA
PIM2PSM Draft automatic:
Java API and Design Patterns
PSM Web Services SOA:
UML Profiles for XML, WSDL, BPEL
PSM2Code Draft automatic: Java
Code SOA: XML, WSDL, BPEL
INF5120
F04 - February 9th 2009 13
Architectural layers
25
Different types of services
26
INF5120
F04 - February 9th 2009 14
27
Resource
Service
Tier
Business
Service
Tier
User
Service
Tier
User
Interface
Tier
LS
RARA
LA
Concepts & Artifacts
Processes
Actors Bu
sin
ess
do
main
“Real world”Model world
Web Services
model
Web Services
implementation
model
Web Services
profile
model
Business
model
Domain model
Risk
analysis
Product vision
& product desc.
Requirements
model
boundarySystem
boundary
model
Use caseScenario
model
Other
requirementsPrototype
BCE model
Service-Oriented Architecturemodel
Component
structure
model
Service
interaction
model
Service
interface
model.
Tech
nic
al
do
main
COMET-S model architecture
Logical architecture layers
28
INF5120
F04 - February 9th 2009 15
Process component
29