why we need to go for xml binders instead of xml parsers in java

123 Views Asked by At

why we need to go for xml binders instead of xml parsers in java

2

There are 2 best solutions below

0
On

You don't always need to use XML binders, XML data binders converts XML into objects, because objects are usually more familiar with developers. Most of the tasks can be accomplished without object binder, using DOM or VTD-XML parsers, you can just navigate the XML tree, and you should be able to accomplish the same thing as XML binders

0
On

We don't. Both have their separate uses.