23
SERVICE ORIENTED ARCHITECTURES AND WEB SERVICES SOUMYALATHA .J

Service-Oriented Architectures and Web Services

  • Upload
    zubin67

  • View
    412

  • Download
    4

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Service-Oriented Architectures and Web Services

SERVICE ORIENTED ARCHITECTURES

AND

WEB SERVICES

SOUMYALATHA .J

Page 2: Service-Oriented Architectures and Web Services

Agenda

Introduction to SOA Why SOA Architecture Web Services Standards Conclusion

Page 3: Service-Oriented Architectures and Web Services

SOA Definition

It is an IT approach in which applications make use of services available in a network

It involves developing applications that use services and making applications available as services.

Loose coupling between participating software agents.

Page 4: Service-Oriented Architectures and Web Services

Services

A service provides a specific function, typically a business function, such as analyzing an individual's credit history

A service can provide a single discrete function It can perform a set of related business functions, Services that perform a related set of business functions, as

opposed to a single function, - "coarse grained." Multiple services can be used together in a coordinated way. The aggregated, or composite, service can be used to satisfy a

more complex business requirement.

Page 5: Service-Oriented Architectures and Web Services

Service Oriented Architecture

Page 6: Service-Oriented Architectures and Web Services

Why SOA

Primary Benefits

Reusability Interoperability Scalability Flexibility Cost Efficiency

Page 7: Service-Oriented Architectures and Web Services

Web Services

The web services approach is based on a set of standards that are widely accepted and used.

This makes it possible for clients and services to communicate and understand each other across a wide variety of platforms and across language boundaries.

Page 8: Service-Oriented Architectures and Web Services

Types of Web Services

External – the request and the service belong to two different companies Risk of Security

Internal – the request and service are in the same company.

Page 9: Service-Oriented Architectures and Web Services

Web Services Standards

XML SOAP WSDL UDDI and ebXML WS-Security WS-BPEL

Page 10: Service-Oriented Architectures and Web Services

XML

XML has become the de facto standard for describing data to be exchanged on the Web.

As it's name indicates, XML is a markup language.

It involves the use of tags that "mark up" the contents of a document, and in doing so, describe the contents of a document.

An XML tag identifies information in a document, and also identifies the structure of the information.

Page 11: Service-Oriented Architectures and Web Services

XML - Example

<bookshelf>     <book>        <title>My Life and times</title>       <author>Felix Harrison</author>      <price>39.95</price> </book> </bookshelf>

Page 12: Service-Oriented Architectures and Web Services

SOAP

SOAP - Simple Object Access Protocol SOAP is an XML-based protocol for exchanging

information in a distributed environment. SOAP provides a common message format for

exchanging data between clients and services. The basic item of transmission - is a SOAP

message, which consists of a mandatory SOAP envelope, an optional SOAP header, and a mandatory SOAP body

Page 13: Service-Oriented Architectures and Web Services

SOAP

Page 14: Service-Oriented Architectures and Web Services

WSDL

WSDL – Web Service Description Language. A WSDL document contains information specified in

Web Service Description Language, as defined in the WSDL specification.

WSDL defines an XML schema for describing a web service.

To uncover the description for a Web service, a client needs to find the service's WSDL document.

Page 15: Service-Oriented Architectures and Web Services

UDDI

The Universal Description, Discovery, and Integration (UDDI) specifications define how to publish and discover information about services in a UDDI-conforming registry.

More specifically, the specifications define a UDDI schema and a UDDI API.

The UDDI schema identifies the types of XML data structures that comprise an entry in the registry for a service.

UDDI registry - "Yellow Pages" for web services.

Page 16: Service-Oriented Architectures and Web Services

WS-Security

It describes security-related enhancements to SOAP messaging that provide for message integrity and confidentiality.

WS-Security uses security tokens to enable SOAP message security and integrity.

Provides a general-purpose mechanism for associating security tokens with messages, and describes how to encode binary security tokens.

WS-Security is flexible and can be used with a wide variety of security models and encryption technologies, such as Public-key infrastructure (PKI) and Kerberos, as well as the SSL and TLS

Page 17: Service-Oriented Architectures and Web Services

WS-BPEL

WS-BPEL is (Web Services Business Process Execution Language), also identified as BPELWS, BPEL4WS, or simply BPEL

An XML-based language that is used to coordinate web services across a single business process.

It uses WSDL to describe the web services that participate in a process and how the services interact

Page 18: Service-Oriented Architectures and Web Services

Prior Service-Oriented Architecture specifications

DCOM is the acronym for the Distributed Component Object Model

CORBA - is the acronym for Common Object Request Broker Architecture

Page 19: Service-Oriented Architectures and Web Services

DCOM

An extension of the Component Object Model (COM).

Introduced in 1996 Designed for use across multiple network

transports, including Internet protocols such as HTTP.

DCOM is based on the Open Software Foundation's DCE-RPC spec.

Page 20: Service-Oriented Architectures and Web Services

CORBA

CORBA - acronym for Common Object Request Broker Architecture.

It was developed under the auspices of the Object Management Group (OMG). It is middleware.

The first service-oriented architecture for many people in the past was with the use of Object Request Brokers (ORBs) based on the CORBA specification.

The CORBA specification is responsible for really increasing the awareness of service-oriented architectures. 

Page 21: Service-Oriented Architectures and Web Services

Applications

FlightTracker is a good example; it can be integrated into management and refund systems for tracking frequent business trips

GetEarthLocation (06/15/2001), developed by a Solar Resource Institute, offers services to industries that use solar panels and helps them determine when energy generation is optimal.

Page 22: Service-Oriented Architectures and Web Services

Conclusion

SOA is a way of sharing functions in a widespread and flexible way.

Web services makes it possible for clients and services to communicate and understand each other.

Page 23: Service-Oriented Architectures and Web Services

Questions ?