Web Services.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
REST Introduction 吴海生 博克软件(杭州)有限公司.
Siebel Web Services Siebel Web Services March, From
Overview of Web Services
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
General introduction to Web services and an implementation example
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Presentation 7 part 1: Web Services Introduced. Ingeniørhøjskolen i Århus Slide 2 Outline Definition Overview of Web Services Examples Next Time: SOAP.
Web Service Standards Relevant to SOA
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
Interactive Systems Technical Design Seminar work: Web Services Janne Ojanaho.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
SOA and Web Services CS1631 Software Design Methodology Steve Mahoney 2/20/2007.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
CSC-8530: Distributed Systems Christopher Salembier 28-Oct-2009.
Slide 1 EE557: Server-Side Development Lecturer: David Molloy Room: XG19 Mondays 10am-1pm Notes:
Web Services By Ethan Justin Yuli. Web Services in Action Information through Integration (Google Example)Google Example What do Web.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
ΗΛΕΚΤΡΟΝΙΚΟ ΕΜΠΟΡΙΟ Web Services Overview Mary Grammatikou 9/06/2009.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
1 CS 483 Enterprise and Web Application Programming Week 7 Web Services.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
Web Services Architecture1 - Deepti Agarwal. Web Services Architecture2 The Definition.. A Web service is a software system identified by a URI, whose.
1 Core Web Services Standards. 2 (Simplified) Web Service Architecture Registry 1. Service Registers PUBLISH 3. Client calls Service BIND 2. Client Request.
Presentation 7: Part 1: Web Services Introduced. Outline Definition Overview of Web Services Examples Next Time: SOAP & WSDL.
Prepared By : Monika Darji Web Services using REST & JAX-WS.
What is Service Oriented Architecture ? CS409 Application Services Even Semester 2007.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
Message Driven Beans & Web Services INFORMATICS ENGINEERING – UNIVERSITY OF BRAWIJAYA Eriq Muhammad Adams J
Web Services (SOAP, WSDL, UDDI) SNU OOPSLA Lab. October 2005.
Java SE 6 Retooled for Web Services Mihail Stoynov mihail.stoynov.com mihail.stoynov.com.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
Semantic Web Technologies Research Topics and Projects discussion Brief Readings Discussion Research Presentations.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
Web Services (SOAP) part 1 Eriq Muhammad Adams J |
XML and Web Services (II/2546)
What is a Web Service? Distributed Computing Model Distributed Computing Model  Loosely Coupled, Course Grained  Standard HTTP Transport  Sync/Async.
Kemal Baykal Rasim Ismayilov
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
1 G52IWS: Web Services Chris Greenhalgh. 2 Contents The World Wide Web Web Services example scenario Motivations Basic Operational Model Supporting standards.
Simple Object Access Protocol
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Advanced Java Session 10 New York University School of Continuing and Professional Studies.
December 9, 2004 EC511 Java Pet Store Demo Chandra Donipati.
Service Oriented Architecture (SOA) Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
GF and RS, Dept. of CS, Mangalore University
Introduction to Web Services and SOA
Distributed Systems through Web Services
Introduction to Web Services and SOA
Presentation transcript:

Web Services

Kas ir Web servisi? Eksistē daudz dažādas definīcijas… “A software system designed to support interoperable Machine to Machine interaction over a network“ “Web based application that uses open, XML-based standards and transport protocols to exchange data with clients”

W3C definīcija A Web service is a software application identified by a URI, whose interfaces and binding are capable of being defined, described and discovered by XML artifacts and supports direct interactions with other software applications using XML based messages via internet-based protocols

Citiem vārdiem... Web serviss ir programmatūra, kas ir identificējama tīmeklī pēc URI, kurai klienti piekļūst izmantojot uz XML balstītu protokolu (SOAP), kurš tiek izmantots virs Internet protokola (HTTP) Klienti piekļūst Web servisa programmai caur tas interfeisiem un saistībām (bindings), kuri ir definēti izmantojot XML artefaktus (WSDL)

No biznesa skatiena... is an example of a Web Services application. Web Services: A distributed or virtual applications or processes that use the Internet to link activities or software components. A travel Web site that: takes a reservation from a customer, sends a message to a hotel application, accessed via the Web, to determine if a room is available, books it, tells the customer he or she has a reservation is an example of a Web Services application. “Business Process Trends” http://www.bptrends.com/resources_glossary.cfm?letterFilter=W&displayMode=all

Web servisu raksturojums XML based everywhere Message-based Platform and programming language independent Could be dynamically located Could be dynamically assembled or aggregated Accessed over the Internet Loose coupling between invoker and service Based on industry standards

Distributed Computing Evolution

Traditional C/S vs. Web Services

Web Application vs. Web Services

Web servisu attīstība Web servisu attīstības fāzes: Phase 1 (1999-2001) Simple Business-to-Consumer (B2C) Phase 2 (2002-2004) Enterprise Application Integration (EAI) Private UDDI Registries Phase 3 (2005-...) Business-to-Business (B2B) Public UDDI Registries [W3C] Web Services Activity: History http://www.w3.org/2002/ws/history.html

Web servisu arhitektūra

Web servisu standarti Common markup language for communication XML (eXtensible Markup Language) Common message format for exchanging information SOAP (Simple Object Access Protocol) Common service specification formats WSDL (Web Services Description Language) Common means for service lookup UDDI (Universal Description, Discovery, and Integration)

Web Services Big Picture Service Discovery UDDI Service Description WSDL XML Messaging SOAP and XML-RPC Service Transport HTTP, SMTP, FTP etc. XML Messaging Service Transport Service Discovery Service Description The Protocol Stack

Web servisu mijiedarbība Web servisi un Web servisu klienti sadarbojas izmantojot SOAP, WSDL, UDDI tehnoloģijas

Pamata specifikācijas Pamata specifikācijas ir apvienotas WS-I profilā WS-I = Web Services Interoperability Svarīgākas WS-I specifikācijas: WS-I Basic Profile Simple Soap Binding Profile Basic Security Profile Papildus WS-I piedāvā: Sample Applications Testing Tools

Papildus specifikācijas Dažas specifikācijas bija izstrādātas, lai paplašināt Web servisu spējas un ir apvienotas WS-* profilā WS-Security WS-Reliability WS-ReliableMessaging WS-Addressing WS-Transaction WS-BPEL vēl daudz citas...

Java EE & Web Services

Java EE & Web Services J2EE community has defined overall framework for Web Services in J2EE 1.4 (JSR 109) Java EE 5 accelerates and radically simplifies Enterprise Java development, especially for Web Services The Java EE platform provides a complete framework for developing and deploying Web Services on the Java platform

Java EE tehnoloģijas Primāras Java EE 5 platformas tehnoloģijas: Java API for Web Services (JAX-WS) 2.0 Java API for XML-Based RPC (JAX-RPC) 1.1 Java Architecture for XML Binding (JAXB) 2.0 SOAP with Attachments API for Java (SAAJ) Streaming API for XML (StAX) Web Service Metadata for the Java Platform

Web servisu veidi Web servisu izmantošanas stili: RPC = Remote procedure calls A distributed function (or method) call interface SOA = Service-oriented architecture Basic unit of communication is a message, rather than an operation RESTful = Representational state transfer An attempt to emulate HTTP and similar protocols by constraining the interface to a set of well-known, standard operations (e.g., GET, PUT, DELETE)

Web servisu mijiedarbības veidi Sinhroni web servisi Klienti sūta pieprasījumu servisam un pārtrauc savu darbību kamēr gaida atbildi RPC-oriented approach JAX-RPC servlet endpoint Asinhroni web servisi Klienti inicializē servisa pieprasījumu un turpina savu darbību negaidot atbildi Document-oriented approach JAX-RPC servlet endpoint + JMS + EJB

Classification “Big Web Services” “Lighter-weight Web Services” Traditional enterprise Web services SOAP & WSDL “Lighter-weight Web Services” RESTful approach Web API (feature of Web 2.0) Mashups

RESTful REST (Representational State Transfer) is a key design idiom that embraces a stateless client-server architecture in which the web services are viewed as resources and can be identified by their URLs The definition of RESTful web service consists of The base URI for the web service (http://example.com/resources/) The MIME type of the data supported by the web service e.g. JSON, XML, YAML The set of operations supported by the web service using HTTP methods e.g. POST, GET, PUT, DELETE http://java.sun.com/developer/technicalArticles/WebServices/restful/

Web API Web APIs are functionalities made available by websites to their users or visitors in a programmatically way Developers can use these Web APIs and enrich their applications with useful functions from third parties Web API is a new direction to follow by W3C in a new working group: Web APIs Working Group http://www.w3.org/2006/webapi/

Web API Some of the most well-known web APIs are Some links: Google Maps or Google Search Yahoo Maps or Yahoo Search eBay API Amazon API Paypal API Skype API and many more Some links: http://www.programmableweb.com/apis http://www.webapi.org http://www.w3.org/2006/webapi/

Mashups Mashup is a web page or application that combines data or functionality from two or more external sources to create a new service Easy, fast integration, frequently using open APIs and data sources Types of mashups: consumer mashups data mashups enterprise mashup

Spring Web Services Spring Web Services (Spring-WS) is a product of the Spring community focused on creating document-driven Web services Aims to facilitate contract-first SOAP service development (as opposed to contract-last approach) http://static.springsource.org/spring-ws/sites/1.5/reference/html/index.html

Summary Web services provides a new paradigm for program to program communication Web services standards are XML, SOAP, WSDL and UDDI Comprehensive set of Java APIs for Web services is available! Java EE is the platform of choice for Web services

References Java Web Services At a Glance http://java.sun.com/webservices/index.jsp Book “J2EE Web Services” by Richard Monson-Haefel http://www.amazon.ca/J2EE-Web-Services-Richard-Monson-Haefel/dp/0321146182 Web Service Interaction Architectures http://java.sun.com/blueprints/webservices/using/webservbp3.html

References JBoss Web Services Spring Web Services http://labs.jboss.com/jbossws/ Spring Web Services http://static.springframework.org/spring-ws/site/index.html Java Web Services Overview Presentation http://www.javapassion.com/webservices/WebServicesOverview.pdf Another Java Web Services Overview Presentation http://www.dma.unina.it/~murli/GridSummerSchool2004/presentations/Fox/background/WebServicesOverview.pdf

References Services Mashups: The New Generation of Web Applications http://dsonline.computer.org/portal/site/dsonline/menuitem.9ed3d9924aeb0dcd82ccc6716bbe36ec/index.jsp?&pName=dso_level1&path=dsonline/2008/09&file=w5gei.xml&xsl=article.xsl