Java and XML, 3rd Edition
Solutions to Real-World Problems
Publisher: O'Reilly Media
Final Release Date: December 2006
Pages: 482

Java and XML, 3rd Edition, shows you how to cut through all the hype about XML and put it to work. It teaches you how to use the APIs, tools, and tricks of XML to build real-world applications. The result is a new approach to managing information that touches everything from configuration files to web sites.

After two chapters on XML basics, including XPath, XSL, DTDs, and XML Schema, the rest of the book focuses on using XML from your Java applications. This third edition of Java and XML covers all major Java XML processing libraries, including full coverage of the SAX, DOM, StAX, JDOM, and dom4j APIs as well as the latest version of the Java API for XML Processing (JAXP) and Java Architecture for XML Binding (JAXB). The chapters on web technology have been entirely rewritten to focus on the today's most relevant topics: syndicating content with RSS and creating Web 2.0 applications. You'll learn how to create, read, and modify RSS feeds for syndicated content and use XML to power the next generation of websites with Ajax and Adobe Flash.

Topics include:

  • The basics of XML, including DTDs, namespaces, XML Schema, XPath, and Transformations
  • The SAX API, including all handlers, filters, and writers
  • The DOM API, including DOM Level 2, Level 3, and the DOM HTML module
  • The JDOM API, including the core and a look at XPath support
  • The StAX API, including StAX factories, producing documents and XMLPull
  • Data Binding with JAXB, using the new JAXB 2.0 annotations
  • Web syndication and podcasting with RSS
  • XML on the Presentation Layer, paying attention to Ajax and Flash applications

If you are developing with Java and need to use XML, or think that you will be in the future; if you're involved in the new peer-to-peer movement, messaging, or web services; or if you're developing software for electronic commerce, Java and XML will be an indispensable companion.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyJava and XML, 3rd Edition

(based on 3 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 3 customers

Displaying reviews 1-3

Back to top

(12 of 13 customers found this review helpful)


Second edition was better.

By lunchbeast

from Anywhere USA

About Me Designer, Developer

Verified Reviewer



    • Fragmented code examples
    • Missing XML input file

    Best Uses

      Comments about oreilly Java and XML, 3rd Edition:

      I thought the second edition was fairly well written, even if it rambled a bit. That was mostly a consequence of XML still being in a state of flux, and the author made a good effort to at least mention and describe all the moving pieces.

      I recommended this book to a friend, who picked up the current (third) edition. I began to study it in more detail because of some of the questions he was asking. The third edition lacks what cohesiveness the second edition had. I agree with the one poster's comments about code fragments - it is much more difficult to keep track of where you're at if you're trying to work through the examples. The second addition displayed classes in their entirety, highlighting the new code as they went - very easy to keep track of context and overall functionality. And if you're not trying to work through the examples, then you really have no idea if the author is doing a good job of explaining/teaching or not.

      The second edition also provided an XML file to use so your results would match the book. I can't find anyplace in the third edition where an XML file is provided for input. I have no idea what you're supposed to use to try to get the results the author shows in the book. Major oversight.

      It's too bad the second edition really is too far out of date to recommend - it's a far better written book. I would look elsewhere before I'd buy the third edition.

      (4 of 9 customers found this review helpful)


      An excellent distillation

      By Brendan LeFebvre

      from Undisclosed

      Comments about oreilly Java and XML, 3rd Edition:

      I can't speak to the other commenter's difficulty with the examples as I've not really worked with them yet, but I can say for sure that the prose content has been invaluable to me in understanding both the XML landscape in general and the Java implementations in specific.

      The five stars are intended to offset the one-star temper tantrum so that casual readers of this page won't see an overall one-star rating and move on, which would be an injustice. If not for that, I would probably knock off one star for the high price. But I get the content with my Safari subscription and physical copies are readily available from used-book vendors for much less, so I'm satisfied.

      Thanks to Mr. McLaughlin & O'Reilly for this helpful resource.

      (14 of 22 customers found this review helpful)


      This book sucks big time!

      By JGF

      from Undisclosed

      Comments about oreilly Java and XML, 3rd Edition:

      The folks at O Reilley should be ashamed to put out such junk.

      It's as it this book has gone through three editions and the book refers to things that were probably in earlier editions of the book.

      The same goes for the source code.

      The book descends into a myriad of code fragments, the majority of which aren't housed in a class, so when you try and reconcile things to the book, examples are either missing or it's as if you've got a download for a completely different book.

      To top this off Brett glibly refers to to an email address for OReilly for questions.

      I've posted countless ones to him and the folks at O'Reilly and sent in fixes to buggy code.

      Not once has either party responded or acknowledged this fact.

      I'm so disgusted with the whole process I vow to never buy another book from O'Reilley ever.

      There couldn't give a toss mentality sucks as does this book.

      Displaying reviews 1-3

      Back to top

      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook:  $39.99
      Formats:  DAISY, ePub, Mobi, PDF
      Print & Ebook:  $54.99
      Print:  $49.99