Web services test code generator
Klaus Berg has recently released a test-code generator for JUnit-based Web service clients. If you're developing Web services using Axis2 and XMLBeans this wizard could turn your JUnit test client coding into a powerful code generation process. It also has uses for those using GUI-based testing tools like soapUI.

Newsletter sign-up

Sign up for our technology specific newsletters.

Enterprise Java
View all newsletters

Email Address:

XML documents on the run, Part 1

SAX speeds through XML documents with parse-event streams

One of the oldest approaches to processing XML documents in Java also proves one of the fastest: parse-event streams. That approach became standardized in Java with the SAX (Simple API for XML) interface specification, later revised as SAX2 to include support for XML Namespaces.

Resources
  • For full details of the SAX specification, currently at version 2.0.1, go to
    http://www.saxproject.org
  • The "Links" page within the SAX Project site features links to numerous related areas, including an assortment of SAX2 parsers
    http://www.saxproject.org/?selected=links
  • Sun Microsystems's JAXP page gives links to downloads, documentation, and other resources
    http://java.sun.com/xml/jaxp/index.html
  • For another take on working with the SAX2 APIs, check out Robert Hustead's "Mapping XML to Java" JavaWorld series in which he describes a class library for working with SAX2: