Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 2.5 KB

File metadata and controls

15 lines (11 loc) · 2.5 KB

Chapter 12. Serialization(序列化)

Chapter 12 Introduction(章节介绍)

THIS chapter concerns object serialization, which is Java’s framework for encoding objects as byte streams (serializing) and reconstructing objects from their encodings (deserializing). Once an object has been serialized, its encoding can be sent from one VM to another or stored on disk for later deserialization. This chapter focuses on the dangers of serialization and how to minimize them.

本章关注对象序列化,它是 Java 的框架,用于将对象编码为字节流(序列化),并从对象的编码中重构对象(反序列化)。对象序列化后,可以将其编码从一个 VM 发送到另一个 VM,或者存储在磁盘上,以便今后反序列化。本章主要讨论序列化的风险以及如何将其最小化。

Contents of the chapter(章节目录)