magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1999 > 06 > Features



XML Development in Java

It's All in the Beans

By Maneesh Sahu

Java is witnessing an increased integration with XML in enterprise application development. XML data is being processed within Java programs to produce data stores, messaging mechanisms, and complex views. (Refer to the online article "XML, Java, and the Future of the Web" by Jon Bosak at XML.com.)

When processing XML in Java, there's a set of tasks that is common to any application. First, we'll look at building an XML application from scratch to see what's required to process XML documents in a Java program. Then we'll use a set of functions that is available as XML JavaBeans. In fact, XML JavaBeans not only make it easier for programmers to write applications, they also make it possible for nonprogrammers to assemble nontrivial XML applications. (See the box titled " Extending the Benefits of XML JavaBeans.")

Our sample application is a simple bookmark viewer. We'll be using IBM's XML4J parser as well as a set of XML JavaBeans developed by IBM. However, other parsers can be used and, indeed, knowledgeable Java programmers can write their own XML JavaBeans.

Developing XML Applications

Regardless of the development environment, there are three steps to writing an XML application.<>




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2