我应该考虑使用 Simple XML Framework for Java 吗?
最近,简单 XML 框架 变得流行起来,一些网站正在展示它。
我正在考虑用新框架替换 Apache Xerces-J,并且我正在考虑将 Simple 作为其继任者。
您有使用Simple的经验吗?
它的优点和缺点是什么?
是否建议与企业软件/servlet 容器或应用程序服务器一起使用?
Lately the Simple XML Framework gained popularity and some sites are presenting it.
I am thinking about replacing Apache Xerces-J with a new framework and I am considering Simple to be its successor.
Do you have any experiences with Simple?
What are its advantages and disadvantages?
Is it recommended for the use with enterprise software/within a servlet container or application server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JAXB 是企业标准,用于将对象转换为/来自 XML。有许多实现:Metro(Java SE 6 中包含的参考实现)、EclipseLink MOXy(我是技术主管),Apache JaxMe(不再维护)等。
就企业而言,JAXB 是 Java EE 5 和 Java EE 6。它是两个 Java Web 服务标准的绑定层:JAX-WS (SOAP) 和 JAX-RS (REST)。这意味着它受到所有应用服务器供应商的支持:Oracle、IBM、SAP、JBoss 等。Spring
也很好地支持所有 JAXB 实现:
有关 JAXB 和 Simple 的比较,请查看:
JAXB is the enterprise standard for converting objects to/from XML. There are many implementations: Metro (the reference implementation included in Java SE 6), EclipseLink MOXy (I'm the tech lead), Apache JaxMe (no longer maintained), etc.
In terms of enterprise, JAXB is part of Java EE 5 and Java EE 6. It is the binding layer for both Java Web Service standards: JAX-WS (SOAP) and JAX-RS (REST). This means it is supported by all the application server vendors: Oracle, IBM, SAP, JBoss, etc.
All JAXB implementations are also well supported in Spring:
For a comparison of JAXB and Simple check out: