Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

What is Serialization?

This is a discussion on What is Serialization? within the ASP.NET forums, part of the Web Development category; reply asap....

Go Back   Geeks Talk > Web Development > ASP.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

ASP.NET ASP.NET and ASP Related Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-21-2008
Junior Member
 
Join Date: Nov 2008
Location: Delhi
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
r1119 is on a distinguished road
What is Serialization?

reply asap.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-18-2008
Junior Member
 
Join Date: Nov 2008
Location: bangalore
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
arindam choudhury is on a distinguished road
Re: What is Serialization?

convertion of data/objects into bytes so that they can be sent accross http network is serialization
Reply With Quote
  #3 (permalink)  
Old 03-04-2009
Junior Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
PGaur is on a distinguished road
Re: What is Serialization?

Converting Objects into the tangible(Persistable) form(for ex. strings) is serialization. The purpose is to send object data across the network. The reverse process i.e again converting the same string into the object is deserialization
Reply With Quote
  #4 (permalink)  
Old 03-14-2009
Junior Member
 
Join Date: Feb 2009
Location: india
Posts: 21
Thanks: 0
Thanked 13 Times in 9 Posts
nithui is on a distinguished road
Re: What is Serialization?

serialization is the process of converting an object into a sequence of bits so that it can be stored on a storage medium (such as a file, or a memory buffer) or transmitted across a network connection link. When the resulting series of bits is reread according to the serialization format, it can be used to create a semantically identical clone of the original object. For many complex objects, such as those that make extensive use of references this process is not straightforward.

Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.
Two types:
1.Binary Serializable
2.XML Serializable
Methods:
The serializable interface is an empty interface, it does not contain any methods. So we do not implement any methods.
Use:
Whenever an object is to be sent over the network, objects need to be serialized. Moreover if the state of an object is to be saved, objects need to be serilazed.
Externalizable:
Externalizable is an interface which contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism. Thus if your class implements this interface, you can customize the serialization process by implementing these methods.

Regards,
Nithya.R
[please mark thanks,if its useful to you]
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
what is object serialization? karri_sushma Java 6 07-26-2008 10:12 AM
serialization j_priyaa Java 3 11-23-2007 03:04 AM
custom serialization sivareddy20 C# 1 06-26-2007 04:25 AM
Is there any Problem with Serialization? RyanJames C and C++ 1 11-12-2006 03:10 PM


All times are GMT -4. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved