Invocación remota (based on M. L. Liu Distributed Computing -- Concepts and Application http://www.csc.calpoly.edu/~mliu/book/index.



Similar documents
Middleware Lou Somers

Java Web Services Training

Client-Server Applications

Motivation Definitions EAI Architectures Elements Integration Technologies. Part I. EAI: Foundations, Concepts, and Architectures

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

Developing Java Web Services

Implementing Java Distributed Objects with JDBC

JVA-561. Developing SOAP Web Services in Java

Web Services. Copyright 2011 Srdjan Komazec

Infrastructure that supports (distributed) componentbased application development

Research on the Model of Enterprise Application Integration with Web Services

Report of the case study in Sistemi Distribuiti A simple Java RMI application

Using mobile phones to access Web Services in a secure way. Dan Marinescu

25 May Code 3C3 Peeling the Layers of the 'Performance Onion John Murphy, Andrew Lee and Liam Murphy

Chapter 2: Remote Procedure Call (RPC)

Creating Web Services in NetBeans

Socket = an interface connection between two (dissimilar) pipes. OS provides this API to connect applications to networks. home.comcast.

Load balancing using Remote Method Invocation (JAVA RMI)

Communication. Layered Protocols. Topics to be covered. PART 1 Layered Protocols Remote Procedure Call (RPC) Remote Method Invocation (RMI)

Elements of Advanced Java Programming

Interface Definition Language

MIDDLEWARE 1. Figure 1: Middleware Layer in Context

A Web Services Created Online Training and Assessment Scheme

Introduction to Service Oriented Architectures (SOA)

Web Services Development In a Java Environment

Chapter 6. CORBA-based Architecture. 6.1 Introduction to CORBA 6.2 CORBA-IDL 6.3 Designing CORBA Systems 6.4 Implementing CORBA Applications

What is Middleware? Software that functions as a conversion or translation layer. It is also a consolidator and integrator.

WEB SERVICES. Revised 9/29/2015

Service Computing: Basics Monica Scannapieco

Outline SOA. Properties of SOA. Service 2/19/2016. Definitions. Comparison of component technologies. Definitions Component technologies

Middleware and the Internet. Example: Shopping Service. What could be possible? Service Oriented Architecture

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR DEPARTMENT OF COMPUTER APPLICATIONS SUBJECT : MC7502 SERVICE ORIENTED ARCHITECTURE

Lesson 4 Web Service Interface Definition (Part I)

How To Create A C++ Web Service

Chapter 4. Architecture. Table of Contents. J2EE Technology Application Servers. Application Models

Service-Oriented Architecture and Software Engineering

Chapter 2: Enterprise Applications from a Middleware Perspective

Mobile Devices: Server and Management Lesson 05 Service Discovery

Service-Oriented Architectures

Middleware and the Internet

Network Programming TDC 561

REST web services. Representational State Transfer Author: Nemanja Kojic

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Middleware. Chapter 8: Middleware

T Network Application Frameworks and XML Web Services and WSDL Tancred Lindholm

4. Concepts and Technologies for B2C, B2E, and B2B Transaction

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

JAVA API FOR XML WEB SERVICES INTRODUCTION TO JAX-WS, THE JAVA API FOR XML BASED WEB SERVICES (SOAP, WSDL)

Building Web Services with Apache Axis2

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

COMMMUNICATING COOPERATING PROCESSES

IMPLEMENTATION OF AN AGENT MONITORING SYSTEM IN A JINI ENVIRONMENT WITH RESTRICTED USER ACCESS

Lecture 7: Java RMI. CS178: Programming Parallel and Distributed Systems. February 14, 2001 Steven P. Reiss

Java Server Programming: Principles and Technologies. Subrahmanyam Allamaraju, Ph.D.

Middleware: Past and Present a Comparison

Grid Computing. Web Services. Explanation (2) Explanation. Grid Computing Fall 2006 Paul A. Farrell 9/12/2006

Web Services. Mark Volkmann Partner Object Computing, Inc. What Are Web Services?

H2O A Lightweight Approach to Grid Computing

COM 440 Distributed Systems Project List Summary

Databases Lesson 04 Client Server Computing and Adaptation

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

JAVA API FOR XML WEB SERVICES (JAX-WS)

Introduction to Web Services

Efficiency of Web Based SAX XML Distributed Processing

Architectural Overview

What Is the Java TM 2 Platform, Enterprise Edition?

Java RMI, RMI Tunneling and Web Services Comparison and Performance Analysis

Introduction into Web Services (WS)

What are Web Services? A BT Conferencing white paper

A Signing Proxy for Web Services Security. Dr. Ingo Melzer RIC/ED

Author: Gennaro Frazzingaro Universidad Rey Juan Carlos campus de Mostòles (Madrid) GIA Grupo de Inteligencia Artificial

Performance Enhancing Proxies for Java 2 RMI over Slow Wireless Links

NetBeans IDE Field Guide

Virtual Credit Card Processing System

Developing Java Web Services to Expose the WorkTrak RMI Server to the Web and XML-Based Clients

What is a Web service?

Introduction to CORBA. 1. Introduction 2. Distributed Systems: Notions 3. Middleware 4. CORBA Architecture

System Architectures for Integrating Web-Based User Interfaces into (Legacy) Database Applications

How To Understand A Services-Oriented Architecture

SOA CERTIFIED JAVA DEVELOPER (7 Days)

Layering a computing infrastructure. Middleware. The new infrastructure: middleware. Spanning layer. Middleware objectives. The new infrastructure

PERFORMANCE COMPARISON OF COMMON OBJECT REQUEST BROKER ARCHITECTURE(CORBA) VS JAVA MESSAGING SERVICE(JMS) BY TEAM SCALABLE

The Study on Mobile Phone-oriented Application Integration Technology of Web Services 1

Client-Server Architecture

Service Oriented Architecture

Agents and Web Services

Literature Review Service Frameworks and Architectural Design Patterns in Web Development

Transcription:

Departament d Arquitectura de Computadors Invocación remota (based on M. L. Liu Distributed Computing -- Concepts and Application http://www.csc.calpoly.edu/~mliu/book/index.html) Local Objects vs. Distributed Objects Local s are those whose methods can only be invoked by a local process, a process that runs on the same computer on which the exists. A distributed is one whose methods can be invoked by a remote process, a process running on a computer connected via a to the computer on which the exists. 2

The Distributed Object Paradigm In a distributed paradigm, resources are represented by distributed s. To request service from a resource, a process invokes one of its operations or methods, passing data as parameters to the method. The method is executed on the remote host, and the response is sent back to the requesting process as a return value. Host A Host B process method call state data item operation a distributed 3 An Archetypal Distributed Objects System registry runtime runtime physical data path logical data path 4

Local Procedure Call and Remote Procedure Call host A proc1 proc2 execution flow A local procedure call 1. proc1 on host A makes a call to proc 2 on host B. 2. The runtime maps the call to a call to the on host A. 3. The marshalls the data and makes an IPC call to a on host B. 7. The received the return value, unmarshalls the data, and forwards the return value to proc1, which resumes its execution flow. host A proc1 host B proc2 A remote procedure call (the return execution path is not shown) 4. The on host B unmarshalls the data received and issues a call to proc2. 5. The code in proc2 is executed and returns to the on host B. 6. The marshalls the return value and makes an IPC call to the on host A. 5 Remote Procedure Calls (RPC) - 2 Since its introduction in the early 1980s, the Remote Procedure Call model has been widely in use in applications. There are two prevalent APIs for this paradigm. the Open Network Computing Remote Procedure Call, evolved from the RPC API originated from Sun Microsystems in the early 1980s. The other well-known API is the Open Group Distributed Computing Environment (DCE) RPC. Both APIs provide a tool, rpcgen, for transforming remote procedure calls to local procedure calls to the stub. 6

The Java RMI Architecture Directory service s the interface with the application program maps the platform-independent stub/skeleton layer to the platform-dependent transport layer; carries out remote reference protocols sets up, maintains, and shuts down connections; and carries out the transport protocol stub remote reference layer transport layer skeleton remote reference layer transport layer logical data path physical data path 7 CORBA: The Basic Architecture naming service naming lookup implementation stub skeleton ORB ORB operating system operating system logical data flow physical data flow 8

SOAP: Remote Procedure Call using HTTP service web method name, parameter list return value web HTTP request HTTP response 9 SOAP Messages SOAP envelope SOAP header header block header block optional SOAP body message body required 10