wood burning stoves 2.0*
The moose likes Product and Other Certifications and the fly likes Significance of XML encoding/decoding over Serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Significance of XML encoding/decoding over Serialization" Watch "Significance of XML encoding/decoding over Serialization" New topic
Author

Significance of XML encoding/decoding over Serialization

Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Posts: 99
while reading XML encoding/decoding i noticed one thing....we can store the state of an object...storing the state of an object in XML file is more effective when compared to ordinary file(ex:notepad .txt)...

So i want to confirm whether storing state in XML file will be more effective than serialization ?

If XML is more effective then please tell me in what way(i knows it supports(ofcourse both supports) OOps concept,other than this)......(correct me if i am wrong)


Will xml replace serialization(because i hope we can extracting the data quickly compared to serialization..so less delay)

if you knows any links that explains this topic(XML vs Serialization)then please attach that link here.

one more thing::in serialization if i serialize an Object then class which come under that Hirarichy will also get serialized automatically(we wont write code for that)...Is it the same case in XML(especially using encoding/decoding technique java.beans.XMLEncoder\XMLDecoder)?
[ July 07, 2006: Message edited by: harish thrivile ]

Giving up is the easiest thing in the world to do..but holding it together when everything seems like falling apart is true strength!!
with regards, Harish.T
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Significance of XML encoding/decoding over Serialization