Sun XDR marshals data by converting it into a standard big-endian form before transmission. Discuss the advantages and disadvantages of this method when compared with CORBA’s CDR.
What will be an ideal response?
The XDR method which uses a standard form is inefficient when communication takes place between pairs of similar computers whose byte orderings differ from the standard. It is efficient in networks in which the byte-
ordering used by the majority of the computers is the same as the standard form. The conversion by senders and recipients that use the standard form is in effect a null operation.
In CORBA CDR senders include an identifier in each message and recipients to convert the bytes to their own ordering if necessary. This method eliminates all unnecessary data conversions, but adds complexity in that all computers need to deal with both variants.
You might also like to view...
Which of the following types are not built into the C++ language:
a. bool b. real c. short d. int e. long f. double
You can undo a table property change by pressing the ____ keys.
A. CTRL+Z B. CTRL+P C. CTRL+S D. CTRL+X
A(n) ____ style rule uses an element selector to redefine the look of an HTML element.
A. attribute-based B. CSS-based C. URL-based D. element-based
Which of the following commands on the Drawing Tools Format tab rotates text ?
A. Text Direction B. Align Text C. Wrap Text D. Position