| 1. |
Why Serialization And Deserialization? |
|
Answer» For example consider, we have a very complex object and we NEED XML format to show it on HTML PAGE. Then we can create a XML file in the disk, writes all the necessary DATA on the XML file, and use it for the HTML page. But this is not good approach for large number of users. Extra space is REQUIRED; anyone can see the XML file which creates security issue. We can overcome it by USING XML serialization. For example consider, we have a very complex object and we need XML format to show it on HTML page. Then we can create a XML file in the disk, writes all the necessary data on the XML file, and use it for the HTML page. But this is not good approach for large number of users. Extra space is required; anyone can see the XML file which creates security issue. We can overcome it by using XML serialization. |
|