Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Main issues:
• What’s special about services?
• Essentials of service-oriented SE
Overview
Services
Service descriptions
Messages
Service
registry
lookup publish
Service Service
requestor provider
bind
Rental agency 1
Rental agency 1
Rental agency 2
Apartment
(immediate, cheap) publish
Agency 1
Apartment?
Municipality
Rental agency 1
2
system
Rental agreement
Trust promises?
Rental agency 1
Rental agency 2
Apartment
(immediate, cheap)
Agency 1
Apartment?
Municipality
Rental agency 1
system
Rental agreement
No assumptions possible
Web services
SOSE: Service-Oriented Software Engineering
Architecture:
the fundamental organization of a system in its components,
their relationships to each other and to the environment and
the principles guiding its design and evolution
Orchestration/coordination layer
physical
logical
service bus
service Business services layer service
Web services
BPEL4WS
composition BPEL4WS
messages SOAP
Four parts:
Web service interfaces
Message definitions
Bindings: transport, format details
Services: endpoints for accessing service. Endpoint =
(binding, network address)
entity centric
order entity-centric
hybrid services fulfilment
hybrid services service task centric
task-centric
send
infrastructure services wrapper
infrastructure services utility notification
service service service
Top-down strategy
Bottom-up strategy
Agile strategy
step 1
step 1 step22
step
Define enterprise Service oriented
Compose SOA
business models design
step 33
step step44
step
Define enterprise Perform service
....
service model oriented analysis
Develop
Model application Deploy
application
services services
services
Deploy services
Revisit business
align with (and process) services
on-going current
state
business
models SE, Servic Orientation, Hans van Vliet, ©2008 45
Service oriented analysis
step 1
step 2
Identify
automation
Service oriented
systems
design
step 3
Model
... candidate services
Can lead to
process-agnostic services/service operations (generic service
portfolio)
services delivering business-specific tasks
Transform
receive PO PO
validate PO
Import
PO
yes
PO
valid
Send PO
no to queue
Send stop
notification
SE, Servic Orientation, Hans van Vliet, ©2008 50
Step 2: Identify automation systems
Receive PO document
<<include>>
Validate PO document
PO processing ...
service
(If PO document is invalid,)
send rejection notification
(and end process)
<<include>>
Transform PO document
into native
electronic PO format
Task-centred Entity-centred
(+) direct mapping of (+) agility
business requirements (-) upfront analysis
(-) dependent on specific (-) dependent on
process controllers
introduce agility
enable reuse
1 Transform PO document
* into native
1 Customer electronic PO format
1 ...
PO
processing
service
Orchestration/coordination
layer
Verify PO
PO service
service
Business service layer
Infrastructure service
Transform
Notification
service layer
service
Receive PO document
Verify PO PO Notification
<<include>> service service service
Validate PO document get_PO
PO processing [PO data]
service
...
(If PO document is invalid,) verify
send rejection notification
(and end process)
<<include>>
send_reject
Transform PO document
into native
electronic PO format