Saving and reloading game state from a remote server

Hello,
I would like to save the state of the game to reload it later. I have found some approaches, but I don’t know which is best. Of course I can’t save the state of the JVM, so I have to save the state of all objects. How could this be done?