开发者

XML to Java Object [duplicate]

This question already has answers here: 开发者_运维知识库 Closed 12 years ago.

Possible Duplicate:

Java converting XML to Java objects

Hi,

Can someone please suggest the best and different ways of converting a XML file to an Java object?

Thanks & Regards, Ravi.


There are a lot of xml-to-java-frameworks around. In the past I've worked a lot with jibx.


You can user available frameworks like Castor or Xstream

I would recommend Xstream considering the simplicity of use. This 2 minute tutorial of Xstream will help you to get started quickly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜