http://java.dzone.com/articles/spoilt-choice-how-you-voted
ha hecho una pequeña encuesta sobre las librerías y APIs usados para procesar XML:
Lo interesante de su post son el conjunto de librerías para procesar XML que comentan:
· dom4j
o Support for DOM, SAX and JAXP. Seems full featured to me
· xstream
o Serialize to and from XML
· VTD-XML
o Fast, memory efficient XML processor
· Joost
o Implementation of Streaming Transformations for XML that builds on top of SAX.
o Looks like a really straightforward way to handle XML.
· XMLBeans
o Useful XML binding-to-beans option
· StAX
o Streaming API for XML implementation of the JSR-173 specification
· JDOM
o A Java DOM implementation
· Castor
o A reliable XML binding solution, with tools to generate objects from schemas, similar to JAXB.
o Provides Object – XML mapping support.
o Provides a configuration of an object-xml mapping module for reading and using XML configurations.
· WAX
o Writing API for XML. Similar to SAX, except it allows writing back to XML.
Yo he probado varias de ellas, que recuerde ahora dom4j, XStream, SimpleXML, XMLBeans, Castor (cuántos años hace ya :)) y Digester.
En este punto si que puedo decir que cada librería es adecuada para una funcionalidad,
desde la más sencilla: Digester para recuperar valores de un XML,
a XMLBeans para casi cualquier cosa,
pasando por SimpleXML para procesamiento XML con anotaciones.
¿Cuál preferís?



Deja un comentario