I need to store some properties of an object before closing the application. We were writing the values into an XML file and the same is being read on restarting the application. My question is like, will be there any performance improvement if I write the object to a file using "ObjectOutputStream" etc.?
Kindly share your suggestions also the points to be considered while taking this kind of decisions.
That's an interesting question. For example Xstream library is very fast while parsing a file.
The best solution it to test both XML parsing and Java Serialization. Then you will be able to compare the times.