aspose file tools
The moose likes Distributed Java and the fly likes Difference between serialization and marshalling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Difference between serialization and marshalling" Watch "Difference between serialization and marshalling" New topic
Author

Difference between serialization and marshalling

Kunaal A Trehan
Ranch Hand

Joined: Feb 04, 2004
Posts: 63
Hi All

Is there any difference between serialization and marshalling?

Rgds
Kunal
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Nope, really just two words that mean the same thing - producing some kind of transportable or saveable version of an in-memory object.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Nirav Patel
Greenhorn

Joined: May 27, 2005
Posts: 22
Marshalling is the process that is used by RMI to pass an object between its stub and skeleton.

The marshalling process is achieved using object serialization.

Serialization implies just a byte-streaming of an object; when marshalling , it's checked before if the object to be transferred is a Remote object (implementing java.rmi.Remote); if yes, just its reference is sent to the counterpart otherwise it's serialized as well.

?


----<br />Nirav Patel<br />Software is the bottleneck in the digital world!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between serialization and marshalling
 
Similar Threads
Serialization ,persistency
Serialization vs marshalling
Serialization and Externalization
Differences
Serialization Vs Externalization