Download - R emote I nvocation
![Page 1: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/1.jpg)
1
Remote Invocation
Pages 185 - 225
![Page 2: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/2.jpg)
2
Objectives IntroductionRRPRPCRemote method invocation(RMI)Case study: java RMI
![Page 3: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/4.jpg)
4
Introduction
![Page 5: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/5.jpg)
5
Request-reply protocols
![Page 6: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/6.jpg)
6
Request-reply protocols
![Page 7: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/7.jpg)
7
Request-reply protocols
![Page 8: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/8.jpg)
8
Request-reply protocols Message identifiersFailure modelTimeoutDiscarding duplicate request
messagesLost reply messagesHistory
![Page 9: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/9.jpg)
9
Request-reply protocols Styles of exchange protocols
![Page 10: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/10.jpg)
10
Request-reply protocols HTTP methods (get,head,post,put,delete,options,trace)
![Page 11: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/11.jpg)
11
Request-reply protocols Message contents (Request and
reply message)
![Page 12: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/12.jpg)
12
Remote procedure call Design issues for RPCRPC Call semantics
![Page 13: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/13.jpg)
13
Remote procedure call Implementation of RPC
![Page 14: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/14.jpg)
14
Remote method invocation
The object modelDistributed objectsThe distributed object model
![Page 15: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/15.jpg)
15
Remote method invocation
![Page 16: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/16.jpg)
16
Remote method invocation
Implementation of RMI
![Page 17: R emote I nvocation](https://reader036.vdocuments.net/reader036/viewer/2022062812/5681637d550346895dd45dd3/html5/thumbnails/17.jpg)
Case Study : Java RMI
(self study)
17