1 / 17

Understanding Remote Method Invocation (RMI) and Remote Procedure Calls (RPC): Concepts and Case Study

This overview explores Remote Method Invocation (RMI) and Remote Procedure Call (RPC), two key mechanisms for enabling communication between distributed systems. RMI allows objects in different processes to communicate seamlessly, while RPC provides a way for client programs to invoke procedures in server processes. The document covers essential aspects such as request-reply protocols, case study analysis of Java RMI, message contents, design issues, and error handling in remote communications. Learn about the challenges and methodologies in implementing these models for distributed applications.

chad
Download Presentation

Understanding Remote Method Invocation (RMI) and Remote Procedure Calls (RPC): Concepts and Case Study

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Remote Invocation Pages 185 - 225

  2. Objectives • Introduction • RRP • RPC • Remote method invocation(RMI) • Case study: java RMI

  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

  4. Introduction

  5. Request-reply protocols

  6. Request-reply protocols

  7. Request-reply protocols

  8. Request-reply protocols • Message identifiers • Failure model • Timeout • Discarding duplicate request messages • Lost reply messages • History

  9. Request-reply protocols • Styles of exchange protocols

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

  11. Request-reply protocols • Message contents (Request and reply message)

  12. Remote procedure call • Design issues for RPC • RPC Call semantics

  13. Remote procedure call • Implementation of RPC

  14. Remote method invocation • The object model • Distributed objects • The distributed object model

  15. Remote method invocation

  16. Remote method invocation • Implementation of RMI

  17. Case Study : Java RMI (self study)

More Related