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 filters in web api?
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
Explain something about model, view and controllers in asp.net mvc?
What is difference between Viewbag and Viewdata in ASP.NET MVC?
How route table is created in ASP.NET MVC?
How to bind table colum with gridview column?
Explain representational state transfer (rest) in detail?
what is code first approach?
Is the following route definition a valid route definition? {controller}{action}/{id}
Explain tempdata in mvc?
Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?
What is ado.net data provider? : Entity framework
i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?
What is code first? : Entity framework
Explain the role of assembly in the .net framework.