w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
What Java XML API to use in my app - StAX or DOM?

I recommend to use the following XML libraries (ordered by recommendation; only use the next one if the one before doesn't suit you needs):

  1. JAXB (work with objects rather than XML)
  2. StAX (lower level than JAXB)
  3. SAX (only for reading; should be rarely used now with JAXB and StAX available)
  4. DOM (should be rarely used now with JAXB and StAX available)




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.