|
Hi all
We are developing a desktop application. It is
necessary to set up a system of storing the user's workspace settings. I
think there are two standard options how to do this:
1. Serialization
2 . Store the settings in an XML file or a set of
XML files.
I wonder which of theses approaches suites
better. As of now, I can think of the following pros and cons :
Serialization:
pros: easy to implement, it is built in java,
java objects directly are stored
cons: the stored streams are not
human readable, there may be problems with versions of the serialized
classes. Only a java application can read this data.
XML filesystems:
pros: Human readable and editable, a standard way
of storing data, not dependent on the programming language
cons: requires more work at the implementation, at
least at the beginning
Right now I am more in favor od the XML filesystems
solution. Does anybody have any opinion ar experience with this
topic?
Thanks
Ivan
To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm
|
- [jdjlist] RE: Serialization x XMLization Ivan Bradac
- [jdjlist] RE: Serialization x XMLization Scot Mcphee
- [jdjlist] putting cookies rit7esyahoo
- [jdjlist] Re: Serialization x XMLization David Gallardo
- [jdjlist] Re: Serialization x XMLization David Rosenstrauch
