XML Fodder for Java Objects with Commons Digester 2.0

Jan 07, 2009

The Apache Project announced the latest version of Commons Digester, which comes with less dependency and can validate XML code. Programmers use Digester to convert data from XML into Java objects.

According to the announcement, the minimum JDK requirement is now JDK 1.5. Also, the Digester project has removed its dependency on Arraystack, which means that some classes of "org.apache.commons.digester" have been changed from "Arraystack" to "java.util.Stack". Other important changes include Digester 2.0's XML validation via "javaxf.xml.validation.Schema" and the new support of commands for other XML or text documents through the W3 specification XInclude.

Digester processes XML input, creates via SAX parser interface (Simple API for XML), for example, Java object trees from XML configurations. Conversion rules are provided to the programmer either from their own Java code or from a XML configuration file, the "xmlrules". The Apache project describes the software as relatively complex, but also as flexible and powerful. A compressed TAR archive or zip file of Version 2.0 is available on the Apache project commons server for download.

Release notes specify the J2SE Developer Kit (JDK) version 1.5 as a minimum requirement, the equivalent of the official Java platform 5. Version 1.0.0 of the logging tool and the bean utils API wrapper 1.7.0 are also required. Both are, like the Digester, part of the commons department of the Apache project. The Apache Commons aim to make a wide range of programming components for Java available for use in as many projects as possible. As with all Apache software, Digester is protected by the Apache license.

Related content

  • Ivy 2.0 Manages Dependencies in Java Projects

    Apache Ivy version 2.0, a dependency manager that works together with the Apache Ant Java build system, is the first major release in two years.

  • Apache's Ongoing Licensing Bout with Sun

    The recently updated Java Specification Requests (JSRs) show that the licensing battle between the Apache Software Foundation and Sun Microsystems (the force behind Java) still hasn't ended after raging for seven years.

  • Liferay CMS

    Liferay is a powerful and easily customizable CMS that is ideal for community collaboration – once you get it configured.

  • Inside Apache

    Apache incubates hundreds of major software projects and brings together thousands of developers – all without ensuing chaos. How do they manage it?

  • Web Authentication

    Apache offers several options for adding a password-protected area to a website.


  • Facebook icon

    there you go.
  • sharing content

    Thanks for the suggestion. I'll get on it!
  • Sharing your content?

    I'm following you on twitter, which is just dandy, but one thing I'd like to do with some of your articles is share them at Facebook. Some news sites offer that option but your site apparently doesn't. Any chance of adding that feature in the near future?
comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More