Introduction to Web Services - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Introduction to Web Services

Description:

Explain Web services and their characteristics. Discuss the generic architecture of Web services ... DCOM. Developed by Microsoft. RMI ... – PowerPoint PPT presentation

Number of Views:494
Avg rating:3.0/5.0
Slides: 23
Provided by: Kav6
Category:

less

Transcript and Presenter's Notes

Title: Introduction to Web Services


1
Session 1
  • Introduction to Web Services

2
Objectives
  • Discuss distributed computing
  • Explain Web services and their characteristics
  • Discuss the generic architecture of Web services
  • Describe the life cycle of a Web service
  • Identify the requirements for a Web service
  • Explain the working of a Web service
  • Discuss the advantages and disadvantages of Web
    services

3
Component Architecture
User submits parameters
Method 1
Appropriate Method called
Application
Method 2
Returns the result
4
Computing Over the Years (1)
Application
Database
Stand-alone Computers
5
Computing Over the Years (2)
6
Distributed Computing
Component C
Component D
Component B
Component E
Component F Linux OS
Component A Windows OS
Smart terminals
7
Distributed Component Architectures
  • Three main Distributed Component Architectures

CORBA Developed by OMG
DCOM Developed by Microsoft
RMI Developed by SUN and uses CORBA for
Heavy-Duty Distributed Systems
8
Inter-Module Communication
Inter-Module communication needs
1. Set of rules for communication
2. Standard Language for communication
3. Interfaces for the modules
9
Web-based Applications
  • Must be simple, self explanatory and easy to use

Services Offered
e-mail, browsing, searching the net, chat
applications
Devices Used to Access the Web
10
Web Services
  • Web Services Internet-based modular applications

Network
Web Service
Network may be LAN, WAN, MAN, or the Internet
11
Web Services Solutions
Two of the most popular Web Services Solutions
SUNTM OPEN NET ENVIRONMENT (SUN ONE)
12
Web Service An Example
Another Web Service
Loan Application Using Web Service
EMI Calculator Web Service
13
Characteristics of Web Services
Should be registered
Accessed over the Web
Supported by loosely coupled applications
Have a service interface
Integrated Just In Time
Use standard Web protocols
Uses XML
14
Important Components
Service Provider
Publish
Bind
Service Broker
Service Requestor
Service Registry
Find
15
Web Services Generic Architecture
16
Life Cycle
6. Unpublish the Web service when not needed
5. Invoke the Web service
4. Search for the Web service
3. Publish the Web service on the Internet or
intranet
2. Define service interface and invocation
methods for the Web service
1. Create a Web service
17
Requirements for a Web Service
  • XML Represents data in a standard format
  • SOAP Common, extensible, message format
  • WSDL Common, extensible, service description
    language
  •   DISCO Defines the format in which data is
    stored
  • UDDI Maintains registries storing information
    about service providers and their
    services

18
Working of a Web Service
Service Description
Get Type info (XML Schema)
Parameters
Soap Protocol XML over HTTP
Return Value
Web Server (With Web Service)
Client Application
19
Accessing Web Services over HTTP
HTTP GET operation
HTTP POST operation
SOAP
20
Advantages of Web Services
  • Cross-business integration
  • Improved efficiency
  • Closer customer relationships
  • Facilitates just-in-time integration
  • Reduces complexity
  • Legacy applications

21
Constraints
  • Businesses not willing to expose the
    functionality
  • The only technology that forms the base is XML,
    which means you cannot do without XML
  • The cost involved is very high

22
Summary
  • Web Services are self-contained, self-describing,
    modular applications that can be published,
    located and invoked across the Web.
  • The service interface in a Web Service helps the
    Web Service to be called by any other application
    program or another Web Service.
  • A Web Service should be registered in a service
    registry to be accessed by other programs.
  • Web Services use the standard Web protocols to
    communicate unlike COM, RMI, JINI, or CORBA.
  • XML messages are used to interchange information
    between the service and the application program.
  • A service provider along with a service registry,
    a service broker and a service requestor form the
    important participants in a Web Service.
  • A Web Service architecture primarily consists of
    the following layers
  • Data store
  • Data access
  • Web Service logic
  • Web Service logic facade
  • Listener layer
Write a Comment
User Comments (0)
About PowerShow.com