Saving Java Object Graphs as XML file

前端 未结 15 2525
耶瑟儿~
耶瑟儿~ 2021-02-07 12:13

What\'s the simplest-to-use techonlogy available to save an arbitrary Java object graph as an XML file (and to be able to rehydrate the objects later)?

15条回答
  •  灰色年华
    2021-02-07 13:06

    The Simple API is, well, simple! It's really good. http://simple.sourceforge.net/

    You can also use XStream: http://www.ibm.com/developerworks/library/x-xstream/index.html

提交回复
热议问题