soa_chapter 1 -uao

72
Service Oriented Architecture Juan Carlos Corrales, Ph.D. Universidad del Cauca  [email protected] Sesión 01, 01/29/2011 Universidad Autónoma de Occident e Introduction to Service Oriented Architecture

Upload: gustavoalvare9013

Post on 07-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 1/72

Service Oriented Architecture

Juan Carlos Corrales, Ph.D.

Universidad del Cauca [email protected]

Sesión 01, 01/29/2011

Universidad Autónoma de Occidente

Introduction to Service Oriented Architecture

Page 2: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 2/72

Agenda

• SOA evolution – SOA Story

 – Service Oriented Architecture vs. Distributed Object Architecture

 – XML - Extensible Markup Language

 – Web Services

• What is SOA?

  – A new Business Environment – A new Enterprise Environment

 – Pressures on the business

 – Web Services Vs. Business Processes

 – SOA Definitions

 – Legacy Business Process

 – Architectural Choke Point

 – SOA Business Process

Page 3: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 3/72

Agenda

• SOA potential benefits – SOA shifts the way we think

 – Why an Enterprise SOA Strategy is Important

 – Improve quality of service Vs. Drive costs down

 – Consequences of not having an Enterprise SOA Strategy

• Technology providers – Market Trends

 – Technology Providers

 – SOA Solution Types

Page 4: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 4/72

SOA Story

• SOA is not a new concept. Software engineers

understand its principles mid 80's withdistributed computing and remote procedurecalls.

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

• Distributed Computing Architectures of the 90did not reach the expected acceptance:

 – Open Software Foundation's (OSF's) DistributedComputing Environment (DCE)

 – Object Management Group's (OMG's) Common ObjectRequest Broker Architecture (CORBA)

Source: http://www.gartner.com/resources/111900/111987/111987.pdf 

Page 5: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 5/72

In 2003, SOA finally goes fully into the enterprise IT

world, through web services

 – Unlike CORBA and DCE, web services standards donot have detractors among manufacturers

 

SOA Story

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Fuente: http://www.gartner.com/resources/111900/111987/111987.pdf 

 – e ex ty o e serv ces to support mu t c anneapplications

 – The ability of SOAP to pass through firewalls,leveraging the ubiquity of HTTP

 – Web services support application servers that hostbusiness logic

 – The ESBs, which combine Web services withmessage-oriented middleware (MOM), plus someprocessing and routing capabilities

Page 6: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 6/72

SOA Story

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

But why now?

Page 7: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 7/72

Conceptual Relationship

• Several principles of service-orientation are related to and

derived from object-orientation principles.

 – abstraction -- decomposition

 – Encapsulation -- Reusability

 

Service Orientation Vs. Object Orientation

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

7

 – --

 – Composition -- Autonomy – Statelessness -- Discoverability

• Some object-orientation principles, such as inheritance, do

not fit into the service-orientation world.

• Some service-orientation principles, such as loose couplingand autonomy, are not directly promoted by object-

orientation.

Page 8: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 8/72

Conceptual Differences

Loose coupling between

units of processing logic.

Based on predefined class dependencies,

resulting in more tightly bound objects.

Coarse-grained interfaces (service description)

-

Fine-grained interfaces (APIs), Communication

Service-Orientation Object-Orientation

Service Orientation Vs. Object Orientation

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

.

Large unit of processing logic (service),

May vary significantly in scope.

Unit of logic (object) tend to be smaller and

More specific in scope.

Promotes the creation of activity-agnostic

units of processing logic (services) that are

driven into action by intelligent units of 

communication (message).

Encourages the binding of processing logic

with data, resulting in highly intelligentunits (object).

Prefers that units of processing logic (services)

be designed to remain as stateless as possible.

Promotes binding of data and logic, resulting

In the creation of more stateful units (objects).

Page 9: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 9/72

The Paradigm Shift

Simula

Smalltalk

Objective C

Programming

Language

UML

Modeling

OOAD

OO Framework

OODB

Technology &

Methodology

Object-Oriented

Concept &

Service Orientation Vs. Object Orientation

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Java

XMLUDDI

ebXML

WSDL

SOAP

OWL

Standard

Specification

BPEL

WSFL

XLANG

Modeling

OO Process model

MDA

SO Framework

Ontology / Service DB

SO lifecycle process

Technology &

Methodology

Architecture

Service-Oriented

Concept &

Architecture

Page 10: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 10/72

• SOA is a radical departure from client-server architecture.Current SOAs still employ some of the technologies originallyused to build client-server applications. Though moresophisticated, SOAs introduce complexity that sharply

SOA Vs. DOA

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Conceptual Relationship

 

contrasts the simplicity of a two-tier client-server architecture.

• Distributed Internet architecture has much in common withSOA, including a significant amount of its technology.

However, SOA has distinct characteristics relating to bothtechnology and its underlying design principles.

Page 11: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 11/72

Distributed System Architecture

Client

Server 

Data Management

Application Processing

PresentationTwo Tier withThin Client

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Client

Server Data Management

Presentation

Application ProcessingTwo Tier with

Fat Client

Server 

Application

Processing

Server 

Data

ManagementClient

Presentation

Three Tier 

Page 12: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 12/72

Multi-Tier System Architecture

• RPC-based – Client and middleware server is tightly coupled

• Remote Object based 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 –

languages

 – Object models: OMG CORBA, SUN Java RMI, MS DCOM

• Web based

 – Browser + “Dynamic content generation” – Enabling techniques: CGI, Java Servlet/JSP, MS ASP

Page 13: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 13/72

Distributed Object Computing

• Coupled with a powerful communications

infrastructure, distributed objects divide monolithicclient/server applications into self-managingcomponents, or objects, that can interoperate

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

. – SUN J2EE

• JavaTM 2 Platform, Enterprise Edition

 – MS DCOM

• Distributed Component Object Model – OMG CORBA

• Common Object Request Broker Architecture

Page 14: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 14/72

CORBA – A bit of history

• OMG Standard, “to allow applications to communicate withone another no matter where they are located or who has

designed them”

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

  – , . , w t n an – 1994, CORBA interoperability & IIOP (Internet Inter-ORB

Protocol)

 – 2002, CORBA Component Model

Page 15: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 15/72

CORBA – Objectives

• Distributed object computing middleware that shieldsapplications from heterogeneous platform dependencies.

• To simplify development of distributed applications byautomating/encapsulating – Object location

 –

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

.

 – Parameter (de)marshaling – Event & request demultiplexing

 – Error handling & fault tolerance

 – Object/server activation

 – Concurrency

 – Security

• CORBA defines interfaces, not implementations

Page 16: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 16/72

CORBA Application Structure

• Object Request Broker : enables objects to transparently make and

receive requests and responses in a distributed environment.

 – The core of the reference model, “telephone exchange”

• Object Services: a collection of services (interfaces and objects) that

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

.

 – e.g. Naming, Trading, and Life Cycle Service

• Common Facilities: a collection of services that many applications may

share, but which are not as fundamental as the Object Services

 – e.g. e-mail facility

• Application Objects: products of a single vendor on in-house

development group that controls their interfaces.

Page 17: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 17/72

ApplicationObjects DomainFacilities

Horizontal

CORBAFacilities

CORBA Application Structure

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Object Request Broker 

Domain Facilities

Page 18: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 18/72

Interface

Repository

Implementation

Repository

IDL

Compiler 

CORBA Middleware Architecture

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

en ec

Dynamic

Invocation

IDL

Stub

ORB

Interface

IDL

Skeleton

Dynamic

Skeleton Object

Adapter 

ORB Core GIOP/IIOP/ESIOPS

Page 19: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 19/72

Object Request Broker (ORB)

• A logical set of services

 – Locates the remote object, communicates the request,waits for the results and when available communicates

the results back to the client

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 – Location transparency – Programming language independent: interface translation

and language binding

Client Object

Object Request Broker (ORB)

Page 20: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 20/72

Interface Definition Language (IDL)

• Language neutral, Language mapping

 – Modularized object interface

 – Operations and attributes that an object supports

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 –

 – Data types of an operation return value, its parameters,

and an object’s attributes

Client

Object Request Broker (ORB)

IDL

Stub

IDL

Skeleton

Object

Page 21: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 21/72

Two-way Processing

In args

 O eration

Implementation

Repository

1S

Activate server 

3S

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

ORB CORE

. re . 

Out args + return value

IDL

Stub

1C

Locate target object

3C 2CSend request to server Wait for 

request to

complete

IDL

Skeleton

2S

Activate Object’s Servant

Process Request

4S

Return Request

4CReturn

Control to

Client

Page 22: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 22/72

CORBA Services

Services Description

Object Life Cycle Define how CORBA objects are created, removed, moved and copied

Naming Define how CORBA objects can have friendly symbolic names

Events Decouple the communication between distributed objects

Relationships Provides arbitrary typed n-ray relationships between CORBA objects

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Externalization Coordinates the transformation of CORBA objects to and from external

media

Transactions Coordinates atomic access to CORBA objects

Concurrency Control Provides a locking service for CORBA objects in order to ensure serialized

access

Property Supports the association of name-value pairs with CORBA objects

Trading Supports the finding of CORBA objects based on properties describing the

services offered by the object

Query Support queries on objects

Page 23: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 23/72

J2EE

• A platform for developing applications

 – Oct. 1994, Public introduction of Java

 – Jan. 1996, JDK 1.0 released

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

  – . ,

 – Dec. 1998, Java 2, SDK 1.2 released

 – Jun. 1999, J2EE announced

 – Dec. 1999, J2EE platform released

 – Sep. 2001, J2EE 1.3 released

 – Nov. 2003, J2EE 1.4 released

Page 24: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 24/72

PureHTML

Java

Browser 

Client SidePresentation

Server SidePresentation

JSP

Web

Server 

Server SideBusiness Logic

EJB

EJB

Container 

EnterpriseInformation

System

 

  n   A  r  c   h   i

   t  e  c   t  u  r  e

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Java

Application

Desktop

J2EE

Client

Other Device

Java

Servlet

JSP

J2EE

platform

EJB

EJB

J2EE

platform   J   2   E   E   A

  p  p   l   i  c  a   t   i  o

 

Page 25: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 25/72

J2EE Services

• HTTP/HTTPS

• JAAS – Java Authorization and Authentication Service• JTA – Java Transaction API

• JNDI – Java Naming and Directory Service

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

• -

• JDBC – Java DataBase Connectivity

• JMS – Java Message Service

• JavaMail

• JAXP – Java API for XML Parsing• Java IDL

Page 26: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 26/72

Advantages of Distributed Object

Architecture

• It allows the system designer to delay decisions on

where and how services should be provided

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

• t s a very open system arc tecture t at a owsnew resources to be added to it as required

• The system is flexible and scalable

• It is possible to reconfigure the systemdynamically with objects migrating across the

network as required

Page 27: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 27/72

Weakness of Distributed Object

Architecture

• Tightly coupled – Both ends of each distributed computing link had to agree

on the details of the API. A code change to a COM object,

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 

for example, required corresponding changes to the codeaccessing that object.

• Proprietary – Microsoft controlled DCOM

 – Implementing a CORBA architecture typicallynecessitated the decision to work with a single vendor'simplementation of the specification.

Page 28: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 28/72

SOA -- Evolution vs. Revolution

• SOA is developed upon the weaknesses of distribute object computing technique.

 – Standard-based

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

• Reliance upon universally accepted standards provides broadinteroperability among different vendors’ solutions

 – loosely couples

• Separates the participants in distributed computing interactions so

that modifying the interface of one participant in the exchangedoes not break the other .

Page 29: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 29/72

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

eXXtensibleMMarkupLLanguage (XML)

• Based on Standard Generalized Markup

Language (SGML)

• Version 1.0 introduced by World Wide Web

• Bridge for data exchange on

the Web

Page 30: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 30/72

Authoring XML Elements

• An XML element is made up of a start tag, an end

tag, and data in between.• Example:

<director > Matthew Dunn </director >

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 

<actor > Matthew Dunn </actor >

• XML tags are case-sensitive:

<CITY> <City> <city>

• XML can abbreviate empty elements, for example:<married> </married> can be abbreviated to

<married/>

Page 31: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 31/72

XML Data Model: Example<BOOKS>

<book id=“123”

loc=“library”><author >Hull</author >

<title>California</title>

 

BOOKS

123 555

articlebook 

ref 

loc=“library”

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

<year > 1995 </year ></book>

<article id=“555”ref=“123”>

<author >Su</author ><title> Purdue</title>

</article>

</BOOKS>

Hull Purdue

California

Su

titleauthor

title

author year

1995

Page 32: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 32/72

Document Type Definitions (DTD)

• An XML document may have an optionalDTD.

• DTD serves as grammar for the underlying

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

,

language.• DTDs are somewhat unsatisfactory, but no

consensus exists so far beyond the basic

DTDs.• DTD has the form:

<!DOCTYPE name [markupdeclaration]>

Page 33: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 33/72

DTD (cont’d)

• Consider an XML document:<db><person><name>Alan</name>

<a e>42</a e>

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

<email>[email protected] </email></person>

<person></person>

.

</db>

Page 34: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 34/72

• DTD for it might be:<!DOCTYPE db [

<!ELEMENT db erson* >

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

DTD (cont’d)

 

<!ELEMENT person (name, age, email)><!ELEMENT name (#PCDATA)>

<!ELEMENT age (#PCDATA)>

<!ELEMENT email (#PCDATA)>]>

Page 35: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 35/72

Comparisons

• Extensible set of tags

 

• Fixed set of tags

 

XML HTML

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

• on en or en a e

• Standard Data

infrastructure

• Allows multipleoutput forms

• resen a on or en e

• No data validation

capabilities

• Single presentation

Page 36: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 36/72

Web Services

“Web services” is an effort to build a

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

  .

Yet another one!

Page 37: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 37/72

Designing Web Services I

• Goals

 – Enable universal interoperability.

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

,

• Compare with the good but still limited adoption of the OMG’sOMA.

 – Enable (Internet scale) dynamic binding.

• Support a service oriented architecture (SOA).

 – Efficiently support both open (Web) and more constrained

environments.

Page 38: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 38/72

Designing Web Services II

• Requirements – Based on standards. Pervasive support is critical.

 – Minimal amount of re uired infrastructure is assumed.

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 

• Only a minimal set of standards must be implemented. – Very low level of application integration is expected.

• But may be increased in a flexible way.

 – Focuses on messages and documents, not on APIs.

Page 39: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 39/72

Web Services Model

Web service applications are

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

,

Web “components” that can bind

dynamically to each other 

Video 1

Page 40: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 40/72

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Di     s  t   r  i     b   u t    e d  

 C  om

  p u t   i    n  g

VT3270

VT100

Client/Server 

RPC

Stored Procedure

TCP/IP

CORBA

EAI

WWW

MQ

EJB

NFSWSDL

SOAP

 S 

P r   o  gr   am

P  ar   a d  i      gm

1950 1960 1970 1980 1990 2000

Assembler 

COBOL

SIMULA

Pascal

Modular2

Smalltalk

PROLOG

Ada

C++

Java

C#

Page 41: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 41/72

Agenda

• SOA evolution – SOA Story

 – Service Oriented Architecture vs. Distributed Object Architecture

 – XML - Extensible Markup Language – Web Services

• What is SOA?  – A new Business Environment

 – A new Enterprise Environment

 – Pressures on the business

 – Web Services Vs. Business Processes

 – SOA Definitions

 – Legacy Business Process

 – Architectural Choke Point

 – SOA Business Process

Page 42: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 42/72

A New Business Environment

Business outsource every non-essential function.

 – Concentrate on core function and values.

Vertically integrated enterprises are being broken apart

 –

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

.

 – Applications that used to be internal are nowprovided by outside parties.

Corporate boundaries become fuzzier .

Does today’s IT models support the new businessenvironment? – Today it is vital to adapt the computing model to the

business interaction model.

Page 43: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 43/72

Enterprises as IT Islands

Value added networksand proprietary protocolssupport most B2B

A New Enterprise Environment

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Ad-hoc bridges supportinterorganizationalinteractions.

Most applicationinteractions take placeinside the enterprise.

Most applications belongto a single administrativedomain.

nteract ons

Page 44: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 44/72

Fully Networked Enterprises

Web based interactions

become pervasive, basedon standard protocols

A New Enterprise Environment

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

The frequency of externalinteractions and theirreach inside theenterprise increasesdramatically.

Internal applicationsseamlessly reach out of the enterprise.

Interacting applicationsnaturally belong tomultiple administrativedomains.

Page 45: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 45/72

Fully Networked Business Interactions

The distinction between

internal and externalapplications and providerslooses importance

A New Enterprise Environment

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Many potential providerscan be found for eachrequired function.

SO SO SO f

Page 46: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 46/72

IT for the New Enterprise: Business Components

Need to raise the level of IT abstractions.

 – Concentrate on business function and requirements.

Need to encapsulate business function to make it available to partners:

service components.

 

A New Enterprise Environment

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

 – Different level granularity – coarse grained business services vs. fine

grained objects.

Services must be defined by explicit contracts to allow independent party

access.

 – Consequence is automatic binding.

Core concern of business is to integrate business processes and functions.

 – Business components are integrated creating service compositions.

 – New value is created through integration/composition.

 – New components are recursively created.

SOA E l ti Wh t i SOA? T P idSOA B fit

Page 47: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 47/72

Pressures on the business

 

   b   j  e  c   t   i  v  e  s

 

   t  s

New Demands

Growth, profit,

and value

Technology

Customer Supplier  Partner 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Continuous businesstransformation

   E  v  o   l  v   i  n

  g   B  u  s   i  n  e  s  s

   C   h  a  n  g   i  n  g   M  a

  r   k 

Leadership

Customer 

satisfaction

Innovation

Deregulation

Mergers &

acquisitions

Economy

CompetitionSatisfying Unpredictable

NeedsBusiness agility

SOA Evolution What is SOA? Tec ProvidersSOA Benefits

Page 48: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 48/72

Web Services Vs. Web Processes Web Services

 – Self-describing, modular software application

 – Vehicle for cross-organizational integration of heterogeneous applications

 – Network-connected application

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

OneOne of  of thethe mostmost appealingappealing aspectsaspects of of WebWeb servicesservices isis

havinghaving thethe abilityability toto aggregateaggregate thethe functionalityfunctionality of of 

individualindividual WebWeb servicesservices byby composingcomposing themthem toto createcreate

WebWeb processesprocesses

Aspects of Web processes – Standard descriptions

 – Suitable WS discovery

 – Dynamic binding WS

SOA Evolution What is SOA? Tec ProvidersSOA Benefits

Page 49: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 49/72

Web Process An Example

+Organization AOrganization B

Organization C

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

t 3

t 6 t 5

t 4

t 2

Prepare

Sample

Prepare Clones

and

Sequence

Get SequencesTest Quality

Assembly

t 7 

Sequence

Processing

t 1

Setup

t 8

Process

Report

+

SOA Evolution What is SOA? Tec ProvidersSOA Benefits

Page 50: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 50/72

Web Process extended Definition

Web Processes are next generation workflowtechnology to facilitate the interaction of organizations

with markets, competitors, suppliers, customers etc.

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

-

 – encompass the ideas of both intra and inter  

organizational workflow.

 – created from the composition of Web services – can use BPEL4WS to represent composition

SOA Evolution What is SOA? Tec ProvidersSOA Benefits

Page 51: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 51/72

Globalization of ProcessesB2B E-Services

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Web ProcessesWorkflows Distributed

Workflows

GlobalEnterprise Inter-Enterprise

Processes driving the Networked Economy Video 2

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 52: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 52/72

What is Service-Oriented Architecture?

Service-Oriented Architecture (SOA) is an

architectural style. Applications built using an

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

52

s y e e ver   unc ona y as serv ces a

can be used or reused when building

applications or integrating within the enterprise

or trading partners.

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 53: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 53/72

SOA

• Uses open standards to integrate software

assets as services

53

 

• Services become building blocks that formbusiness flows

• Services can be reused by other applications

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 54: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 54/72

Legacy Business Process

Business Process 1

Business Process 2

54

 

Business Process 3

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 55: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 55/72

Architectural Choke Point

• Monolithic

• Extremely complex

• Ver ti htl cou led

55

 

• Difficult to find clean integration points• Lack of standards makes it difficult to

integrate

• Rigid architecture makes even smallchanges complex and costly

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 56: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 56/72

SOA Business Process

Business Process

Shared Service

56

Information Framework

Supplier 

Video 3

Agenda

Page 57: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 57/72

Agenda

• SOA evolution – SOA Story

 – Service Oriented Architecture vs. Distributed Object Architecture

 – XML - Extensible Markup Language – Web Services

• What is SOA?  – A new Business Environment

 – A new Enterprise Environment

 – Pressures on the business

 – Web Services Vs. Business Processes

 – SOA Definitions

 – Legacy Business Process – Architectural Choke Point

 – SOA Business Process

Agenda

Page 58: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 58/72

Agenda

• SOA potential benefits – SOA shifts the way we think

 – Why an Enterprise SOA Strategy is Important

 – Improve quality of service Vs. Drive costs down – Consequences of not having an Enterprise SOA Strategy

• Technology providers – Market Trends

 – Technology Providers

 – SOA Solution Types

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 59: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 59/72

SOA shifts the way we thinkTraditional Applications Service Oriented Architecture

Designed to last Designed to change

Tightly Coupled Loosely Coupled, Agile and Adaptive

Integrate Silos Compose Services

Detailed Abstracted

Long development cycle Interactive and iterative development

Cost, supply centered Business, demand centered

Middleware makes it work Architecture makes it work

Favors Homogeneous Technology Favors Heterogeneous Technology

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 60: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 60/72

Why an Enterprise SOA Strategy is Important• Create structure around federated SOA efforts – avoid IT mavericks

• Provide guidance and recommendations to Business and IT teams wanting

to implement SOA solutions

• Manage and govern the architectural landscape – planning, preparing, andapplying principles, techniques, and technologies to make the business

adapt to change.

• Manage semantic interoperability through Services

 • Reduces integration expenses

 – Web based SOA reduces integration expense through standardization• Increases Asset Reuse

 – Helps eliminate duplicate functionality

 – Reduces time to market

 – Promotes consistency

• Reduces risk

 – More control over business processes by business people

• Improves Business Agility

 – Allows the business direct control of business processes to manage rapid

change

I lit f i V D iSOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 61: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 61/72

Improve quality of service Vs. Drive

costs down

Support rapid change Security Performance

Improve availabilityOutsourcing

Emerging

a lications

Drivecosts

down

Consumption-based costing Capacity

Deliver 

servicesP&L contribution

Increase business relevanceMobility

Distributed

systems

Heterogeneity

Reduce complexity

Improve

qualityof 

service

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 62: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 62/72

Before - After SOA

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 63: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 63/72

Consequences of not having an EnterpriseSOA Strategy

Within 2-3 years, we’ll have• Mishmashes implementations of non-cohesive SOAs

• Islands of architectures – fragmented business functionality &

Business Processes

Video 4

• Vendor-defined SOA landscapes (every vendor wants to be the

‘center of the universe’)

• IT will spend a lot of time in the future unwinding shortsighted

solutions

• Semantic mess – multiple applications exposing seemingly similar 

functionality

• Lots of  non-reusable, un-structured services that don’t enable

business processes

• Businesses struggle to react to change – reduced competitiveness

Agenda

Page 64: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 64/72

g

• SOA evolution

• What is SOA?

• SOA potential benefits – SOA shifts the way we think

 – Why an Enterprise SOA Strategy is Important

  – Improve quality of service Vs. Drive costs down

 – Consequences of not having an Enterprise SOA Strategy

• Technology providers – Market Trends

 – Technology Providers

 – SOA Solution Types

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 65: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 65/72

• Market development of software vendor integration / EAI

to SOA Suites• Market development of technology

providers MOM / JMS to ESB (Enterprise ServiceBus)

Market Trends

• Market development of applications softwarevendors Web / ApplicationServers / APS(Application Platform Suites) to SOA Suites

• Market convergence of technology provider Web Services

and SOA• Convergence / fusion providers EAI / MOM / BPM /

Integration / B2B / Application Servers / APS / Web

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 66: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 66/72

• Microsoft

• IBM

• BEA

• IONA

• Cape Clear 

• Progress / SonicSoftware

Technology Providers

• Sun / SeeBeyond

• Oracle

• webMethods /Software AG

• SAP

• iWay• Fujitsu

• Fiorano• InterSystems

• PolarLake

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 67: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 67/72

Gartner Integration 2Q07

http://mediaproducts.gartner.com/reprints/microsoft/vol1/article1/article1.html

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 68: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 68/72

SOA Solution TypesEvolution of closed and monolithic applications to reusableservices architecture on layer distributed network

Access La er 

Process Layer 

Service Layer 

Resource Layer 

 

SOA Evolution What is SOA? Tec. ProvidersSOA Benefits

Page 69: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 69/72

SOA Solution Types

Portal

BAMGovernance

ETL

BPM

ESB

B2B

Video 5

Agenda

Page 70: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 70/72

• SOA evolution – SOA Story

 – Service Oriented Architecture vs. Distributed Object Architecture

 – XML - Extensible Markup Language – Web Services

• What is SOA?  – A new Business Environment

 – A new Enterprise Environment – Pressures on the business

 – Web Services Vs. Business Processes

 – SOA Definitions

 – Legacy Business Process – Architectural Choke Point

 – SOA Business Process

Agenda

Page 71: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 71/72

• SOA potential benefits – SOA shifts the way we think

 – Why an Enterprise SOA Strategy is Important

 – Improve quality of service Vs. Drive costs down – Consequences of not having an Enterprise SOA Strategy

• Technology providers – Market Trends

 – Technology Providers

 – SOA Solution Types

Page 72: Soa_chapter 1 -Uao

8/4/2019 Soa_chapter 1 -Uao

http://slidepdf.com/reader/full/soachapter-1-uao 72/72

Service Oriented ArchitectureJuan Carlos Corrales, Ph.D.

Universidad del Cauca

 [email protected]

Sesión 01, 01/29/2011

Universidad Autónoma de Occidente

Introduction to Service Oriented Architecture