Service-Oriented Discovery & Analysis Example

makeshiftluteΛογισμικό & κατασκευή λογ/κού

14 Ιουλ 2012 (πριν από 5 χρόνια και 1 μήνα)

230 εμφανίσεις

1
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service-Oriented Discovery & Analysis Exam
pl
e
2
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
What is Service-Oriented Modeling?
“Service-oriented modeling is a softwa
re
de
velo
pment practice that em
ploys
modeling
disciplines
and
language
to
pro
v
ide

stra
tegic
and
tactical
solutio
n
s
to
enterprise problems. This
anthropomorphic
m
o
deling paradigm
advocates a
holistic
view of the
analysis
,
de
sign, and ar
chitecture of all organizational
so
ftware e
n
tities, conceivin
g them
as service-
oriente
d
asse
ts, nam
e
ly services.”
3
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
What is Service-Oriented Modeling?
4
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service-Oriented Modeling Framework
5
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service Metamorphosis
6
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Management of Service Life Cycle States
Promotio
n

i
ncreasing
busi
ness functi
onal
ity, fundi
ng,
and reuse
Decommission

r
e
t
ir
ing
and

termi
n
ati
n
g executi
o
n
Demotion

reducing
functionality and reuse, and
limiting budget allocation
No Change

S
ervice continues
to operate in its current state
Promotio
n

i
ncreasing
busi
ness functi
onal
ity, fundi
ng,
and reuse
Decommission

r
e
t
ir
ing
and

termi
n
ati
n
g executi
o
n
Demotion

reducing
functionality and reuse, and
limiting budget allocation
No Change

S
ervice continues
to operate in its current state
7
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service Structures
8
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
9
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
10
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service Discovery & Analysis Toolbox
11
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
It’s Tim
e
to
Play!
Re
vealing a Service Eco
syste
m


U
nderstand Se
rvice Evolutio
n & Me
tamorph
o
sis

U
nderstand Se
rvice-Oriented De
ve
lo
pment

U
nderstand Service Li
fe Cycle

U
nderstand Se
rvice-Oriented Asse
t Management

U
nderstand Se
rvice-Oriented Governance

U
nderstand Business & Technological Tracea
bility

R
ecord Analysis Decisions & T
r
ain o
f
Thought
It’s Tim
e
to
Play!
Re
vealing a Service Eco
syste
m


U
nderstand Se
rvice Evolutio
n & Me
tamorph
o
sis

U
nderstand Se
rvice-Oriented De
ve
lo
pment

U
nderstand Service Li
fe Cycle

U
nderstand Se
rvice-Oriented Asse
t Management

U
nderstand Se
rvice-Oriented Governance

U
nderstand Business & Technological Tracea
bility

R
ecord Analysis Decisions & T
r
ain o
f
Thought
Modeling Analysis Services
12
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
A Service-Oriented Modeling Dash
board
I have always wante
d
to ow
n a bank.
So my initial step was to pr
ovide Ch
ecking Account offerings to my first
clie
n
t
s…
13
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
But my clients de
manded more tha
n
a Chec
king Ac
c
o
unt service. I added a Savings A
ccount ser
v
ice to my
line of busine
ss!
A Service-Oriented Modeling Dash
board
14
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
To furt
her generalize
my bu
sine
ss an
d e
x
pand it to o
t
her territories, I gr
ouped t
h
ese ser
v
ice
s
under t
h
e name
Banking Account Service, so in the fu
ture I ca
n add more banki
n
g
s
ervice
s…
A Service-Oriented Compo
s
ite Str
u
cture
N
o
te
the

A
gg
regated

nota
t
ion
used to

depict se
r
v
ice

aggregation
15
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Here I e
v
e
n
sugg
e
s
te
d to accentuate Cu
stomer as the
most i
m
portant aspect of
my busine
s
s
. Thus,
I added
Customer Accounts offerings t
o
provide cust
omer supp
or
t,
internet ac
cess, and
m
o
re.
Composit
e Struct
ures are Hierarch
ical Form
ation
s
N
o
te
the

A
gg
regated

s
ymbo
l
used to
identify
co
nt
ai
nm
e
n
t
.
16
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Composit
e Struct
ures Ar
e Aggr
egated
Formations
And fina
lly I was able
to provide a
small Equity Trading Account
S
er
vice t
o
augment my
bu
siness offering
s!
Se
r
v
i
c
e
G

was

aggregated into F
17
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
But when a recession hit t
h
e street, peop
le diversifie
d t
h
eir investments, and
moved their attention to Fixed-Income
inve
st
ment opportunitie
s. My
busine
ss su
ffe
red a great loss! Thus I instructed t
o
re
tire the Equity Tr
ading Account ser
v
ice.
Subtrac
t
ion Operation
s
Ar
e all
about Elimination of Asse
t
s
!
T
he “
S
ubtrac
t
ed

symb
ol i
n
dica
te
s
ser
v
ice retirement
18
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Just
a
s
e
v
ery good busine
ss, it wa
s the
time to reorganize! It se
e
m
ed logicall
y t
h
a
t
the Customer Acc
o
unts service
should be consolida
t
ed with
t
h
e Banking Account service.
So what
d
o
we do next?
Soft
war
e
Asset Con
s
o
l
idation is on the Hori
zon
!
We
Star
t wit
h
Service Decompo
s
ition

U
s
e
the “
D
eco
m
posed

s
y
mbo
l

to b
r
eak
down

coarse-grained ser
v
ices
19
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
I ordered to demote the Custom
er Accounts s
e
rv
ice
before merging
i
t with t
h
e Banking Ac
c
o
un
t service.
Con
s
ider Decompo
s
ition and
Transformation of
Assets!
U
s
e
the “
T
rans
fo
r
m
ed

s
ymbo
l to
s
i
gn
ify the tra
n
s
i
tion fro
m

a
co
mpos
ite

to an a
t
o
m
ic
se
rvic
e
20
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
And I also ordered the de
motion
of t
h
e Banking Acco
unt service!
Continue wit
h
Decompo
s
ition of Asset
s
!
T
he “
D
eco
m
posed

symb
ol i
n
dica
te
s
se
r
v
ice
b
r
eak
down
21
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
C
o
nti
n
u
e
w
i
th T
r
a
n
sf
orm
a
ti
on of
A
s
s
e
ts!
The Banking Account service was
de
moted.
At this point, w
e

were ready to co
nsolida
t
e….
Since se
r
v
ice C
is

e
m
p
t
y, it’s

be
ing
tr
ans
fo
r
m
ed to

an
at
omic service
A-C
22
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
U
n
ification of Atomic Str
u
cture
s
We final
l
y c
o
nsolida
t
ed these tw
o ser
v
ice
offerings in anticipati
o
n
to eve
n
merge more assets.
T
he “
U
n
i
fied”
s
y
mbo
l

in
dica
t
e
s Co
n
s
olid
a
t
i
o
n
of
service
s
23
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Comments an
d Sequence of Event
s
are always Welcome!
24
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Aggregation of Services Combin
es Related Software Entities
A-C, A-F
at
omic
service
tr
ans
fo
r
m
ed to

C
F
(
c
o
m
po
s
i
te

se
r
v
ice
)
because

it aggreg
a
t
es
now
se
r
v
ices
D
and
E
25
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Distributed Servi
c
e Formations
OK
, It’
s
Time
to Play Again!
Re
vealing a Service Eco
syste
m


U
ndersta
n
d Distributed Forma
t
ion

U
nderstand Interoperability

U
nderstand Re
usability

U
nderstand Se
rvice Re
lationsh
ip
OK
, It’
s
Time
to Play Again!
Re
vealing a Service Eco
syste
m


U
ndersta
n
d Distributed Forma
t
ion

U
nderstand Interoperability

U
nderstand Re
usability

U
nderstand Se
rvice Re
lationsh
ip
26
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Creating Cluster Formations
Clu
s
t
e
r C
L
-
A

aggregates
se
r
v
ices

D

and G
27
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Aggr
egating Serv
i
c
es by
Employing Clusters
C
l
us
te
r
CL
-A

a
l
s
o

aggregates
se
r
v
ices
E
and F
28
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Exploring Service Commonalities
C
l
us
te
r
CL
-B


aggregates
se
r
v
ices

H
,

J
,
and
I
29
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Increasing Software Asset R
e
usabi
lity
C
l
us
te
rs
CL
-A
and CL
-B
in
te
rsec
t. Se
rvic
es
E and
F
r
e
s
i
de
in
the
o
v
e
r
lapp
ing
c
l
us
ters

a
rea
30
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
31
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Imagine a Java Program named BankingAc
c
o
u
nt
.Java
that has 16
business activities th
at provide Banking Ac
coun
t services
32
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Wouldn’t it b
e
Ea
sier to logica
lly partition th
ese method
s into
four dist
inguished groups?
1.
Login method group
2. Sav
i
ngs Account method group
3. Checki
ng Account method group
4. Banking Account method group
33
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
…An
d
Would
n
’t it be practical to re
gard
each of these m
e
thod groups
as a service?
1. Login Service
2. Sav
i
ngs Account Serv
ice
3. Checki
ng Account Service
4. Banking Account Serv
ice
34
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
If this makes sen
s
e, we can visualize this formation as
a composite service that contain
s

smaller and finer gra
i
ned services.
The most generali
zed serv
ice, the Banking Ac
coun
t service that con
s
ist
s

of general b
a
nking account activi
ti
es (methods), is regarded

as a compo
s
ite service that aggregates
smaller servi
c
e
s
(fined-grained),
each of whic
h is an atomic
service (indivisible entity).
35
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
During y
o
ur servi
c
e-oriented analys
is phase, you
may
wa
nt to decompo
s
e
your Baki
ng Account Composite Serv
ice, reduce its size and inc
r
ease
the reusability
ra
te of the Login At
omic Service. The Login.Java
is the
program that execute
s
the Login Atomic Service.
36
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
While analyzing your service
s
, th
e Login At
omic Service may
be
a candidate for aggregation. You may
want to inc
l
ude it in the already
existing BankingUtility.Java
program
to join the other utility services
that are aggregated into the Ba
nking Utility Composite Service.
37
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Service Analysis Process Traceability Perspective
38
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
The Serv
ice-Oriented Modeling Framework (
S
OMF) introduces a formal langua
ge that can b
e
used
to desc
ribe an analysis proce
s
s. This approach
advoc
a
tes that
you preserve and documen
t
the
train of thought that influenced your analysis deci
sion
s. Note the sequence
of event
s
in the below
service analysis diagram.
Analysis Process Traceability
39
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Business Traceability Perspective
40
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
If you
are describing a
service li
fe cycle you
can ev
en add
next
to
each step the affiliated co
st
s
and execution dates. This can improv
e your future b
u
siness traceabili
ty
and enhance your future budget
projections.
Business & Service Life Cycle Traceability
41
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Governance Traceability Perspective
42
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Governance/Best Practices Traceability Perspective
During y
o
ur servi
c
e-oriented analysis proce
s
s identi
fy SOA
best pract
i
ces that
are advocated by
your
SOA gov
e
rnment organization.
43
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
44
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Enterprise Architecture Best Practice Traceability
45
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF
Read More About Service-Oriented Discovery &
Analysis Modeling
Service-O
r
iented
Modeli
ng:
Ser
v
ice Analysi
s
, De
sign,
and Architecture
Service-O
r
iented
Architecture:
A Planni
ng and
Implementatio
n
Guid
e for
Bu
sine
ss and Techno
logy
46
Met
hodol
ogi
e
s I
n
c,
All Rights Reserved
©,
2006-20
0
8
.

Tel: 646 290
-5894, www.
Modeli
ngCon
c
ept
s
.
c
om
SOMF
SOMF