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 are HTML Helpers, AJAX Helpers in ASP.Net MVC?
What is rxjava used for?
what is use of entity container?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
What is route config?
How do I use partial view?
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?
In razor syntax, what is the escape sequence character for @ symbol?
What is the purpose of a web form?
Which is the root namespace for fundamental types in .net framework?
Which version of .net framework is installed?
Can we change web.config settings from iis?
what is client wins and store wins mode in entity framework concurrency?
What is a model in programming?
What is the need of Action Filters in ASP.Net MVC