• No results found

Web Services: Life Cycle Intelligence

N/A
N/A
Protected

Academic year: 2021

Share "Web Services: Life Cycle Intelligence"

Copied!
28
0
0

Loading.... (view fulltext now)

Full text

(1)

1

Web Services: Life Cycle

Intelligence

A/Prof. Boualem Benatallah

School of Computer Science and Engineering The University of New South Wales (UNSW)

(2)

2

Agenda

• Service Oriented Computing:

principles and issues

• ServiceMosaic Project: Service

Life-cycle Intelligence

(3)

3

Material based on work in ServiceMosaic

project, collaboration with:

• Dr. Fabio Casati (HP Labs, USA)

• Dr. Regis Saint-Paul (UNSW, Australia) • Mr. Hamid Motahari (UNSW, Australia)

• Ms. Woralak Kongdenfha (UNSW, Australia) • Mr. Julien Ponge (LIMOS, France)

• Dr. Farouk Toumani (LIMOS, France) • Prof. Mohand-said Hacid (LIRIS, France)

Web sites

www.cse.unsw.edu.au/~soc

servicemosaic.isima.fr

(4)

4

Development of Integrated Applications

•Applications and data

sources are autonomously developed and deployed • Proprietary technologies (communication protocols, data formats)

•Rigid infrastructures, costly development and maintenance of integrated systems

(5)

5

Service Oriented Architectures (SOA)

J2EE™ APPLICATION LEGACY SYSTEMS .NET™ APPLICATION PARTNER

SYSTEM PARTNERSYSTEM

WEB SERVICES

SOAP

XML

• Standard protocols and languages

(6)

6

Principles

• Facilitate programmatic interactions of autonomous

systems (e.g., data-intensive, computational

resources) via resource virtualization, infrastructure

simplification and consolidation

• Web services: self-described software entities (at least best possible description), that can be

published, discovered, and invoked over the

network (using XML-based standard languages and protocols)

• On demand computing through composition • Services are poised to be as ubiquitous as the

Internet (e.g., payroll, on-board systems, e-government, services at your computer)

(7)

7

Issues Relevant to Various Service Life

Cycle Activities

Semantic Interoperability

SOA solved low level interoperability but for programming by

composition to scale, services should be used with assistance from providers

Richer component model (possible interactions, OoS, data types) Various integration layers (e.g., data, process)

Aligning IT services with business services

Correlation of higher level abstractions to lower-level system

observable events

Continuous monitoring of resources and processes

Evolution and change management

(8)

8

Current Standards Maze

WS-Coordination WS-Addressing WS-Attachments WS-Enumeration WS-Notification WS-Eventing WS-Topics WS-Transfer WS-ReliableMessaging WS-Reliability WS-Acknowledegment ebXML WSCI WSCDL BPEL4WS BPML WS-MetadataExchange WS-PolicyFramework WS-PolicyAssertions WS-PolicyAttachment XACML WS-SecurityPolicy OWL-S SPML WS-Provisioning WSCL WSDL WS-Manageability WS-Resource WSDM WS-BusinessActivity WS-Transaction WS-AtomicTransactions BTP Cool! But, What Standards I use?

We should integrate our systems using Web Service Technologies …

Manager UDDI WSRP WS-Inspection WS-Discovery ASAP SOAP SOAP MTOM WS-Routing WS-Referral XrML WS-Federation WS-Security WS-Trust WS-SecureConversation SAML XKMS WS-NonRepudiation WS-MessageData WSXL WS-CallBack

Too many, Overlap, Conflicts, Only few standards are used (WSDL, SOAP)

(See ``Interoperability Specifications’’, May 06, IEEE Computer, by. Motahari,

(9)

9 Discovery Contracts Business process Transactions Choreography Conversations Nonfunctional description Service description XML-based messaging Network UDDI ebXML CPA BPEL4WS WS-Transaction WS-Coordination CS-WS WSEL WSEL SOAP HTTP, FTP, SMTP, and others ebXML registry

BPML OWL-S servicemodel BPML

BTP BTP OWL-S service model OWL-S service profile OWL-S service grounding WSCL WSCI RDF ebXML BPSS ebXML CPP ebXML messaging

WSDL-based Semantic-based ebXML-based

Source (Turning Software to a Service, M. Turner et al., IEEE Computer, Vol 36(10), 03)

Service Oriented Technologies - Layers

(10)

10

Systems Integration: B2B Integration Example

Receive PO Request Select Supplier Generate RFQ Send RFQ Select RFQ Response Send PO Close Process Send PO Receive PO Acknowledge Receive PO Response Send PO Response Acknowledge Send PO Customer Receive PO Send PO Acknowledge Send PO Response Receive PO Response Acknowledge Send PO Supplier Public process (Standard) Public process (Standard) Receive PO Check Customer Check Credit Check Availability Create Sales Order Send PO Response Close Process Sales Order Private process (Company-specific) Private process (Company-specific) PO CRM SCM ERP

(11)

11 Workflow Business rules Programs Workflow Business rules Programs Content of document Policy Message definition Business Protocol Content of document Policy Message definition Business Protocol messages

Integration Layers

External interactions External interactions

Internal system Internal system PeopleSoft Legacy applications Adapter Adapter Database SAP/R3

Business Partner 1 Business Partner 2

(12)

12 invoke receive receive receive invoke invoke ? ?

Business Protocol Layer (Cont.)

(13)

13

Some Observations on Integration

Technologies

• Great deal at transport protocol level, process-based orchesteraction, programing support for dynamic port binding

• While standardisation makes interoperability easier, it does not remove the need for data transformation, protocol adaptation

• Services are designed to be open (possibly no precise knowledge of the various data models and protocols of clients)

• Data is organized by application, not by following agreed upon conceptual models

• Standardization of protocols at lower level and languages for higher level abstractions

(14)

14

ServiceMosaic Project: Services

LifeCycle Intelligence

Modeling of business protocols

Algebra for protocol models management

Model-driven and aspect-oriented approach to

support service adaptation

Model-driven change impacts analysis

Protocol discovery

Query and visualization support for service

monitoring, property discovery and

(15)

15

Conversations and business

protocols

• protocols describe valid ordering of messages

– stateful interaction

– this must be done somehow, formally (best) or informally – coarse-grained

• complements interface definition and other specs (semantics) supplier customer 1:requestQuote 2:orderGoods 4:makePayment 3:confirmOrder copyright Springer-Verlag, 2004

(16)

16

Protocol languages

invoke checkShipAvailable invoke confirmOrder invoke cancelOrder receive requestQuote reply requestQuote receive orderGoods receive makePayment invoke orderShipment receive confirmShipment invoke checkShipAvailable invoke confirmOrder invoke cancelOrder receive requestQuote reply requestQuote receive orderGoods receive makePayment invoke orderShipment receive confirmShipment

(17)

17

Protocols and choreographies

A: Protocol that a service obeys to

when interacting with a client B: Protocol that a service obeys towhen interacting with its clients

C: a choreography

D: The protocol that a Business service obeys

to when interacting with one or more clients

“Business” service

(18)

18

Business Protocols : benefits of

explicit representation

• And they are quite a lot!

- service development, management,

evolution, binding

- Protocol-aware tools can make life easier

for developers

(19)

19

Development support

service skeleton Protocol specs protocol compiler service implementation

add biz logic

top down Protocol specs protocol generator service implementation bottom up ©Boualem Benatallah, 2006

(20)

20

Generating composition skeletons

reply requestQuote send confirmOrder send cancelOrder receive requestQuote supplier customer requestQuote orderGoods confirmOrder receive orderGoods or cancelOrder ©Boualem Benatallah, 2006

(21)

21

Middleware: routing, validation, logging

P1 P2, P3 P4, P5 conversation controller object for P1 object for P2 object for P3 object for P4 object for P5 P1 P2 P3 P4 P5 service requestor service requestor service requestor service provider protocol defs logs

Web service concepts, Architectures and Applications. Copyright Springer-Verlag, 2004

(22)

22

Static and dynamic binding

supplier A

customer broker supplierB

supplier C

(23)

23

Versioning, evolution, compliance

version 1.0 customer version 1.1 XYZ standard specs ©Boualem Benatallah, 2006

(24)

24

Expressive power

• Services are designed independently of clients • Need to be (fairly) fully specified

• Ordering is not enough.

• Implicit (timed) activations, timeouts

• Message content-based conditions, state management

– hiding details (multiple views) • Transactional implications

(25)

25

Business Protocols Modeling: Embryonic

Model

Amazon.com

as a Web service

Start Search book

Book selection Ordered Cancelled Returned Shipped Completed T1:Login T2:SearchBook() T4:SearchBook() T3:AddToCart() T11 T5:RemovefromCart() T6:OrderBook() T8:CancelBookPurchase() T9:ReturnBook() T10 T7 ©Boualem Benatallah, 2006

(26)

26

Protocol models management

• Bring the benefits of abstractions to service-oriented

systems developers

• Analogy with data management: simple model (relational),

declarative language (SQL) and algebra

• Operators to manipulate protocol models (e.g., identifying similarities and differences, identify patterns, identify

relationships)

• Semantics and operators defined based on labeled transition systems

(27)

27

(28)

28

Summary

• Service oriented computing offers tremendous

opportunities for agile and Internet scale integration • Business process modeling, web services offer key

solutions to virtualization and high level orchestration of business processes

• Business activity management techniques offer key solutions to business process monitoring and

management

• Effective automation requires an integrated

framework that offers lifecycle intelligence ! : conceptual modeling, algebra for analysis and manipulation of process views, discovery and debugging, model-driven development of

adaptors, simulation, service level-operational level mappings, UI models management and context support for services, …

References

Related documents

Schneider Electric - Electrical installation guide 2005 Specialised monitoring such as Power Logic SMS W standard eb browser Power Equipment Other utilities Process Eqt gateway 1

statement by directors pursuant to Section 169(15) of the Companies Act, 1965 We, Lim Han Weng and Bah Kim Lian, being two of the directors of Yinson Holdings Berhad, do hereby

In order to facilitate the application of a ventilated tile roof, we created a collection of complementary accessories which, together with the natural advantages of our clay

While studying wellbeing in the built environment context, research shows that aspects like physical, psychological, and social wellbeing are influenced by the

We use multi walled carbon nanotubes to mimic the β-sheets in the spider silk structure and ureidopyrimidinone to create sacrificial bonding between the

Time Randomised caches (TRc), which can be implemented at hardware level or with software means on conventional deterministic cache designs, have been proposed for real-time systems

People don’t realize that every time you post something on the Internet, it’s like you’re posting part of yourself, a big ol’ signal to the world yelling, “Here I am!”

The NEW Kennel Club Healthcare Plan empowers you to choose cover and benefits to suit you which includes optional cover such as holiday cancellation when you register your new