to xiaoxi777(小溪), 谢谢你的回答 能否请你举个例子说明一下二者的区别吗?不好意思,还是不太懂。呵呵
内存中的对象你要是退出程序或者关机了 他们就不存在了,要是经过Serialized 就可以存在磁盘上面 达到long term persistence的目的
gdsean is basically right. Just to clarify one thing, "Serialized" simply means "save". But it doesn't say where to save, but it doesn't say where to save. If it's saved in memory or doing RMI, then is considered "short term". If it is saved to disks, then it will be long term.
谢谢你的回答
能否请你举个例子说明一下二者的区别吗?不好意思,还是不太懂。呵呵
他们就不存在了,要是经过Serialized 就可以存在磁盘上面
达到long term persistence的目的