Java中的XML解析器是否比Xalan / Xerces更快 [英] Are there faster XML parsers in Java than Xalan/Xerces

查看:134
本文介绍了Java中的XML解析器是否比Xalan / Xerces更快的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了利用Tarari或Datapower等硬件之外,我还没有找到很多方法来提高执行密集XML处理的Java应用程序的性能。有没有人知道任何加速XML解析的开源方法?

I haven't found many ways to increase the performance of a Java application that does intensive XML processing other than to leverage hardware such as Tarari or Datapower. Does anyone know of any open source ways to accelerate XML parsing?

推荐答案

看看Stax(流媒体)解析器。请参阅太阳参考手册。其中一个实现是 woodstox项目

Take a look at Stax (streaming) parsers. See the sun reference manual. One of the implementations is the woodstox project.

这篇关于Java中的XML解析器是否比Xalan / Xerces更快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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