Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Your Email:

All about JAXP, Part 1

By Brett McLaughlin
2005-07-15


Resources

  • Visit the "XML and Java technology" forum, hosted by Brett McLaughlin, for additional information on how to work with these technologies.

  • Learn more about JAXP at Sun's Java and XML headquarters.

  • If you're new to Java programming, you can get JAXP along with a complete JDK by downloading Java 5.0.

  • For an in-depth look at the new features in JAXP 1.3, read the two-part developerWorks series "What's new in JAXP 1.3?":
    • Part 1 (November 2004) provides a brief overview of the JAXP specification, gives details of the modifications to the javax.xml.parsers package, and describes a powerful schema caching and validation framework.
    • Part 2 (December 2004) touches on utilities that add support for concepts defined in the Namespaces in XML specification, and describes changes to the javax.xml.transform package.

  • Find out more about the APIs under the covers of JAXP. Start with SAX 2 for Java at the SAX Web site, and then take a look at DOM at the W3C Web site.

  • Download the Apache Xerces parser in its JDK 5.0 implementation.

  • Read "Achieving vendor independence with SAX" (developerWorks, March 2001) to learn how to use SAX and a SAX helper class to achieve vendor independence in your SAX-based applications.

  • Learn more about JDOM, an open source toolkit that provides a way to represent XML documents in the Java language for easy and efficient reading, writing, and manipulation.

  • Read "Simplify XML programming with JDOM" (developerWorks, May 2001) to find out how JDOM makes XML document manipulation easy for Java developers.

  • Check out dom4j, an open source library for working with XML, XPath, and XSLT on the Java platform.

  • Read Brett McLaughlin's book Java & XML (O'Reilly & Associates, 2001), which explains how Java programmers can use XML to build Web-based enterprise applications.

  • Learn the basics of manipulating XML documents using Java technology from Doug Tidwell's developerWorks tutorial "XML programming in Java technology, Part 1" (January 2004). Part 2 (July 2004) looks at more difficult topics, such as working with namespaces, validating XML documents, and building XML structures without a typical XML document. Finally, Part 3 (July 2004) shows you how to do more sophisticated tasks such as generate XML data structures, manipulate those structures, and interface XML parsers with non-XML data sources.

  • Need a more basic introduction to XML? Try the developerWorks Intro to XML tutorial (August 2002) and other educational offerings, which cover the most fundamental topics.

  • Browse a wide range of XML-related titles at the developerWorks Developer Bookstore.

  • Find out how you can become an IBM Certified Developer in XML and related technologies.


  • Tutorial Pages:
    » XML processing toolkit facilitates parsing and validation
    » JAXP: API or abstraction?
    » Starting with SAX
    » Dealing with DOM
    » Performing validation
    » Changing the parser
    » Summary
    » Resources


    First published by IBM developerWorks


     | Bookmark
    Related Tutorials:
    » Make Database Queries Without the Database
    » Load List Values for Improved Efficiency
    » 2 Ways To Implement Session Tracking
    » A Simple Way to Read an XML File in Java
    » Develop Aspect-Oriented Java Applications with Eclipse and AJDT
    » Java Validation With Dynamic Proxies