What's the best way to persist data in a Java Desktop Application?

后端 未结 6 1603
再見小時候
再見小時候 2021-02-14 10:19

I have a large tree of Java Objects in my Desktop Application and am trying to decide on the best way of persisting them as a file to the file system.

Some thoughts I\'v

6条回答
  •  抹茶落季
    2021-02-14 10:35

    XStream from codehaus.org

    XML serialization/deserialization largely without coding. You can use annotations to tweak it. Working well in two projects where I work.

    See my users group presentation at http://cjugaustralia.org/?p=61

提交回复
热议问题