[jdom-interest] SAX vs. JDOM
nirpaz at netvision.net.il
Mon Jun 26 10:12:50 PDT 2000
I'm using JDOM for quite a while - and I really enjoy it.
In many applications I write, the first step when an XML message (usually a
stream) is converted to a Java object. The object is merely piece of data
with getters/setters methods.
This object is being transferred to other Java object, and so on.
I find it very easy to accomplish using SAX, since I get only the data I
need and everything else is thrown away. Moreover a tree isn't constructed
The rest of the application is using JDOM for output and other XML
I don't feel comfortable mixing both API's.
I would like to know if I'm missing something here?
Maybe there is a better approach attacking this ?
More information about the jdom-interest