International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 45 - Number 6 |
Year of Publication: 2012 |
Authors: Clarence J M Tauro, N Ganesan, Saumya Mishra, Anupama Bhagwat |
10.5120/6785-9088 |
Clarence J M Tauro, N Ganesan, Saumya Mishra, Anupama Bhagwat . Object Serialization: A Study of Techniques of Implementing Binary Serialization in C++, Java and .NET. International Journal of Computer Applications. 45, 6 ( May 2012), 25-29. DOI=10.5120/6785-9088
The process of converting a data structure or object state into a storable format is referred to as serialization. The resurrection of the stored data in the same or another computer environment is referred to as deserialization. Binary Serialization is converting the object in binary format and being able to store it in a storage medium. Many programming languages provide interfaces for serializing which can be implemented by our object classes that we want to serialize. Serialization and deserialization can hence be attained by writing codes for converting a class object into any format which we can save in a hardware and produce back later in any other or the same environment. This paper describes how serialization is performed in different programming languages. It gives a clear picture on how to create classes and objects which need to be serialized implementing the different build-in interfaces provided within languages. Binary Serialization is one of them. In this paper we explain how binary serialization of objects is done in C++, Java and . NET.