Serialization provides the ability to write a graph of objects (the state of the application) to a byte-stream, which may then be persisted to a file or database. Serialization is also used by Java’s Remote Method Invocation (RMI) to achieve pass-by value semantics for complex objects. Another usage of serialization is to replicate application state across nodes in a cluster of machines.
what is serialization?
最新推荐文章于 2023-05-30 14:19:52 发布
Serialization可将对象图(应用程序状态)写入字节流,能持久化到文件或数据库。Java的远程方法调用(RMI)用其实现复杂对象的按值传递语义,还可在集群机器节点间复制应用程序状态。
1265

被折叠的 条评论
为什么被折叠?



