r emote i nvocation

17
Remote Invocation Pages 185 - 225 1

Upload: chad

Post on 23-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

R emote I nvocation. Pages 185 - 225. Objectives . Introduction RRP RPC Remote method invocation(RMI) Case study: java RMI. Introduction . Request-reply protocols Remote procedure call model (RPC) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: R emote  I nvocation

1

Remote Invocation

Pages 185 - 225

Page 2: R emote  I nvocation

2

Objectives IntroductionRRPRPCRemote method invocation(RMI)Case study: java RMI

Page 3: R emote  I nvocation

3

Introduction

• Request-reply protocols

• Remote procedure call model (RPC)• allows client programs to call procedures in

server programs running in separate processes and computers

• Remote method invocation (RMI)• allows an object living in one process to

invoke methods of an object living in another process

Page 4: R emote  I nvocation

4

Introduction

Page 5: R emote  I nvocation

5

Request-reply protocols

Page 6: R emote  I nvocation

6

Request-reply protocols

Page 7: R emote  I nvocation

7

Request-reply protocols

Page 8: R emote  I nvocation

8

Request-reply protocols Message identifiersFailure modelTimeoutDiscarding duplicate request

messagesLost reply messagesHistory

Page 9: R emote  I nvocation

9

Request-reply protocols Styles of exchange protocols

Page 10: R emote  I nvocation

10

Request-reply protocols HTTP methods (get,head,post,put,delete,options,trace)

Page 11: R emote  I nvocation

11

Request-reply protocols Message contents (Request and

reply message)

Page 12: R emote  I nvocation

12

Remote procedure call Design issues for RPCRPC Call semantics

Page 13: R emote  I nvocation

13

Remote procedure call Implementation of RPC

Page 14: R emote  I nvocation

14

Remote method invocation

The object modelDistributed objectsThe distributed object model

Page 15: R emote  I nvocation

15

Remote method invocation

Page 16: R emote  I nvocation

16

Remote method invocation

Implementation of RMI

Page 17: R emote  I nvocation

Case Study : Java RMI

(self study)

17