camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: whether jaxb or dom or sax or to decide
Date Tue, 11 Sep 2012 10:35:01 GMT
Basically dom is fine if you have a small xml and want simple access to 
it without generating code.
JAXB is the right way if you want automatic mapping to Java classes.
SAX and Stax are best for large xml as they support streaming. The API 
is less convenient though.


Am 11.09.2012 08:57, schrieb Naveen Raj:
> hi,
>      Can any one help me in deciding what to use for parsing and adding
> elements in to xml ...whether jaxb or dom or sax or stax or any other
> ...which is efficient....
> Thanks,
> Naveen
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Christian Schneider

Open Source Architect
Talend Application Integration Division

View raw message