What is the difference between Serialization and Marshaling?

前端 未结 12 1598
忘了有多久
忘了有多久 2020-12-02 03:30

I know that in terms of several distributed techniques (such as RPC), the term "Marshaling" is used but don\'t understand how it differs from Serialization. Aren\'

12条回答
  •  情话喂你
    2020-12-02 03:48

    Think of them as synonyms, both have a producer that sends stuff over to a consumer... In the end fields of instances are written into a byte stream and the other end foes the reverse ands up with the same instances.

    NB - java RMI also contains support for transporting classes that are missing from the recipient...

提交回复
热议问题