I have two applications that are both working on the same file. The file is a serialized class file, which at run time is used as an object(class). I want to let the two applications use the same file through a cloud-sharing service like Dropbox.
I had a few questions regarding this:
- How would I let the clients write and read to the same file without closing a stream?
- How would I let my application recognize specific changes within the file, and update those in the object without having to completely remake the object?
- Are there any tools like this out there, and if not, could you help me out?
As an example on being able to work on the same file while keeping the file at another location is Google Docs.