ONJava.com    
 Published on ONJava.com (http://www.onjava.com/)
 See this if you're having trouble printing code examples


Learning to Use Jakarta Digester

by
ONJava Newsletter for 10/25/2002

Dear Reader,

This week on ONJava.com, Philipp K. Janert, Ph.D., says that turning an XML document into a corresponding hierarchy of Java bean objects is a fairly common task. SAX and DOM APIs are too low-level, but there is a solution: Jakarta Digester. This Apache Jakarta Commons project uses a series of rules to simplify this important task. In this article, Philipp gives an overview of the Digester and its framework, including an unmarshalling example of documents and beans, along with some patterns and rules specifications and a summary of standard rules.

Also this week, Giuseppe Naccarato explains that CORBA cannot use copying to enable applications to transfer objects from the server to the client. This article explains how to simulate the pass-by-value strategy in CORBA so that a client-virtual machine can locally invoke methods implemented on a remote CORBA server. Hence, such a CORBA server will be a class provider and not, as usual, an object provider.

To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).

To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to

And to top off this week, ONJava.com hosts the second in a series of book excerpts on working with XML from "NetBeans: The Definitive Guide." In this excerpt, go beyond editing XML in the open source NetBeans framework by checking and validating XML, and generating DTDs, documents, and CSS.

Talk to you again next week,

Steve Anglin
O'Reilly Network Java Editor
sanglin@oreilly.com

This Week's Featured Articles

Learning and Using Jakarta Digester
Turning an XML document into Java bean objects is a common task, but the SAX and DOM APIs are too low-level. Jakarta Digester uses a series of rules to simplify this important task.

How to Use Local Invocation and CORBA
CORBA does not enable applications to transfer objects from the server to the client by copying. This article explains how to simulate the pass-by-value strategy in CORBA so that a client virtual machine can locally invoke methods implemented on a remote CORBA server.

NetBeans: Working with XML, Part 2
In part two of this three-part series excerpted from "NetBeans: The Definitive Guide," go beyond editing XML in your editors, within the open source NetBeans framework.

ONJava.com News and Weblogs

Apache TCK license released

How Corporations Can Support Open Source

Implementing Enterprise Web Services (JSR 109)

Clustering J2EE with Jini

Has Ken Arnold Left SUN?

Best Applet of the 2002 World Series

ColdFusion MX versus Java

Other O'Reilly Network sites

O'Reilly Network

XML.com

ONLamp.com

O'Reilly and Associates

O'Reilly Java

ONJava.com Affiliates

Servlets.com.

JDOM.org


Return to list of ONJava Newsletters.

Return to the ONJava.com.

Copyright © 2009 O'Reilly Media, Inc.