Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

user friendly

Admin Magazine

Subscribe now and save!

ADMIN - Explore the new world of system administration! Special introductory offer! Order by September 30th to save 10% off the regular subscription price! Each issue delivers technical solutions to the real-world problems you face every day. Learn the latest techniques for better:

  • network security
  • system management
  • troubleshooting
  • performance tuning
  • virtualization
  • cloud computing

on Windows, Linux, Solaris, and popular varieties of Unix.

http://www.admin-magazine.com/

  linuxpromagazine.com » Online » News » XML Fodder for Java Objects with Commons Digester 2.0  

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

XML Fodder for Java Objects with Commons Digester 2.0

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
Wherever you go...

...Linux Magazine goes with you!

Check out the advantages of a Digital Subscription:

  • Access articles by downloading PDFs,
  • find the Linux solutions you need with an easy keyword search,
  • maintain your own paperless archive...

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]