Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I've been trying to learn about serialization and sending data over the network and am confused about how Java is sent. When a program is running on the browser is serialization ever necessary? What is the difference between creating a program and publishing it on the web and sending data over a network which requires serialization?
In my research I read that one reason to use serialization is persistence and saving objects for the next time the program is started, for example as in a software game. But when I set an attribute on a program, say ball is color red, and then save the program in an object, when I call it up again the ball color will still be red.
Can anyone clear my befuddled brain of all of this confusion regarding saving and sending in Java??
0 · ·