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 meant by domain model?
Explain how to use multiple submit buttons in ASP.Net MVC?
I want ask from plz smaple example code for Biztalkk server
What is the difference between adding routes, to a webforms application and to an mvc application?
explain what does .edmx file contains?
What is Attribute Routing in ASP.Net MVC?
what is code first approach?
Describe the .net framework architecture.
What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?
The order of the filters that get executed, if the multiple filters are implemented?
what is entity sql?
Explain linq to entities? : Entity framework
Why to use html.partial in mvc?
What is page life cycle?
Explain the difference between Viewbag and Viewdata in ASP.NET MVC?