nirjari patel wrote:As Christopher explained, what if the server crashes ? In that situation, will the objects be serialized automatically?
I don't see how that would be possible. If you unplug your pc out of knowhere how could your software suddenly save your status? Serializing is done manually by the programmer when it is appropriate. For instance you would serialize or save the state of a game when the user clicks on "save game". For other applications a timer
thread may be running to automatically save the state of the program in intervals to try and prevent major data loss by writing to a temp file and waiting for the user to actually initiate a save.
When you see the
word serialize just replace it with save and replace objects with the word data if it makes more sense that way. Also, I don't know what you mean by incomplete objects, sorry.