JAXB VS的Apache XMLBeans的 [英] JAXB vs Apache XMLBeans

查看:124
本文介绍了JAXB VS的Apache XMLBeans的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我,哪一个更好(JAXB或Apache XMLBeans的),同时在考虑到性能更大的文件,然后为10Mb?

Anyone can tell me which one is better (JAXB or Apache XMLBeans) taking in account the performance for files bigger then 10Mb?

推荐答案

两者都有类似的表演,不过即使Apache的XMLBeans的似乎present更好的表现,我通常会选择JAXB,因为我不想增加大小我与第三方工具的应用。

Both have similar performances, however even if Apache XMLBeans seems to present better performance, I normally choose JAXB because I don't want to increase the size of my applications with 3rd party tools.

使用的Apache XMLBeans的需要2MB左右的小包装,它可能是简单易学,有据可查。有充分的支持XSD规范和命名空间,并映射只能通过XML模式定义(XSD)。这似乎也去precated API的使用。

With Apache XMLBeans you need a small package around 2mb, it's probably easy to learn and well documented. Have full support of XSD specification and namespaces, and mapping only via XML Schema Definition (XSD). It also seems to use deprecated API’s.

这篇关于JAXB VS的Apache XMLBeans的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆