• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between serialization and marshalling  RSS feed

 
Kunaal A Trehan
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Is there any difference between serialization and marshalling?

Rgds
Kunal
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, really just two words that mean the same thing - producing some kind of transportable or saveable version of an in-memory object.
 
Nirav Patel
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!