Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.


Sign in to turn on 1-Click ordering.
More Buying Choices

Have one to sell? Sell yours here
Java & XML, 2nd Edition: Solutions to Real-World Problems
Java & XML, 2nd Edition: Solutions to Real-World Problems [ILLUSTRATED] (Paperback)
by Brett McLaughlin (Author)
(27 customer reviews)    
List Price: $44.95
Price: $44.95 & this item ships for FREE with Super Saver Shipping. Details

Availability: In Stock. Ships from and sold by Gift-wrap available.

Keep connected to what's happening in the world of books by signing up for Books Delivers, our monthly subscription e-mail newsletters. Discover new releases in your favorite categories, popular pre-orders and bestsellers, exclusive author interviews and podcasts, special sales, and more.

Better Together
Buy this book with Java and XSLT (O'Reilly Java) by Eric Burke today!
Java & XML, 2nd Edition: Solutions to Real-World Problems Java and XSLT (O'Reilly Java)
Buy Together Today: $74.11

Editorial Reviews
Book Description
While the XML "buzz" still dominates talk among Internet developers, the critical need is for information that cuts through the hype and lets Java programmers put XML to work. Java & XML shows how to use the APIs, tools, and tricks of XML to build real-world applications, with the end result that both the data and the code are portable. This second edition of Java & XML adds chapters on Advanced SAX and Advanced DOM, new chapters on SOAP and data binding, and new examples throughout. A concise chapter on XML basics introduces concepts, and the rest of the book focuses on using XML from your Java applications. Java developers who need to work with XML, or think that they will in the future--as well as developers involved in the new peer-to-peer movement, messaging, or web services--will find the new Java & XML a constant companion. This book covers:
  • The basics of XML, including DTDs, namespaces, XML Schema, XPath, and XSL
  • The SAX API, including all handlers, the SAX 2 extensions, filters, and writers
  • The DOM API, including DOM Level 2, Level 3, and the Traversal, Range, CSS, Events, and HTML modules.
  • The JDOM API, including the core, a look at XPath support, and JDOM as a JSR
  • Using web publishing frameworks like Apache Cocoon
  • Developing applications with XML-RPC
  • Using SOAP and UDDI for web services
  • Data Binding, using both DTDs and XML Schema for constraints
  • Building business-to-business applications with XML
  • Building information channels with RSS and dynamic content with XSP
Includes a quick reference on SAX 2.0, DOM Level 2, and JDOM.

Book Info
New second edition focuses entirely on using XML from Java applications. New chapters on Advanced SAX, Advanced DOM, SOAP and data binding, and new examples throughout. Softcover.

Product Details

Look Inside This Book
Browse Sample Pages:
Front Cover | Table of Contents | Excerpt | Index | Back Cover

What do customers ultimately buy after viewing this item?
49% buy the item featured on this page:
Java & XML, 2nd Edition: Solutions to Real-World Problems by Brett McLaughlin $44.95
21% buy
Java and XML by Brett McLaughlin $32.99
12% buy
Pro XML Development with Java Technology by Ajay Vohra $26.39
10% buy
Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX by Elliotte Rusty Harold $37.79
9% buy
XML in a Nutshell, Third Edition by Elliotte Rusty Harold $26.37

Help others find this item
No-one has made a Search Suggestion for this item yet. Why not be the first to suggest a search for which this item should appear?

Search Products Tagged with
Tags customers associate with this product (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to these popular tags or enter your own tags in the field below
java (1)
xml (1)

Your tags: Add your first tag

Are you the publisher or author? Learn how Amazon can help you make this book an eBook.
If you are a publisher or author and hold the digital rights to a book, you can make it available as an eBook on Learn more

Rate this item to improve your recommendations

I Own It Not Rated Your Rating
Don't Like It < > I Love It!
Save Your






Spotlight Reviews
Write an online review and share your thoughts with other customers.
Search Customer Reviews

22 of 24 people found the following review helpful:
Updated version of an excellent book, January 17, 2002
By Thomas Paul (Plainview, NY USA) - See all my reviews
The first edition of this book was considered one of the best on the subject of Java and XML. This new edition has expanded to include the developments in Java and XML over the last year. The author gives a little less handholding on the basics of XML reducing a three chapter introduction in the first edition to a one chapter summary. SAX, DOM, and JDOM all are covered in detail with each topic getting an introduction and an advanced chapter. JAXP 1.1 is covered in sufficient detail. After the introduction to the basic Java/XML APIs, the author moves on to some other interesting topics.

The chapters on web publishing frameworks and XML-RPC haven't changed much since the first edition. New chapters on SOAP, Web Services, and content syndication are welcome additions. The book ends with a look at data binding and JAXB.

The examples in the book are extremely clear and concise, explaining each topic well without being overly simplistic. As with the first edition, the author assumes that you are familiar with Java but unlike the first edition he assumes you have a basic understanding of XML.

If you are a Java developer and you are going to be working with XML then this book is required reading. The coverage of the Java/XML APIs is excellent. As for the other topics, it is a good introduction but for anyone working with SOAP or Web Services, other books will probably be required.

36 of 39 people found the following review helpful:
Good work, a real 5 star XML book, October 21, 2001
By Ozgur Aksakal (Zurich, Switzerland) - See all my reviews
The buzz is all around. XML and all derivatives are attracting everyone. There are many XML books in the market but few are satisfactory. I like the books which can offer more than tutorials on the web. This is one of those. First of all, the book is well organized and easy to follow. Learn the idea behind SAX, DOM and then JDOM. Having a good understanding of these basics, go on with three main application areas of XML:"web publishing","interoperatibility", and "data binding". This is what XML developers should do, and author follows this order very well. In fact, I remember Brett's one article where he suggested developers not to forget basics of parsing while working with higher level APIs and protocols.

If we look at the details of book... After covering the basics of parsing, Brett introduces some -very good- real world examples: Cocoon(for publishing frameworks), soap, xml-rpc, and web services for communication or interoperatibility and Castor etc. for data binding.

What is missing or not intended in this book is XML data structure design and XSLT. This is understandable since both are very detailed topics that wouldn't fit in a single book. For XSLT there are the O'reilly Java & XSLT or Wrox XSLT books and for XML-Schema... I'm just waiting for a good one.

Especially for those intermediate level XML programmers with Java knowledge.

Customer Reviews
Average Customer Review:
Write an online review and share your thoughts with other customers.

5 of 6 people found the following review helpful:
A book worth owning, July 28, 2004
The author covers some background, but mainly sticks to the business end of dealing with XML using java. The book is set out so you can read the parts that are relevant to getting a particular piece of technology working quickly.

Before reading this book I had never written an XML parser, but within a couple of days I was able to rework a parser to make it work both faster and with a smaller memory footprint by following the guidelines in this book. The details are not covered in great depth, but enough to get a job done, and make this a portabe reference.

Another book worth owning from the O'Reilly press.

3 of 6 people found the following review helpful:
Good but could be more., May 6, 2004
By Robert Simmons Jr. "kraythe" (Munich Germany) - See all my reviews
Second editions are always great. However, I find that I dont like all of the API reference in the book. I would rather look at APIs electronically and talk concepts in the book.

5 of 6 people found the following review helpful:
Good introduction, a little diffuse, March 14, 2004
By Jack D. Herrington "engineer and author" (Silicon Valley, CA) - See all my reviews
Compared with .NET and XML this book tends to wander and rat hole a little. The book covers the basics. The SAX and DOM approaches. It also covers XSLT and serving XML. It also covers advanced topics like Castor, JDOM, and web services. But most of the subjects are covered at a cursory level and do not serve as a complete introduction.

There is a small reference at the end of the book which is not as easy to read as the APIs described in the Nutshell style.

I gave this book four stars because, while it does lack focus, it is a good introduction to the XML APIs for Java. In the third release they should concentrate a little harder editing in some focus and a better reference section at the end.

10 of 14 people found the following review helpful:
No XML Security, March 31, 2003
Reviewer: A reader
This book doesn't have anything I couldn't find by just looking at samples on Sun's site.

Most of all, it's missing security like XML Signatures, and XML encryption.

See all 27 customer reviews...

Customer Discussions Beta (What's this?)
New! Receive e-mail when new posts are made. Click the "Track it!" button on any discussion page.
This product's forum (0 discussions)
Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Receive e-mail when new posts are made
(Prompts for sign-in)


Product Information from the Amapedia Community Beta (What's this?)

Great Deals on Magazines
Visit our huge selection of magazine subscriptions often to see the latest special offers and bonuses. Check out magazines like The New Yorker, Wired, and Vanity Fair.

Save with Instant Rebates in Grocery
Save today with instant rebates on your favorite brands--Lipton, Senseo, Jack Link's Jerky, and more than 30 more. Offers valid through May 31.

  More Special Offers in Grocery

GetAway Offer
Visit our Black & Decker store for GetAway promotion information.Purchase any qualifying Black & Decker product and become eligible to receive a complimentary companion airline ticket. See details in Home Improvement's Black & Decker store. Delivers: Travel
Sign-up for our monthly Travel email and have information on the latest travel deals, products and destinations delivered straight to your inbox.

  Subscribe today!


Where's My Stuff?
Shipping & Returns
Need Help?
Conditions of Use | Privacy Notice © 1996-2007,, Inc. or its affiliates