42
Service Orientation & Service Oriented Architectures Setting the stage for the semester Duane Truex, Arun Aryal & Tianjie Deng

Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Service Orientation & Service Oriented

Architectures

Setting the stage for the semester Duane Truex, Arun Aryal & Tianjie Deng

Page 2: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

2

Cognitive Map of 8090 IS Architectures as

Strategy Books: Weill, Ross & Robertson,

“Enterprise Architecture as Strategy” & Fenix Theuerkorn “Lightweight

Enterprise Architectures”

Work Systems Models S. Alter, “Work System Method”

IS architectural components and

development Mid-Range Modeling

Architectural Modeling options

ERP as instantiation of Architectures

Level of Analysis EA – Organizational

IS Architectural – Mid-Range Work Systems / SOA – Low

range

Page 3: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

3

Agenda: �  Review from last week

�  Strategy review

�  SOA �  Definition of SOA �  Why SOA? �  SOA Architecture �  Traditional vs. SOA architecture �  8 steps towards SOA

�  Integrating EA throughout organizations �  SAP NetWeaver

�  EA evolution & governance

Page 4: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Strategy Review: How Org’l Strategy Determines IS Structure

�  Organiza(onal  strategy  begins  with  an  assessment  of  an  industry  

�  That  assessment  leads  to  a  compe((ve  strategy  which  determines  value  chains  

�  Value  chains  lead  to  business  processes  

�  Business  processes  determine  informa(on  system  structure,  features,  and  func(ons  

Page 5: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Strategy  Review:  Porter’s  Five  Forces  Model  

Intensity of each force determines characteristics of the industry, how profitable it is, and how sustainable

that profitability will be

Page 6: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Strategy  Review:    Porter’s  Compe((ve  Strategy  Model    

•  Firms  engage  in  one  of  four  compe((ve  strategies  

     

•  To  be  effec(ve,  organiza(on  goals,  objec(ves,  culture,  and  ac(vi(es  must  be  consistent  with  organiza(on  strategy  

Page 7: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Strategy  Review:    How  does  IS  Provide  Compe((ve  Advantage?    

Product Implementation

1. Create a new product or service 2. Enhance existing products or

services 3. Differentiate products or services

Process Implementations

4. Lock in customers and buyers 5. Lock in suppliers 6. Raise barriers to market entry 7. Establish alliances 8. Reduce costs

Information systems can help create a competitive advantage by being part of the product or by providing support to the product

Page 8: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Architecture: �  An architecture implies a consistent and coherent design

approach. Essential principles include: �  Consistency: The same challenges should be

addressed in a uniform way. �  Reliability: The structures created must be fit to

purpose and meet the demands for which they are designed.

�  Extensibility: A design must provide a framework that can be expanded in ways both foreseen and unforeseen.

�  Scalability: The implementation must be capable of being scaled to accommodate increasing load by adding hardware to the solution.

8

Page 9: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

What are Services? Service is • • component of distinctive functional meaning

typically encapsulate a high-level business concept Lego block

that

• Service contains Contract – message type def, constraint, description (comment) Interface – set of operations Implementation – Logic and data

• •

4

Page 10: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Type of Services

5

Page 11: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Examples of a Service • Creating a Purchase Order inside

mainframe application a

• Requesting and reserving a hotel Applying for a loan by filling request form

room in a

• out a loan

• Search books/music based on keywords

6

Page 12: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

What Is A SOA?

9

Page 13: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

SOA Characteristics

10

�  Based on open standards

�  Fosters �  Inherent reusability �  Intrinsic interoperability �  Extensibility �  Fundamentally autonomous services

�  Promotes �  dynamic discovery of services �  Architectural composability �  Loose coupling throughout the enterprise

�  Supports incremental implementation

Page 14: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

SOA Characteristics • Services are platform

independent, self describing interfaces (XML) Messages are formally defined Services can be discovered

Composable

• • •

Interoperable Reusable Services have quality

service characteristics in policies

of defined

Loosely Coupled Scalable • Services can be provided on

any platform Can be governed •

11

Page 15: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Potential Benefits of SOA • • • • • • • •

Efficient and effective usage of ‘Business Services’ Improved Integration, intrinsic interoperability Organizational agility Loosely-coupled with reusable assets and services Drives business processes closer to end users Leverage and integrate existing applications Provide standard connections between systems Abstract complexity for developers

12

Page 16: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Potential Benefits of SOA

Feedback at different levels

More efficient development process

Reuse

Agility

Independence from technology

Adequate business infrastructure

Cost savings Evolutionary approach

Risk mitigation

13

Page 17: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Shift to SOA

Layered Extensible

Service-Oriented

Accidental Rigid

Silo-Oriented

14

Page 18: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

ce

Why SOA?

Distributed Computation Marketing Research &

Development

Accounting

Customer Servi

Manufacturing Sales

15

Distributed Data

Distributed users …..

Page 19: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Why Interoperation issues

SOA? •

– – – – –

Heterogeneous Heterogeneous Heterogeneous Heterogeneous ……

network protocols hardware platforms operating systems application formats

• • •

Increased Competition Enhancement of Business Capabilities There must be consensus On Interoperability

16

Page 20: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

SOA architecture

Service Directory

Service Consumer

Service Provider

Invokes

17

Finds and Retrieves

Registers

Page 21: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Cpmtrastomg  Tradi.onal  Architecture  vs.    Service  Oriented  Architecture  

Traditional  Architecture   Service  Oriented  Architecture  

•  Components are tightly coupled •  Interface between subsystems is explicitly defined in

terms a stack of protocols

• Loose coupling by means of services with standardized interfaces Application components communicate only through services and can be plugged in to any infrastructure that implements the standardized service

•  Known implementation •  Components are not independent of implementation

attributes • Uses abstraction and is based on XML over SOAP Largely independent of implementation attributes •

•  Tends to be closed architecture – •  Difficult to replace, or reuse components from one system

to another Loosely coupling between interaction software components – leads to re-use of software components Designed to follow publically accessible models for consumption Meant for enabling participation of multiple organizations

• •  Commonly, functions are accessible with the help of point-point connections over the network

•  Tends to be confined to a single organization •

•  Based on standard set of layer – presentation, business, data access, Database

18

•  Requires additional layers •  Business layer => Service and business model / •  Components Service Bus / Service Façade BPM

Page 22: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Tradi.onal  Architecture  vs  Service  Oriented  Architecture  

Traditional  Architecture   Service  Oriented  Architecture  

STANDARDS STANDARDS •  Involves only traditional J2EE and Web related

standards •  Uses only HTTP •  Uses HTTPS for security •  More or less stable set of standards

•  Includes standards related to Web Service Builds a messaging layer above HTTP using SOAP Prefer WS-Security for end-to-end security Implementations must deal with evolving set of standards

USAGE USAGE •  Process centric •  Known context of usage

•  Workflow centric •  To a large extent, future context of usage

unknown at the time of design i.e unknown users and usage platforms

19

Page 23: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Key components of SOA

20

Business Logic Data

Interface Implementation Contract

Enterprise Governance Front-End Service Business Services

Service Enterprise Repository Service Bus

SOA

Page 24: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Key components of SOA

• • • • •

Services (common denominator) Service Description Advertising and Discovery Specification of associated Service contracts

data model

21

Page 25: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Associated Terminology

EAI OASIS rpc UDDI SODA XSLT

XPath JBI XSD SOA Messaging SOAP

SAML Web Service Digital

Signature WSDL SAX

Schema BEPL4WS

22

DIME DTD

Page 26: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Key Standards of and Technology of SOA

24

Page 27: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Associated Terminology

BPO BPM ESP GDM SOA SODA SOBA SOE

WS

Business Process Outsorcing Business Process Management

Enterprise Service Provider Global Delivery Model

Service Oriented Architecture Service Oriented Development of Applications

Service Oriented Business Applications

Service Oriented Enterprise

Web Services

23

CLOUD Computing

Page 28: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

SOA Platform

25

Page 29: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Challenges Technical Challenges

of SOA

• • Security challenges - loosely coupled

environment Performance - XML brings robustness not Optimization

• • • • •

speed

Organizing the services – registry & repository Finding the right services and right interfaces

Transaction management is complex in interactions between logically separate system

27

Page 30: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Where eBay

SOA made a difference •

• •

IBM • •

Abstracting enterprise information Helped to mange more than 2 perabytes of data

• 77 shareable and reusable services in production Reduced application inventories

• Hewlett Packard • •

Reuse across services Cutting operational costs

• Amazon.com • Handle 60 million customers and one million partners • Handle growing Transactional load

Citi Group • • •

Governace Enable “separation of powers” among corporate, divisions, departments

• DreamWorks • •

Simplify and consolidate key business operations Use SOA to make movies a easier process

• Volvo • Better customer service by linking all dealership in Belgium

28

Page 31: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Why is SOA Different?

(1) Terminology: Both IT people and

business people know what a service is.

(2) Interoperability: The interfaces and the wire

protocols are based on standards.

(3) Extension and Evolution not rip and

replace.

(4) Reuse of both functionality and

machine resources.

31

Page 32: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

32

SOA Defined �  “SOA is the architectural style that

supports loosely coupled services to enable business flexibility in an interoperable, technology agnostic manner. SOA consists of a composite set of business-aligned services that support a flexible and dynamically re-configurable end-to-end business process realization using interface-based service descriptions.” From a paper by Borges, Holley and Arsanjani.

Page 33: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

33

Web Services �  Web Services are XML-based technologies for

messaging, service descriptions, discovery, and external features providing:

- Pervasive open standards for

distributed computing interface

descriptions and document

exchange via messages

Page 34: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

34

Web Services

�  Independence from the underlying execution environment and application platforms.

�  Extensibility for enterprise qualities of service such as security, reliability, and transactions.

�  Support for composite applications such as business process flows, multi-channel access, and rapid integration

Page 35: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

35

XML Preferred (1) �  The Extensible Markup Language is a

common, independent data format across the enterprise and beyond that provides: �  Standard data types and structures,

independent of any programming language development environment or software system.

Page 36: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

36

XML - Pervasive technology for defining

business documents and exchanging business information, including standard vocabularies for many industries.

- Ubiquitous software for handling operations on XML, including parsers, queries, and transformations.

Page 37: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

37

Build an SOA in 8 Steps (1)  Business needs come first (not services) What problem

are we trying to solve?

(2) What aspects can be implemented as services? Old services? New services? Legacy wrappers?

(3) Track services with registries and repositories.

(4)  Govern the services. We need to encourage desired behavior at many levels, across enterprises, and at different stages. We need to monitor behavior, enforce policies & assess user satisfaction.

(5)  Secure the services. established standards, we need privacy, identification authentication, and authorization. This may need to be federated security (over more than one organization.)

Page 38: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Cloud Computing

NIST defines cloud as: a computing model enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction (Mell & Grance, 2011)

What’s Cloud

Elasticity

Broad network access

On-demand

self-service Resource pooling

Measured service

38

Page 39: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Cloud Service Models

Source: Goldman Sachs Investment Research (2015)

39

Page 40: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Cloud Computing

So?....What’s the problem?

•  New, complex phenomena with rapid change •  The evolution of cloud computing over the past few years is potentially

one of the major advances in the history of computing changing the way information technology services are invented, developed, deployed, maintained and purchased (Marston et al., 2011)

•  Cloud computing attributes satisfy most of the characteristics of technology innovations and its types (Disruptive, Radical and IT innovation) which emphasize the high level of complexity involved in the phenomenon (Surya et al.,2014)

•  According to Goldman Sachs the fast-growing adoption of enterprise cloud platforms will result in unprecedented change for firms (Goldman Sachs, 2015)

•  IDC forecasts public IT cloud services spending will grow from about

$57 billion in 2014 to over $127 billion in 2018, six-times the overall market’s growth rate (IDC, 2014).

40

Page 41: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

Focal firms are subject to significant risks when adopting a highly visible, rapidly changing computing technology without a strategy To help address the complexities of their current environments, to facilitate long run cost reduction, to enable business agility and enhanced resource focus on critical objectives, many firms are actively considering the adoption of cloud computing (Lacity & Reynolds, 2014) Further study must be done to formulate strategies to master a unique type of innovation such as Cloud, in order to develop a general framework that would help the practitioners to mitigate uncertainties (Surya et al.,2014).

Cloud Adoption (problem setting)

What’s the problem?

41

Page 42: Service Orientation & Service Oriented Architectures pdf/Day3... · 2015. 11. 5. · Service*Oriented+Architecture+ Traditional +Architecture Service+Oriented+Architecture+ • Components

42

Build an SOA in 8 Steps (6) Manage the services. Are messages

arriving on time? Is everything operating properly?

(7) Virtualization through mediation. Are we free to move and change the services? Do we need an ESB that acts as a central hub for message routing and transformations?

(8) Design for interoperability through the adoption of standards.