Professional Documents
Culture Documents
Chapters 12/31 Chapters 12/31
Chapters 12/31 Chapters 12/31
Distributed Systems
Architectures & Service-Oriented
Software Engineering
Sensor Light
Display control
control process
process process
Traffic lights
Traffic flow sensors
and cameras Operator consoles
z Distributed systems
y where the system
y software
runs on a loosely integrated group of processors
linked by a network. (e.g., ATM systems)
z Unpredictable responsiveness
c2 c3 c4 c12
c11
Server process
c1 s1 s4
c10
c5
Client process
s2 s3 c9
c6 c8
c7
c1 c2 c3, c4
CC1 CC2 CC3
Client
computer
c5, c6, c7 c8, c9 c10, c11, c12
CC4 CC5 CC6
Presentation layer
Application processing
layer
Data management
layer
Presentation
Server
Thin-client Data management
model Client
Application
processing
Presentation
Application processing Server
Fat-client
model Client Data
management
Tele- Customer
processing account
ATM monitor database
ATM
transaction manager
Presentation
Server Server
Client Application Data
processing management
Client
Application Data
processing management
Client
Presentation
o5 o6
S (o5) S (o6)
Services
Database 2
Visualiser
Integrator 2
Database 3
Display
CORBA services
Horizontal
facilities
Domain
specific
facilities CORBA
services
i
Major elements of the CORBA
standards
• An application object model where objects
encapsulate state and have a well-defined, language-
neutral interface defined in an IDL (interface
d fi i i language).
definition l )
• An object request broker (ORB) that locates objects
providing services, sends service requests, and
returns results to requesters.
• A set of general object services of use to many
di ib d applications.
distributed li i (Horizontal facilities)
• A set of common components built on top of these
services. (Task forces are currently defining these.)
(domain specific facilities)
©Ian Sommerville 2000 Software Engineering. Chapters 12/31 Slide 42
CORBA objects
z Objects that provide services have IDL
skeletons that link their interface to an
implementation.
p
z Calling objects have IDL stubs for every
object
j beingg called.
z IDL stubs and skeletons are “visible” to ORB.
z Objects
j do not need to know the location or
implementation details of other objects.
o1 o2
S (o1) S (o2)
Calling Object
object providing
IDL IDL service
stub skeleton
(For 02)
o1 o2 o3 o4
Network
GIOP
Service
registry
Find Publish
Process (WS-BPEL)
Messaging (SOAP)
Find Publish
Find Publish
Find Publish
A loosely-coupled,
l l l d reusable
bl software
ft componentt
that encapsulates discrete functionality which
may be distributed and programmatically
accessed. A web service is a service that is
accessed using standard Internet (HTTP
(HTTP,
TCP/IP) and XML-based protocols.