XML (III)-common APIs for Java Development

Source: Internet
Author: User

Jaxb (Java architecture for XML binding)

Java's support for XML

Http://www.oracle.com/technetwork/articles/javase/index-140168.html

 

Xml dom parser

We already know the concept of xml dom. parser is used for XML and Dom conversion.

Http://blog.csdn.net/OnlyQi/article/details/7912383

 

Sax -- Simple API for XML

The biggest difference between Sax and Dom is that sax reads XML in the form of a stream instead of loading the DOM into the memory. Therefore, Sax is particularly suitable for reading large XML files.

In the sax approach, the parser starts at the beginning of the document and passes each piece of the document to the application in the sequence it finds it. nothing is saved in memory. the application can take action on the data as it gets it from the parser,
But it can't do any in-memory manipulation of the data. For example, it can't update the data in memory and return the updated data to the XML file.

Http://blog.csdn.net/onlyqi/article/details/7836872

 

Stax --Streaming API for XML(Stax)

Stax is a simplified version of sax, which is easier to use.

Http://blog.csdn.net/onlyqi/article/details/7836864

 

SAAJ--SOAP with attachments API for Java

Java-specific APIs for SOAP XML

Http://docs.oracle.com/javaee/5/tutorial/doc/bnbhg.html

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.