CMU ISM 95702 - Inter-process Communications (41 pages)

Previewing pages 1, 2, 3, 19, 20, 39, 40, 41 of 41 page document View the full content.
View Full Document

Inter-process Communications



Previewing pages 1, 2, 3, 19, 20, 39, 40, 41 of actual document.

View the full content.
View Full Document
View Full Document

Inter-process Communications

90 views


Pages:
41
School:
Carnegie Mellon University
Course:
Ism 95702 - Distributed Systems
Distributed Systems Documents

Unformatted text preview:

95 702 Distributed Systems Chapter 4 Inter process Communications 95 702 Distributed Systems Information System Management 1 Middleware layers Applications services RMI and RPC This chapter request reply protocol Middleware layers marshalling and external data representation UDP and TCP 95 702 Distributed Systems Information System Management 2 Marshalling and External Data Representation Messages consist of sequences of bytes Interoperability Problems Big endian little endian byte ordering Floating point representation Character encodings ASCII UTF 8 Unicode EBCDIC So we must either Have both sides agree on an external representation or transmit in the sender s format along with an indication of the format used The receiver converts to its form 95 702 Distributed Systems Information System Management 3 External Data Representation and Marshalling External data representation an agreed standard for the representation of data structures and primitive values Marshalling the process of taking a collection of data items and assembling them into a form suitable for transmission in a message Unmarshalling is the process of disassembling them on arrival into an equivalent representation at the destination The marshalling and unmarshalling are intended to be carried out by the middleware layer 95 702 Distributed Systems Information System Management 4 External Data Representation and Marshalling Quiz Suppose we write a Java TCP client and server And suppose we we pass java objects rather than simple characters would the server interoperate with a NET client 95 702 Distributed Systems Information System Management 5 Three Important Approaches To External Data Representation and Marshalling CORBA s CDR binary data may be used by different programming languages Java and Net Remoting Object Serialization are both platform specific that is Java on both sides or Net on both sides and binary XML is a textual format verbose when compared to binary but more interoperable 95 702



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Inter-process Communications and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Inter-process Communications and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?