{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lect-04 - Computer Science 425 Distributed Systems Lecture...

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
2006, 2007, M. T. Harandi Lecture 4-1 Computer Science 425 Distributed Systems Lecture 4 Inter-process Communication & Distributed Objects
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2006, 2007, M. T. Harandi Lecture 4-2 Middleware Layers Applications Middleware layers Request reply protocol External data representation Operating System RMI, RPC and events
Image of page 2
2006, 2007, M. T. Harandi Lecture 4-3 Remote Procedure Call (RPC) Uniform, reusable, user-friendly, and action based. Provide a familiar interface for the application developer Implement the request-reply primitive Format of the message is standard Supports code reuse Client calls for invocation of a procedure at the server machine. Semantics are similar to procedure calls in local programs Standard interface, independent of applications A library of reusable procedures, distributed over all sites.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2006, 2007, M. T. Harandi Lecture 4-4 Marshalling & Unmarshalling External data representation: an agreed standard for the representation of data structures and primitive values. CORBA Common Data Representation (CDR) Java’s object serialization. Marshalling : the process of taking a collection of data items and assembling them into a form suitable for transmission. Translation of non-portable representations. Assembly of data items into an external data rep. Unmarshalling : the process of disassembling transmitted data at the destination. generation of primitive values reconstruction of structured data
Image of page 4
2006, 2007, M. T. Harandi Lecture 4-5 Stubs Stubs are generated automatically from interface specifications. Stubs hide details of (un)marshalling from application programmer & library code developer. Client Stubs perform marshalling Server Stubs perform unmarshalling Stubs also take care of communication & invocation
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2006, 2007, M. T. Harandi Lecture 4-6 Client and Server Stub Procedures in RPC client Request Reply Communication Communication module module dispatcher service client stub server stub procedure procedure client process server process procedure program
Image of page 6
2006, 2007, M. T. Harandi Lecture 4-7 The Stub Generation Process Interface Specification Stub Generator Server Stub Common Header Client Stub Client Source RPC LIBRARY Server Source Compiler / Linker RPC LIBRARY Client Program Server Program Compiler / Linker
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern