Академический Документы
Профессиональный Документы
Культура Документы
Architecture
Lecture 10: Composite Services
Architecture (CSA)
Sources:
www.osoa.org
SOA for the Business Developer by Margolis
Introducing SCA by Chappell
95-843: Service Oriented Architecture
Master of Information System
Management
1!
Composite Services
Architecture (CSA)
In March 2007, Composite Services Architecture (CSA)
is passed on to OASIS by the Open Service Oriented
Architecture collaboration.
CSA is supported by BEA, IBM, Oracle, Sun, Tibco, Red
Hat and others.
CSA Consists of SCA (Service Component Architecture)
and SDO (Service Data Objects).
Implemented by IBM WebSphere, Oracle, Red Hat,
Tibco, and the open source Apache Tuscany.
Describes how to compose and deploy applications
supporting SOA.
Decouple business logic from details associated with the
call on that logic.
Introduces The Service Component Definition Language
(skiddle) to describe composites.
95-843: Service Oriented Architecture
Master of Information System
Management
2!
3!
4!
5!
6!
references
<component>
<implementation>
<service>
<binding>
<property>
<reference>
<binding>
</component>
7!
<component>
<implementation>
<service>
<property>
<reference>
</component>
references
8!
services
Operations
available to
clients.
Business logic
Implementation
Other
services
this client
depends
on.
references
9!
<service>
<property>
A component is a configured
<reference>
implementation.
<wire>
<component>
SCA is language agnostic.
<implementation>
<service>
SCDL defines how the component
<property>
interacts with the outside world.
<reference>
</component>
A component might talk to other
components within its own domain or
<more components > outside of its own domain.
:
</composite>
An SCA runtime knows what to do with
this.
95-843: Service Oriented Architecture
10!
Master of Information System
Management
11!
12!
services
wire
wire
references
13!
properties
services
wire
wire
references
14!
properties
Perhaps implemented
in Java.
services
wire
wire
references
15!
properties
services
wire
wire
references
properties
services
wire
wire
references
service
17!
<composite>
<service>
<property>
<reference>
<wire>
<component>
<implementation>
<service>
<property>
<reference>
</component>
<more components >
:
</composite>
SCA Domains
Contain one or more composites.
May cross machine and process
boundaries.
Are each managed by a single
group of people.
Run on a single vendors SCA
runtime.
Place no restrictions on how
internal communication is done.
95-843: Service Oriented Architecture
Master of Information System
Management
19!
SCA Bindings
Bindings specify how one component
communicates with another.
A single component may have multiple
bindings.
The use of bindings separate what a
component does from how we
communicate with it.
20!
21!
SCA Summary
From www.osoa.org:
As your SOA becomes more complex, you'll need the
simplicity and flexibility of SCA. The Service Component
Architecture helps you:
Save time and money - A simpler API means a shorter
learning curve with fewer errors.
Enable and encourage reuse - Developers can create
composites that perform useful functions. SCA makes it easy
to use and reuse them.
Manage your system - Because policies can be defined outside
the code that performs the service, you can change the
policies without changing the code.
22!
23!
24!
Goals of SDO
To simplify the life of the application
developer.
To provide new opportunities for tools
and frameworks to work with a wide
variety of data sources.
Thus, we see support for both static
(account.getBalance()) and dynamic
(resultSet.getFloat(BALANCE)) data
APIs. One for programmers the other
for tools.
95-843: Service Oriented Architecture
Master of Information System
Management
25!
Data Source
The DAS
creates the
graph of
data
objects.
26!
SDO Architecture(2)
Data Objects hold the data and metadata.
Data Objects have rich relationship support.
The Data Graph logs every change to the data.
client
Data Access
Service (DAS)
Data Source
27!
SDO Architecture(3)
Data Access Services come in various forms:
Relational
Data
Access
Service
client
EJB Data
Access
Service
XML Data
Access
Service
95-843: Service Oriented Architecture
Master of Information System
Management
28!
29!
30!