Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Books

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
Print Button
 

Bookshelf Index

Java and XML

by Brett McLaughlin

Introduction | Chapter 3, Parsing XML | Chapter 9, Web-Publishing Frameworks


Java and XML Cover

The JDC is proud to present two chapters excerpted from Java and XML, by Brett McLaughlin, published by O'Reilly and Associates.



About the Book

The first half of the book alternates between XML and Java--one chapter teaches a facet of XML, such as DTDs and XML Schema, or XSLT, and the next chapter discusses how to use that facet from Java, with SAX, DOM, JAXP, and JDOM. Extensive coverage of the major open source parsers is covered, particularly Apache Xerces and Xalan, allowing you to easily download a parser and be up and running in minutes (or hours, depending on your connection speed!).

The second half of the book takes the concepts introduced in the first half to the next level. Specific hot topics in the world of Java and XML are covered through practical examples. XML-RPC, XML for configurations, web publishing (using Apache Cocoon), creating and writing XML, and more are all looked at in detail.

About the Chapters

Chapter 3, "Parsing XML," details the parsing lifecycle and demonstrates the events that can be caught by SAX.

Chapter 9, "Web Publishing Frameworks," looks at web-publishing framework, why it matters to you, and how to choose a good one.

A Note from the Author

Throughout the book, I take a real-world view. I've put these examples into production, and this isn't a book about contrived, silly examples that won't help you in your work. I make my living by developing, and tried to pass on some of the solutions to problems I've encountered, while keeping the book relevant and interesting. The latest versions of the various APIs and specifications are covered (SAX 2.0, DOM Level 2, JAXP 1.0, JDOM 1.0, XML-RPC 1.0, XML Schema [4/00], etc.), as well. I hope you enjoy the sample chapters here, and the book when you purchase it. I look forward to hearing from you!

Coffecup Logo

Where to Get the Book

O'Reilly and Associates

Amazon

Fatbrain

and all reputable bookstores.

About the Author

Brett McLaughlin works as Enhydra strategist at Lutris Technologies and specializes in distributed systems architecture. Brett is involved in technologies such as Java servlets, Enterprise JavaBeans technology, XML, and business-to-business applications. Along with Jason Hunter, he recently founded the JDOM project, which provides a simple API for manipulating XML from Java applications. He is also an active developer on the Apache Cocoon project, EJBoss EJB server, and a co-founder of the Apache Turbine project. You can contact Brett at brett@newInstance.com.

Introduction | Chapter 3, | Chapter 9


Reader Feedback

Tell us what you think of this book excerpt.

 Very worth reading  Worth reading  Not worth reading

If you have other comments or ideas for future technical content, please type them here:

Have a question about JavaTM programming? Use Java Online Support.


Print Button
[ This page was updated: 21-Sep-2000 ]
Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary | Feedback | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2000 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.