Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet...
-
Upload
nicole-karson -
Category
Documents
-
view
225 -
download
0
Transcript of Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet...
![Page 1: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/1.jpg)
Middleware &Web Services
![Page 2: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/2.jpg)
Purpose of Layered Models
mask the heterogeneity of systems
provide convenient programming abstraction
![Page 3: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/3.jpg)
Layered Protocols: OSI
TvS 2.2
Layers, interfaces, and protocols in the OSI model.
![Page 4: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/4.jpg)
Middleware Protocols
An adapted reference model for networked communication.TvS 2.6
![Page 5: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/5.jpg)
Purpose of Middleware ‘Middleware is primarily a set of programming abstractions developed to facilitate the development of complex distributed systems.’
– Gustavo Alonso
![Page 6: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/6.jpg)
Middleware provides…
protocols to support general-purpose services to more specific applications, e.g.authentication protocolsauthorization protocolsdistributed commit protocolsdistributed locking protocolshigh-level communication protocols
remote procedure calls (RPC) remote method invocation (RMI)
![Page 7: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/7.jpg)
Middleware
1-22
TvS 1.24
General structure of a distributed system as middleware.
![Page 8: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/8.jpg)
Old-style Middlewareprogramming models
Remote Calls Remote Procedure Calls (RPC) Distributed objects and Remote Method Invocation
E.g. Java RMI
Common Object Request Broker Architecture (CORBA) Cross-language RMI
Other Programming Models Remote event notification Remote SQL access Distributed transaction processing
![Page 9: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/9.jpg)
©Gustavo Alonso, ETH Zürich.
WS architecture: application integration A popular interpretation of Web
services is based on IBM’s Web service architecture which is based on three elements: Service requester: The potential
user of a service
Service provider: The entity that implements the service and offers to carry it out on behalf of the requester
Service registry: A place where available services are listed and which allows providers to advertise their services and requesters to query for services
The goal is just-in-time integration of applications by discovering and orchestrating network-available services
![Page 10: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/10.jpg)
©Gustavo Alonso, ETH Zürich.
How is it ‘bottom up’? The Web service architecture
proposed by IBM is based on two key concepts: architecture of existing
synchronous middleware platforms
current specifications of SOAP, UDDI and WSDL
The architecture has a remarkable client/server flavor
It reflects only what can be done with SOAP (Simple Object Access
Protocol) UDDI (Universal Description
and Discovery Protocol) WSDL (Web Services
Description Language)
UDDI
SOAP
WSDL
![Page 11: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/11.jpg)
Message-based Middleware
AsynchronousSending and receiving documentsNo remote procedure calls or object invocation
Less coordination required
![Page 12: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/12.jpg)
©Gustavo Alonso, ETH Zürich.
The message world
![Page 13: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/13.jpg)
Sources: MiddlewareAdapted from Introduction to Distributed Systems: Slides for CSCI 3171
Lectures by E. W. Grundke
References: [TvS] A. Tanenbaum and M. van Steen
Distributed Systems: Principles and Paradigms, Prentice-Hall (2002)<URL:http://www.prenhall.com/divisions/esm/app/author_tanenbaum/custom/dist_sys_1e/
>
[CDK] G. Coulouris, J. Dollimore and T. Kindberg Distributed System: Concepts and Design, Addison-Wesley (2001) <URL:http://www.cdk3.net/ig/beida/>
[ISO] International Organization for Standardization/ International Electrotechnical CommissionStandard ISO/IEC 7498-1: Information Technology — Open Systems Interconnection — Basic Reference Model: The Basic Model (Second ed., corrected and reprinted 1996-06-15)Reference number ISO/IEC 7498-1:1994(E)
<URL:http://standards.iso.org/ittf/PubliclyAvailableStandards/s020269_ISO_IEC_7498-1_1994(E).zip>
![Page 14: Middleware & Web Services. Layered Protocols: IP Layers, interfaces, and protocols in the Internet model.](https://reader034.fdocuments.in/reader034/viewer/2022051400/551b3622550346d41a8b5145/html5/thumbnails/14.jpg)
Sources: Web Services Gustavo Alonso, Fabio Casati, and Harumi Kuno.
Web Services: Concepts Architectures and Applications (Springer-Verlag, 2004)
Slides from <URL:http://www.inf.ethz.ch/~alonso/WebServicesBook>.
Gustavo Alonso and Cesare Pautasso. Graduate course given at the University of Lappeenranta,Finland.
August 9–13, 2004. <URL:http://www.inf.ethz.
ch/personal/alonso/Web-book/Lappeenranta-graduate-course.zip>