It is the process of converting an object to a form suitable for either making it persistent or tranportable.
Deserialization is the reverse of this and it converts the object from the serialized state to its original state.
Types:
1. Binary
2. XML
Differences:
Sno | Binary | XML |
1 | It preserves type fidelity , which is useful for preserving the state of the object between transportation and invocation. | It doesnt preserves type fidelity and hence state cant be maintained. |
2 | As it is the open standard its widely used | Not that much compared to Binary. |
No comments:
Post a Comment