应该是“短时间的存储”和“长时间的持续”,storage 和 persistence 意思其实都差不多,都是指把内存中的对象保存到别的稳定的介质中,如硬盘等。

解决方案 »

  1.   

    to xiaoxi777(小溪),
    谢谢你的回答
    能否请你举个例子说明一下二者的区别吗?不好意思,还是不太懂。呵呵
      

  2.   

    内存中的对象你要是退出程序或者关机了
    他们就不存在了,要是经过Serialized 就可以存在磁盘上面
    达到long term persistence的目的
      

  3.   

    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.