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
what is minimum requirement for entity framework applications to run?
What is entitytype? : Entity framework
What is an asynchronous controller in asp.net mvc?
What is RouteConfig.cs in ASP.Net MVC 4?
What are Scaffold templates in ASP.Net MVC?
What is action methods in web api?
Is .net core replacing .net framework?
differences between poco, model first and data first approach?
What is ViewData and TempData in ASP.Net MVC?
Can you explain renderbody and renderpage in mvc?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
When will the .net framework 3.0 be released?
How we can register the Area in ASP.Net MVC?
How do you specify comments using razor syntax?
Is .net framework dead?