What is best practice in converting XML to Java object?

后端 未结 10 894
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 16:02

I need to convert XML data to Java objects. What would be best practice to convert this XML data to object?

Idea is to fetch data via a web service (it doesn\'t use WSDL

10条回答
  •  礼貌的吻别
    2021-02-13 16:25

    JAXB is a standard API for doing this: http://java.sun.com/developer/technicalArticles/WebServices/jaxb/

提交回复
热议问题