Sun Java Solaris Communities My SDN Account Join SDN
 
Bookshelf

Java and XML

 

Books Index


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.com

Barnes and Noble

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, Parsing XML | Chapter 9, Web-Publishing Frameworks


Reader Feedback
Excellent   Good   Fair   Poor  

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

Comments:

If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.


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