aspose file tools*
The moose likes Java in General and the fly likes Marshalling and UnMarshalling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Marshalling and UnMarshalling" Watch "Marshalling and UnMarshalling" New topic
Author

Marshalling and UnMarshalling

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
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

Joined: Aug 16, 2005
Posts: 14103
    
  16

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
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

Joined: Aug 16, 2005
Posts: 14103
    
  16

Not necessarily XML format, it could also be some other format.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marshalling and UnMarshalling