remote « serialize « Java I/O Q&A





1. Serializing to a remote file?    coderanch.com

The only hard part is knowing how to write to the remote file: by file sharing, by an explicit network connection to a dedicated server, by HTTP or FTP, etc. Once you know how to open an OutputStream that goes to the file, then just construct an ObjectOutputStream that wraps that one, and call writeObject(), passing your object as an argument; ...