GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 23 of 104    Print  
whats difference between Marshalling,UnMarshalling & Serialization,De serialization?

  
Total Answers and Comments: 4 Last Update: February 13, 2009     Asked by: shekhar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 29, 2006 14:00:25   #1  
K.V.N.R.MURALI KRISHNA        

RE: whats difference between Marshalling,UnMarshalling...

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.


 
Is this answer useful? Yes | No
May 04, 2006 01:31:02   #2  
Babar Zaman Khan        

RE: whats difference between Marshalling,UnMarshalling...

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.


 
Is this answer useful? Yes | No
May 21, 2006 03:20:22   #3  
Srinivas        

RE: whats difference between Marshalling,UnMarshalling...

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.


 
Is this answer useful? Yes | No
February 12, 2009 05:29:37   #4  
vinay789 Member Since: February 2009   Contribution: 1    

RE: whats difference between Marshalling,UnMarshalling & Serialization,De serialization?
Marshalling is one kind of converting data and objects into byte streams and unmarshalling is reverse process of this.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape