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 edm designer? : Entity framework
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
How we can register the Area in ASP.Net MVC?
what is minimum requirement for entity framework applications to run?
Can you explain renderbody and renderpage in asp.net mvc?
List out few different return types of a controller action method?
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is entity framework? : Entity framework
What is entity client data provider? : Entity framework
What are child actions in ASP.Net MVC?
what is datacontrols?
what is explicit loading?
what is csdl?
What is associationset? : Entity framework
What are Model Binders in ASP.Net MVC?