Answer Posted / javamasque
The process of converting object into byte stream is called serialization.
Advantages
1. It persists the state of an object in local disk or DB or can be transferred in network.
2. The serialized stream can be encrypted, authenticated or compressed.
3. It is used to store to some frequent used remote / third party objects as server local cache in case of web application.
4. RMI, EJB and JAXB are rely on serialization
Disadvantages
1. Large objects are not recommended to serialize.
2. Transient or static variables are not serialized.
3. If serialized object can’t be modified easily as it might impact client implementation.
4. It breaks singleton pattern (more than one object created) and encapsulation (violets access modifier rules).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Possible ways to prevent xss attacks on mvc application?
Explain Keep method in Tempdata in ASP.Net MVC?
What is .net framwork?
What is action methods in web api?
Can I use razor code in javascript in asp.net mvc?
What is Separation of Concerns in ASP.NET ASP.Net MVC?
what is deferred loading(lazy loading)?
Do you know about the new features in ASP.Net MVC 4 ?
Can I remove .net framework?
What is presentation framework?
What is the benefit of entity framework?
Does windows 10 need .net framework?
List the new features added in .net framework 4.0.
Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?
What is Attribute Routing in ASP.Net MVC?