ltr presentaion 2

49
Web Services and the Service-Oriented Architecture November 5, 2009 Jessica Ng Jing Yang Jill Baron Ruben Balderas

Upload: burmaball

Post on 22-Apr-2015

488 views

Category:

Technology


1 download

DESCRIPTION

Web Services and Service-Oriented Architecture

TRANSCRIPT

Page 1: Ltr Presentaion 2

Web Services and the Service-Oriented Architecture

November 5, 2009

Jessica NgJing YangJill Baron

Ruben Balderas

Page 2: Ltr Presentaion 2

Basic Concepts

• Service-Oriented Architecture SOA is an organizing principle for an

organization's technical infrastructure to support the needs of the organization's software users.

• Web services are the dominant approach for implementing SOA.

Page 3: Ltr Presentaion 2

Web Services Are Not

Web interfacesWeb-based information resourcesWeb-based “services”Software as serviceApplication service providerWeb Service Librarian

Page 4: Ltr Presentaion 2

Web Services

• DefinitionA Web service is a software system designed to support

interoperable machine-to-machine interaction over a network.

It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.

(World Wide Web Consortium)

Page 5: Ltr Presentaion 2

Communication Path for Web Services

Page 6: Ltr Presentaion 2

Web-Service Components and Protocols

eXtensible Markup Language (XML)

Page 7: Ltr Presentaion 2

Web-Service Components and Protocols

eXtensible Markup Language (XML)

Simple Object Access Protocol (SOAP)

Page 8: Ltr Presentaion 2

Web-Service Components and Protocols

eXtensible Markup Language (XML)

Simple Object Access Protocol (SOAP)

Web Services Description Language (WSDL)

Page 9: Ltr Presentaion 2

Web-Service Components and Protocols

eXtensible Markup Language (XML)

Simple Object Access Protocol (SOAP)

Web Services Description Language (WSDL)

Universal Description, Discovery and Integration (UDDI)

Page 10: Ltr Presentaion 2

Open Source Protocol Substitutes• Representational State Transfer (REST)

- Substitute for SOAP

-Response as an XML Stream

Easier and faster to implement

Better Performance and response time

Really Simple Syndication (RSS)

Page 11: Ltr Presentaion 2
Page 12: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

Page 13: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

• WS-AtomicTransaction/WS-BusinessActivity

Page 14: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

• WS-AtomicTransaction/WS-BusinessActivity

• WS-Coordination

Page 15: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

• WS-AtomicTransaction/WS-BusinessActivity

• WS-Coordination

• WS-Reliable Messaging

Page 16: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

• WS-AtomicTransaction/WS-BusinessActivity

• WS-Coordination

• WS-Reliable Messaging

• WS-Attachments

Page 17: Ltr Presentaion 2

Second-Generation Specifications• WS-Security

• WS-AtomicTransaction/WS-BusinessActivity

• WS-Coordination

• WS-Reliable Messaging

• WS-Attachments

• Business Process Execution Language for Web Services (BPEL4WS)

Page 18: Ltr Presentaion 2
Page 19: Ltr Presentaion 2
Page 20: Ltr Presentaion 2
Page 21: Ltr Presentaion 2

Web Services in the Library Environment

• The VIEWS Initiative Vendor Initiative for Enabling Web Services

(VIEWS). A consortium of vendors formed to facilitate the

development of interoperable Web services related to library applications.

Goal: Provide a forum in which library-automation vendors could establish a set of Web services that can be used in library applications.

Specific implementation of Web services.

Page 22: Ltr Presentaion 2

Controversy

• Originally not a National Information Standards Organization (NISO) sponsored group.

• Not all vendors chose to participate• Much of the work intertwined with NISO’s

initiatives.• Replaced by NISO Web Services and Practices

Working Group in August 2005.

Page 23: Ltr Presentaion 2

• Mission: Developing best practices for designing and

deploying web services Produce and maintain a “Web Services Best

Practices” document for general use in assessing new and ongoing Web-service applications

Provide and maintain “Web Services Interoperability Mechanisms

Page 24: Ltr Presentaion 2

Non-Web-Service Library Standards and Protocols

• Z39.50– Search-and-retrieval protocol– Performs search operations and returns results in

MARC cimmunications format.– Based on Abstract Syntax Notation (ASN.1) and

Basic Encoding Rules (BER),– Maintained by the Library of Congress.

Page 25: Ltr Presentaion 2

• ISO 10160/10161 and ISO ILL Provides set of standard protocols for the interoperable

exchange of ILL transactions. Open Systems Interconnect style of communication based

on ASN.1 and BER Maintained by the Library and Archives Canada

• UN/EDIFACT and ANSI x12 Electronic Data Interchange (EDI) standards intended for

the exchange of messages related to business transactions International standard employed across many industries Used between libraries and suppliers

• Electronic ordering• Making claims for items expected and received• Transfer of invoices

Page 26: Ltr Presentaion 2

• MARC 21 Format– Most widely accepted adapted library standard– Formats store bibliographic records in a compact

format. – MARCXML – Provides XML Structure for MARC 21

data.• Metadata Object Description Standard (MODS)

– XML schema for MARC 21 bibliographic records

• Metadata Authority Description Schema (MADS)– XML schema for selected tags of the MARC 21 authority

format.

• Encoded Archival Description (EAD)– Standard for creating finding aids of archival collections in

XML.

Page 27: Ltr Presentaion 2

• Dublin Core– Metadata format expressed in XML.• Provides simplified approach for describing information

objects.

– Widely used as a metadata format describing electronic resources or other application in which MARC format is not needed.

• OpenURL– Provides a mechanism for linking to resources

independently of their physical locations.

Page 28: Ltr Presentaion 2

Library Protocols based on Web Services

• Z39.50 International: Next Generation (ZING)– Established to take the concepts and functionality

embodied in Z39.50 forward.– Development of a version of Z39.50 in the

framework of Web services – search-and-retrieval protocol.

– SRU: Search/Retrieve via URL– SRW: Search/Retrieve Web Service

Page 29: Ltr Presentaion 2

• SRU and SRW supports three operations:– SearchRetrieve– Scan– Explain

• Implementation of SRU and SRW– OCLC Research

• Index Data• The Cheshire Project

Page 30: Ltr Presentaion 2

Open Archives Initiative Protocol for Metadata Harvesting

• Supports federated-search model– Harvesting metadata from multiple information

repositories– Create centralized search services– Provides alternative to those based on

simultaneous queries.• Relies on data providers and service providers. • Web harvesting: Provides means to harvest

new and changed pages.

Page 31: Ltr Presentaion 2

Standardized Usage Statistics Harvesting Initiative (SUSHI)

• Deals with issue of transferring statistics that assess an institution’s use of an electronic resource that the library subscribes to.

• Project COUNTER– Initiative to develop set of standard practices

regarding how publishes will produce use statistics related to library subscriptions.

Page 32: Ltr Presentaion 2
Page 33: Ltr Presentaion 2

When we think of architecture we think of

Page 34: Ltr Presentaion 2

or

Page 35: Ltr Presentaion 2

“Service-oriented” architecture might be more like

Page 36: Ltr Presentaion 2

INTEROPERABILITY

or,

many moving parts

Page 37: Ltr Presentaion 2

Why this matters

Page 38: Ltr Presentaion 2

Services make life easier

Page 39: Ltr Presentaion 2

We want to do things here:

Page 40: Ltr Presentaion 2

Research

Page 41: Ltr Presentaion 2

Architectural Repository, aka SOA

Page 42: Ltr Presentaion 2
Page 43: Ltr Presentaion 2
Page 44: Ltr Presentaion 2
Page 45: Ltr Presentaion 2
Page 46: Ltr Presentaion 2
Page 47: Ltr Presentaion 2
Page 48: Ltr Presentaion 2

SOA allows the library or archive:

• Manage materials effectively• Build on resources• Greater collaboration with other organizations

and businesses• Provide services within campus or municipal

portal environments or other non-traditional channels

• Enhance research experience

Page 49: Ltr Presentaion 2

SOA allows the user:

• Ease of access• Multimedia resources• More resources = a more global

understanding of a subject• Opportunity to consider relationships

between items• More fun