Home > Back-end >  See the code, when they saw the spring framework; bosses to reassure Java IO. Serializable the meani
See the code, when they saw the spring framework; bosses to reassure Java IO. Serializable the meani

Time:11-11

Java. IO. Serializable

CodePudding user response:

Serialization, if a class in the field after the program is running in heap memory, after the completion of the program memory release, field no longer exists, if the computer to send an instance of the class to another machine, or to save an instance of the class to the database (persistent objects), so that will take out later, then you need to this kind of serialization, convenient delivery or save,

CodePudding user response:

Object serialization, can be used for network transmission

CodePudding user response:

Java. IO. The Serializable interface that is serialized, you use a restful interface transfer entities need to implement this interface
  • Related