my goal is to store the state of an application on a remote server, so that all desktop clients, that synchronize with this data, have the same state. To serialize app state to XML I use XMLEncoder, but I'm nut sure which could be the best way to transfer the XML file from and to the remote server and if it could be easily en- and decrypted. Thanks for any hint.