|
Jakarta Commons Online Bookshelf: Module 4 XML Parsing with Digester Vikram Goyal 2005 | 27 pages ISBN: |
|||
![]() |
$6.00 | PDF ebook | |
Table of Contents
- Module 4: XML parsing with Digester
- The Digester component
- The Digester stack
- A match made in heaven?
- Conforming to the rules!
- Resolving conflicts with namespace-aware parsing
- Rule sets: sharing your rules
- Externalizing patterns and rules: XMLRules
- Summary
- Index
DESCRIPTION
The Digester component of Jakarta Commons makes it easy to read and parse configuration files and initialize system objects. It acts as an XML to Java object mapping tool that fires rules when matching patterns in the configuration file are encountered. Even though it is a very feature rich component, its architecture is such that plugging in your own set of rules is a breeze.
To understand Digester, it is important to understand the Digester Stack. Consequently, this module starts with a description of this particular entity in clear layman terms. It then shows how Digester does it matching business, and provides examples and description of the pre-built matching rules. The rules are many, and they are divided into relevant categories based on what they do. This module then shows you how to create and apply your own rules. There are several examples of Digester best practices, including externalizing rule and pattern sets, namespace aware parsing and sharing rules.
What's Inside
- The Digester component
- The Digester stack
- A match made in heaven?
- Conforming to the rules!
- Resolving conflicts with namespace-aware parsing
- Rule sets: sharing your rules
- Externalizing patterns and rules: XMLRules
- Summary
- Index
WHAT THE READERS SAY ABOUT THIS BOOK...
"Great stuff! This is the ultimate missing manual to Jakarta Commons."
--Glen Smith, J2EE Consultant, Bytecode Pty Ltd
"...this manuscript is packed with incredibly useful information."
--Dirk Verbeeck, Jakarta Project Management Committee
"...has something for every developer. Well organized and structured."
--Robert Burrell Donkin, Apache Jakarta Commons Committer
"It is extremely well written, has outstanding examples that work, and provides excellent documentation."
--Doug Warren, Software Architect, Leading diversified financial services company
ABOUT THE AUTHOR...
Vikram Goyal, author of Beginning JSP 2.0 and Professional JSP Site Design, regularly writes how-to articles on open source projects. His series of articles on Jakarta Commons was the first such effort to make sense out of the chaotic world of Jakarta Commons. His article series is still reflected in the official main entry page of Jakarta Commons as the only online series covering these components. Vikram is a Sun Certified Programmer for the Java 2 Platform. Vikram lives in Brisbane, Australia.

