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
how do you truncate a table using entity data model?
How route table has been created in ASP.NET ASP.Net MVC?
What are action filters?
What is MVVM design pattern?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
What is disconnected scenario? : Entity framework
How to return the JSON from action method in ASP.Net MVC?
What is entity graph? : Entity framework
What are the components required to create a route in ASP.Net MVC?
What is the difference between viewbag and viewdata in mvc?
The order of the filters that get executed, if the multiple filters are implemented?
What is html.renderpartial?
Describe the roles of clr in .net framework.?
what is lazy loading in entity framework?
What is entity framework? : Entity framework