• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marshalling and UnMarshalling

 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is the Marshalling and UnMarshalling technique is same as serialization and deserialization ian java ?

regards,

S
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15481
43
Android IntelliJ IDE Java Scala Spring
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The meaning of the words "marshalling" and "unmarshalling" is more or less the same as "serializing" and "deserializing": you convert objects to or from some external format.

The JAXB (Java XML Binding) API uses the words "marshalling" and "unmarshalling" which in that case mean converting Java objects to XML and back.
 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Thanks for your reply .

The JAXB (Java XML Binding) API uses the words "marshalling" and "unmarshalling" which in that case mean converting Java objects to XML and back.


Actually I know java serialization is nothing but saving the state of an object.
marshalling is saving the state of an object in an xml am I correct ?

regards,
S
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15481
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not necessarily XML format, it could also be some other format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic