public interface Serializable {
}

该接口没有任何实现方法,是一种标志,instance of  Serializable 会判断object类型

一、序列化和反序列化的概念

  把对象转换为字节序列的过程称为对象的序列化
  把字节序列恢复为对象的过程称为对象的反序列化
  对象的序列化主要有两种用途:
  1) 把对象的字节序列永久地保存到硬盘上,通常存放在一个文件中;
  2) 在网络上传送对象的字节序列。

二、JDK类库中的序列化API

  java.io.ObjectOutputStream代表对象输出流,它的writeObject(Object obj)方法可对参数指定的obj对象进行序列化,把得到的字节序列写到一个目标输出流中。
  java.io.ObjectInputStream代表对象输入流,它的readObject()方法从一个源输入流中读取字节序列,再把它们反序列化为一个对象,并将其返回。
  只有实现了Serializable和Externalizable接口的类的对象才能被序列化。Externalizable接口继承自 Serializable接口,实现Externalizable接口的类完全由自身来控制序列化的行为,而仅实现Serializable接口的类可以 采用默认的序列化方式 。
  对象序列化包括如下步骤
  1) 创建一个对象输出流,它可以包装一个其他类型的目标输出流,如文件输出流;
  2) 通过对象输出流的writeObject()方法写对象。

  对象反序列化的步骤如下
  1) 创建一个对象输入流,它可以包装一个其他类型的源输入流,如文件输入流;
  2) 通过对象输入流的readObject()方法读取对象。

三、serialVersionUID的作用

s​e​r​i​a​l​V​e​r​s​i​o​n​U​I​D​:​ ​字​面​意​思​上​是​序​列​化​的​版​本​号​,凡是实现Serializable接口的类都有一个表示序列化版本标识符的静态变量

1 private static final long serialVersionUID

  实现Serializable接口的类如果类中没有添加serialVersionUID,那么就会出现如下的警告提示

  aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvIAAACpCAIAAADGL04GAAAgAElEQVR4nO19fXAd1ZVnz2Zrdv/Z2SQ7yexHzex8FswXWxlmNgshA1VhK5AppxLPvJQDgYhRYjLMLCZNyIgxKTns4FlVQsCprGNVrxggcgkSjIMRYqZfHDwy2EQyUYDGSDYSloMDbj/pgRxsGUk++8d93X0/zr19u1+/Dz2dU79SPfW799zP9+7vnXvuPU7l5GTl5OQjD/X/3fZX/277q+xfM8BWpof7x8wpsm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rD6DrO1zIaLPB6472u6kTUomdzQVeM09947uaGLaA2BQCAQWo7CaA3nQSO50fDvpJ/wrhCtyS46a838wtL8wjvzp99Z17X5V6/++/mFpfnTSxtu2/bqyUUe93l360bWoIRoDYFAIBBaBd6fppG+NXVLsdoM0vH31kwde4XZWhbOLC28vbRwZil2i3nr7eVXXj8bw+u/RzeyBiW0CUUgEAiEVoH3p2mkb03dUqy2NSK6e2v+8//86sfv2XtmcXld1+Yzi8vsENPhwy8ePvzijh3beBgGF1VSfXyEdxl+4957idYQCAQCoZlgK6D0mmhNJ4jhOr6pY6/wV87kmzqqEv5cNx3wJhAIBEKbgGhNJ0jqLcMEAoFAIKx26PxpyLem04RoDYFAIBA6Hjp/GvKt6TQhWkMgEAiEtQC26hleE63pBCFaQyAQCARChWhNZ0hMawgEAoFAWOMgWrPq5a3qcbazSCAQCAQCoRhaw64TVsMjJNcMp18yTLQmj3xx0+cIBAKBQCDEiJfInLSmOtbfMzyNRvCOAylMDyOkRxKiNSQkJCQkJCRFSSNDXcL0cBIrCheiNSQkJCQkJCRFScG0hrfWVMf6UzeiiNaQkJCQkJCQFCX/H4VYfZewWO5FAAAAAElFTkSuQmCC" alt="" />

 serialVersionUID有两种生成方式:

  采用aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAAVCAIAAACMmjY4AAACV0lEQVRoge1av0vDQBTuv9SxotChQzN0MENpra3VYgoVkqFQKFbQQRddIoguzSBdCgq6ukkRREQd4iCCSMFZ/AviEAzhfry7nGmT4R0fx/V+vPfuvS8fbUnm53uKQMSOjIcN2wxaxn25RyBih4piZTt3TycL2GPP6z3PUyGWfx6B4EGRWInHjUgzBIq1drXtAxULERUQseqX/c8vo37RhxWLKWDMbUKpk98jqZrzl1jYV9riiZTDIHIeEwIIFKs67r1PN1fGPXoprFg86/S8zCWFhYklufMs7SyKnXjMwUeg+lxilUdd96NVHnXpJcIE0zoSK95bJItIxGIolj609KGpO5buWMtD8/Ft3R/rjqk7pu5YhGJ5f9pIeCXYxmQkHTrzFL2BtycY03tgR0AwkXwxzTIfRck88IwDGyLFw7zm/4mVpRWrdNaZuE0GXpsTt1k63WLWjFlFYADEDZ8SXk/mlLC08BFh2YQFkPcOD2T4qpYxBTthMBSraBua3S7aRtFua8ftm+eGZhv+pGa3Ndvwt4UVi35KFELnJY7JY+Ig7B1mCZxKwgjPF2xZ5hZMI2reYbbNh1hZ+DtW4ah1/bBaONyglyIFqkwshevFSCxhPGoRSnqXeaJkSJAIsQS/CvMHjfFdLb/foJd8xQpfnh7DM7xUMk8BRmBfRAMqJwyGiAewyZuE4xHyRt47nQrexWmbcCoI73ACucRa2q2d31YX92qRMoJACBQrt1PJDSq5QYVewn/eETAgYgEt8bgRaQa+3YCYFdQVK/E3frBPc69ILGzYhO0XUZDh8519YgEAAAAASUVORK5CYII=" alt="" />这种方式生成的serialVersionUID是1L,例如:

1 private static final long serialVersionUID = 1L;

  采用aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAANEAAAATCAIAAACBeH8HAAACK0lEQVRoge1VMUvDQBTO3yoodOjQDB3MUFpra7WYgEI6FArFCjrooktcdGkG6VJQ0NVNxEUElwqKICI4CP6HOhQ13L17eUnaS9H3ccPdy7v3fXn35WKMouPz45EHD2Tg/jFieI7BSAL2HEM32HMM3VB6bvl8czx0qmH8Byg9Vz3rvL7b1dNOyH4DqGAYhhCXI7OPKWnGaxrfmDhvPD3ECkEIESBfVag8aD+/rS0O2vEUy/HZ8RxdSVqaZ6dXdMi3DBgfIZ4r9lvDl0ax3wplUl11oZG0wJ6bBmJ6zuo1rZ5r+U3Lby703LunlfHc8l3Ldy2/CdKAv9FgkPK/kG9jeY7/soWLHcxRiVFFEM2gpFA9YE2QXcUraMM7BgYj6VF1HlQFLoH6wUXheP16WAfGQ/16WC8cbYA0QtNDJ4jc5BPKm4fmRNKM10HS6AoR9njdiKSH0g1Knd9HwUXes03PyXt23nPMQ+fyvmZ69jhoeo7p2TKN/N3EViw0nVJZlQOKlNtB50qoWdgVVaGqSDx23Ii6PRdE7qBxcbuU21+l0CT0HHgMdK5Iu+Q04i4VIulB2CN5bgQ5nsIeypWm57J7tcFNJbtbQziEKyc4xyNgKdW1Ac7xHGJxkGsamhEioZQAkPpnl0oShShUj6om3gqBHc5XvdL8duXkqjy3U0Fee1IQjk0DIyNFKA84s1XKdEuZbkmTDsKXzfgb4DNm6AZ7jqEb7DmGbrDnGLrxBTOIm3wX0K0ZAAAAAElFTkSuQmCC" alt="" />这种方式生成的serialVersionUID是根据类名,接口名,方法和属性等来生成的,例如:

1 private static final long serialVersionUID = 4603642343377807741L;

四、serialVersionUID的取值

  serialVersionUID的取值是Java运行时环境根据类的内部细节自动生成的。如果对类的源代码作了修改,再重新编译,新生成的类文件的serialVersionUID的取值有可能也会发生变化。
  类的serialVersionUID的默认值完全依赖于Java编译器的实现,对于同一个类,用不同的Java编译器编译,有可能会导致不同的 serialVersionUID,也有可能相同。为了提高serialVersionUID的独立性和确定性,强烈建议在一个可序列化类中显示的定义serialVersionUID,为它赋予明确的值

  显式地定义serialVersionUID有两种用途:
    1、 在某些场合,希望类的不同版本对序列化兼容,因此需要确保类的不同版本具有相同的serialVersionUID;
    2、 在某些场合,不希望类的不同版本对序列化兼容,因此需要确保类的不同版本具有不同的serialVersionUID。

五、什么情况下需要序列化

当你想把的内存中的对象状态保存到一个文件中或者数据库中时候;
当你想用套接字在网络上传送对象的时候;
当你想通过RMI传输对象的时候;

(老实说,上面的几种,我可能就用过个存数据库的)

六、如何实现序列化

作用。为啥要实现这个 Serializable 接口,也就是为啥要序列化

七、serialVersionUID 这个的值到底是在怎么设置的,有什么用。有的是1L,有的是一长串数字,迷惑ing。

  解决办法:在 JavaBean 对象中增加一个 serialVersionUID 字段,用来固定这个版本,无论我们怎么修改,版本都是一致的,就能进行反序列化了

八、 How---怎么实现序列化:

  只有实现了 Serializable 或 Externalizable 接口的类的对象才能被序列化,否则抛出异常。
对于实现了这两个接口,具体序列化和反序列化的过程又分以下3中情况:
  情况1:若类仅仅实现了Serializable接口,则可以按照以下方式进行序列化和反序列化
ObjectOutputStream采用默认的序列化方式,对对象的非transient的实例变量进行序列化。
ObjcetInputStream采用默认的反序列化方式,对对象的非transient的实例变量进行反序列化。

  情况2:若类不仅实现了Serializable接口,并且还定义了readObject(ObjectInputStream in)和writeObject(ObjectOutputSteam out),则采用以下方式进行序列化与反序列化。
ObjectOutputStream调用对象的writeObject(ObjectOutputStream out)的方法进行序列化。
ObjectInputStream会调用对象的readObject(ObjectInputStream in)的方法进行反序列化。

  情况3:若类实现了Externalnalizable接口,且类必须实现readExternal(ObjectInput in)和writeExternal(ObjectOutput out)方法,则按照以下方式进行序列化与反序列化。
ObjectOutputStream调用对象的writeExternal(ObjectOutput out))的方法进行序列化。
ObjectInputStream会调用对象的readExternal(ObjectInput in)的方法进行反序列化。

参考文章:

1、 Java基础学习总结——Java对象的序列化和反序列化 (孤傲苍狼

2、 java序列化反序列化深入探究

Java序列话和反序列化理解(New)的更多相关文章

  1. java 对象序列化与反序列化

    Java序列化与反序列化是什么? 为什么需要序列化与反序列化? 如何实现Java序列化与反序列化? 本文围绕这些问题进行了探讨. 1.Java序列化与反序列化  Java序列化是指把Java对象转换为 ...

  2. java 的序列化与反序列化

    前言: 一直很不理解java的序列化的概念,为什么java对象的序列化要实现 Serializable的接口?或者要实现Externalizable的接口?而且Externalizable 的父类还是 ...

  3. Java基础—序列化与反序列化(转载)

    转载自: Java序列化与反序列化 1.Java序列化与反序列化 Java序列化是指把Java对象转换为字节序列的过程:而Java反序列化是指把字节序列恢复为Java对象的过程. 2.为什么需要序列化 ...

  4. Java 中序列化与反序列化

    一. 序列化和反序列化概念 Serialization(序列化)是一种将对象以一连串的字节描述的过程:反序列化deserialization是一种将这些字节重建成一个对象的过程.将程序中的对象,放入文 ...

  5. Redis入门 – Jedis存储Java对象 - (Java序列化为byte数组方式)

    Redis入门 – Jedis存储Java对象 - (Java序列化为byte数组方式) 原文地址:http://alanland.iteye.com/admin/blogs/1600685(欢迎转载 ...

  6. Java序列化机制中的类版本问题 serialVersionUID的静态字段 含义

    Java序列化机制中的类版本问题 分类: [Java 基础]2014-10-31 21:13 480人阅读 评论(0) 收藏 举报   目录(?)[+]       原文地址:http://yanwu ...

  7. Java安全之Fastjson反序列化漏洞分析

    Java安全之Fastjson反序列化漏洞分析 首发:先知论坛 0x00 前言 在前面的RMI和JNDI注入学习里面为本次的Fastjson打了一个比较好的基础.利于后面的漏洞分析. 0x01 Fas ...

  8. Java安全之SnakeYaml反序列化分析

    Java安全之SnakeYaml反序列化分析 目录 Java安全之SnakeYaml反序列化分析 写在前面 SnakeYaml简介 SnakeYaml序列化与反序列化 常用方法 序列化 反序列化 Sn ...

  9. 【转】关于Java的Daemon线程的理解

    原文地址:http://www.cnblogs.com/ChrisWang/archive/2009/11/28/1612815.html 关于Java的Daemon线程的理解 网上对Java的Dae ...

随机推荐

  1. jxl读取excel

    String path=""; String path2=""; File file = new File(path); File file2 = new Fi ...

  2. 【C/C++】10分钟教你用C++写一个贪吃蛇附带AI功能(附源代码详解和下载)

    C++编写贪吃蛇小游戏快速入门 刚学完C++.一时兴起,就花几天时间手动做了个贪吃蛇,后来觉得不过瘾,于是又加入了AI功能.希望大家Enjoy It. 效果图示 AI模式演示 imageimage 整 ...

  3. js的常用方法和对象学习

    js的常用方法和对象学习String对象:操作字符的. 使用:字符串.函数名. 大小写转换: toUpperCase() 转换大写 toLowerCase() 转换小写 function testSt ...

  4. 利用java实现一个简单的链表结构

    *博客搬家:初版发布于 2014/07/04 定义: 所谓链表就是指在某节点存储数据的过程中还要有一个属性用来指向下一个链表节点,这样的数据存储方式叫做链表 链表优缺点: 优点:易于存储和删除 缺点: ...

  5. Angular material mat-icon 资源参考_Places

    ul,li>ol { margin-bottom: 0 } dt { font-weight: 700 } dd { margin: 0 1.5em 1.5em } img { height: ...

  6. Owin WebAPI上传文件

    Owin是微软出了几年的东东了,一直没时间学习.大概了解了下,是一个脱离IIS环境,快速搭建WebAPI服务的东西. 刚好想尝试下尽量脱离IIS创建简单快捷配置的项目,就是用了Nginx+Owin的模 ...

  7. jQuery示例 | 分级菜单

    <!DOCTYPE html> Title .header{ background-color: black; color: wheat; } .content{ min-height: ...

  8. vue相关问题在工作中的问题及ui组件及html样式搭建相关网站下载资源

    https://youzan.github.io/vant/#/zh-CN/nav-bar http://www.builive.com/docs/api/index.html    bui框架BUI ...

  9. jQuery 学习笔记(TryjQuery)

    第一集.页面加载完成后执行 js 代码: $(document).ready(function(){ $("h1").text("Where to?"); }) ...

  10. Ubuntu 16.04安装SecureCRT替代XShell

    XShell应该是最强大的,在Ubuntu下只有SecureCRT能实现跨平台(Linux/Windows/Mac),并且可以实现Tab的功能等.当然,还有其它的类似PuTTY这些.Windows下建 ...