Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

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.

(Anika Kehrer)

Comments

Facebook icon

The friendly programmer Jan 12, 2009 12:17pm GMT

there you go.

sharing content

Rikki Kite Jan 07, 2009 6:32pm GMT

Thanks for the suggestion. I'll get on it!

Sharing your content?

James Pyles Jan 07, 2009 6:15pm GMT

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?

Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
FREE Live Streaming Video from ApacheCon US 2009

Watch our free Video Archive from Apachecon US 2009. Archive provided by The Apache Foundation, COLLABNET, and Linux Pro Magazine

Drawing internationally renowned thought-leaders, contributors, and organizations in the Open Source community, ApacheCon offers insight into the culture and community that develops and shepherds industry-leading Open Source projects, including Apache HTTP Server – the world's most popular Web server software for more than 10 years.

Find out more

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2010 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review] [ADMIN-Magazin]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland]
International: [Admin Magazine] [Ubuntu User] [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]