Whats difference between Marshalling,UnMarshalling & Serialization,De serialization?

Showing Answers 1 - 8 of 8 Answers

K.V.N.R.MURALI KRISHNA

  • Mar 29th, 2006
 

marshaling means:

when the client side stub class send data to server side skeleton class for marshiling only. here marshaling means serialized.

whne server side skeleton class un-marshel the data( i.e de serealized) and read the data.

this is called marshalling and un marshalling.

Babar Zaman Khan

  • May 4th, 2006
 

Serialize and De-Serialize:

Serialize means to keep the state of an object i.e when you serialize an object you actually capture the current state of object in binary form, then you can write it in FileOutputStream or can send it to Socket's OutputStream.

De-Serialize means to read that binary data from FileInputStream or Socket's InputStream and convert it in to original Object. 

In Java WriteObject() and ReadObject() methods used for Serialize and De- Serialize.

Marshalling and UnMarshalling:

Marshalling means to send the data on wire and UnMarshalling means to get the data from wire.

  Was this answer useful?  Yes

Srinivas

  • May 21st, 2006
 

Hi Friends,


Serialization: It is the process of writing the state of the object to a Stream.

De-Serialization: It is a process of reading the state of the object from a Stream
And creating an Object

Marshalling:marshals means to packup the information. The skeleton on the ser ver marshals the parameters and calls methods on remote object if any.

Un-Marshalling:un-marshals means to un-pack the information.The stub un-marshals the results and gives the results to the clients.

ok bye..........

Keeps Smiling And Mailing

bora_srinivasarao@yahoo.co.in

NOTE: If Any one have doubts Then send a mail to My mail id.and if any one want e-books,java faq's and material send a mail to my id.

  Was this answer useful?  Yes

vinay789

  • Feb 12th, 2009
 

Marshalling is one kind of converting data and objects into byte streams and unmarshalling is reverse process of this.

  Was this answer useful?  Yes

thilina

  • Sep 4th, 2016
 

Marshalling is the process of transforming the memory
representation of an object to a data format suitable for
storage or transmission

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions