or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $0.46 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Processing XML with Javaż: A Guide to SAX, DOM, JDOM, JAXP, and TrAX [Paperback]

Elliotte Rusty Harold
4.9 out of 5 stars  See all reviews (13 customer reviews)

List Price: $64.99
Price: $36.82 & FREE Shipping. Details
You Save: $28.17 (43%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Tuesday, May 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

November 15, 2002 0201771861 978-0201771862 1
Java is the ideal language for processing XML documents. Consequently, more XML tools have been written in Java than in any other language. More open source XML tools are written in Java than in any other language. Processing XML with Java fills an immediate need for developers who are working with XML in Java. It is a comprehensive tutorial and reference to the major APIs. This book shows developers how to: save XML documents from their applications written in Java; read XML documents produced by other programs; communicate with network servers that send and receive XML data; validate documents they receive against DTDs, schemas, and business rules; and integrate XSLT into their programs.

Frequently Bought Together

Processing XML with Javaż: A Guide to SAX, DOM, JDOM, JAXP, and TrAX + Java and XML + Pro XML Development with Java Technology
Price for all three: $102.20

Buy the selected items together


Editorial Reviews

From the Back Cover

Praise for Elliotte Rusty Harold’s Processing XML with Java

“The sophistication and language are very appropriate for Java and XML application developers. You can tell by the way the author writes that he too is a developer. He delves very deeply into the topics and has really taken things apart and investigated how they work. I especially like his coverage of ‘gotchas,’ pitfalls, and limitations of the technologies.”

        —John Wegis, Web Engineer, Sun Microsystems, Inc.

“Elliotte has written an excellent book on XML that covers a lot of ground and introduces current and emerging technologies. He helps the novice programmer understand the concepts and principles of XML and related technologies, while covering the material at a level that’s deep enough for the advanced developer. With a broad coverage of XML technologies, lots of little hints, and information I haven’t seen in any other book on the topic, this work has become a valuable addition to my technical library.”

        —Robert W. Husted, Member, Technical Staff, Requisite Technology, Inc.

“The code examples are well structured and easy to follow. They provide real value for someone writing industrial-strength Java and XML applications. The time saved will repay the cost of this book a hundred times over.

“The book also contains more of the pearls of wisdom we’ve come to expect from Elliotte Rusty Harold—the kind of pointers that will save developers weeks, if not months, of time.”

        —Ron Weber, Independent Software Consultant

Written for Java programmers who want to integrate XML into their systems, this practical, comprehensive guide and reference shows how to process XML documents with the Java programming language. It leads experienced Java developers beyond the basics of XML, allowing them to design sophisticated XML applications and parse complicated documents.

Processing XML with Java™ provides a brief review of XML fundamentals, including XML syntax; DTDs, schemas, and validity; stylesheets; and the XML protocols XML-RPC, SOAP, and RSS. The core of the book comprises in-depth discussions on the key XML APIs Java programmers must use to create and manipulate XML files with Java. These include the Simple API for XML (SAX), the Document Object Model (DOM), and JDOM (a Java native API). In addition, the book covers many useful supplements to these core APIs, including XPath, XSLT, TrAX, and JAXP.

Practical in focus, Processing XML with Java™ is filled with over two hundred examples that demonstrate how to accomplish various important tasks related to file formats, data exchange, document transformation, and database integration. You will learn how to read and write XML documents with Java code, convert legacy flat files into XML documents, communicate with network servers that send and receive XML data, and much more. Readers will find detailed coverage of the following:

  • How to choose the right API for the job
  • Reading documents with SAX
  • SAX filters
  • Validation in several schema languages
  • DOM implementations for Java
  • The DOM Traversal Module
  • Output from DOM
  • Reading and writing XML documents with JDOM
  • Searching XML documents with XPath
  • Combining XSLT transforms with Java code
  • TrAX, the Transformations API for XML
  • JAXP, the Java API for XML Processing

In addition, the book includes a convenient quick reference that summarizes the major elements of all the XML APIs discussed. A related Web site, located at http://www.cafeconleche.org/books/xmljava/, contains the entire book in electronic format, as well as updates and links referenced in the book.

With thorough coverage of the key XML APIs and a practical, task-oriented approach, Processing XML with Java™ is a valuable resource for all Java programmers who need to work with XML.



About the Author

Elliotte Rusty Harold is an internationally respected writer, programmer, and educator. He is an Adjunct Professor of Computer Science at Polytechnic University in Brooklyn, where he lectures on Java and object-oriented programming. His Cafe con Leche Web site has become one of the most popular sites for information on XML. In addition, he is the author and coauthor of numerous books, the most recent of which are The XML Bible (John Wiley & Sons, 2001) and XML in a Nutshell (O'Reilly, 2002).



0201771861AB06062003

Product Details

  • Paperback: 1120 pages
  • Publisher: Addison-Wesley Professional; 1 edition (November 15, 2002)
  • Language: English
  • ISBN-10: 0201771861
  • ISBN-13: 978-0201771862
  • Product Dimensions: 7.4 x 2 x 9.2 inches
  • Shipping Weight: 3.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (13 customer reviews)
  • Amazon Best Sellers Rank: #265,398 in Books (See Top 100 in Books)

More About the Author

Elliotte is originally from New Orleans to which he returns periodically in search of a decent bowl of gumbo. However, he currently resides in Brooklyn with his wife Beth and dog Thor. He's a frequent speaker at industry conferences including Software Development, Dr. Dobb's Architecture & Design World, SD Best Practices, Extreme Markup Languages, JavaWorld, and too many user groups to count.

Customer Reviews

4.9 out of 5 stars
(13)
4.9 out of 5 stars
3 star
0
2 star
0
1 star
0
I would recommend this book to anyone who wants to learn JAVA and XML. Michael Pucciarelli  |  6 reviewers made a similar statement
If only every technical book was written this well! Thomas Paul  |  4 reviewers made a similar statement
Most Helpful Customer Reviews
30 of 31 people found the following review helpful
5.0 out of 5 stars Attractively lucid and comprehensive November 22, 2002
Format:Paperback
It used to be that to get a job as a java programmer, all you typically needed was knowledge of java itself plus some general background in computer science. But today we have a severe high tech slump, and technology has also moved on. The former has caused companies that are still hiring, and those that are picking programmers to retain, to require a broader skill set. One of these has been produced by the latter, XML. It really is shaping up that data serialisation is increasingly in XML format, if that data exists outside a database. So for professional reasons you should learn XML, if you are indeed any type of programmer. For example, Microsoft's .NET revolves around XML, and they don't use java. But it turns out that the coupling between java and XML is tight. The most advanced parsers for XML exist for java. In C++ and C#, the parsers are essentially one step/generation behind.

Given this, where do you turn to learn XML? An excellent choice is this book. A voluminous and eloquent exposition of the uses of XML. Harold covers the latest versions of the SAX and DOM parsers, explaining the relative merits. As a java programmer, you should find the idea behind SAX simple. It uses a callback, similar to that in GUIs. Simpler, in fact, because you can only have a single callback. SAX's biggest drawback is that it does not build a tree of the document. DOM addresses this. Harold explains the tradeoffs, and how you can decide which to use. Plus, he describes JDOM, which is DOM-like, but written expressly for java. You should find JDOM far more intuitive than DOM.

There is one place where I must differ with the author. He claims that this book is for the experienced java programmer who has already had some XML. I think he is being too conservative; he doesn't want to oversell this book to someone who will not benefit from it. I claim that if you are experienced, by which I mean you have a year or more in java, then you have the intellectual wherewithal to gain, even if you have never seen a stitch of XML.

Comment | 
Was this review helpful to you?
22 of 24 people found the following review helpful
5.0 out of 5 stars Recommended especially for newbies & beginners December 11, 2002
By O
Format:Paperback
Today XML landscape has became quite large. I can't even count XML related specs and protocols. Everyday a new X.. is popping up.
To understand -most- of technical XML concepts, one has to understand so many stuff: What XML is really about othen than buzz some people is making, why/how one should use schemas (DTD, W3 XML-Schema, RelaxNG...), how XML data can be processed (parsing and transformation), how XML data can/should be stored, what Web Services/SOAP is about...

It's impossible to cover all these in a single or even a few books. So it's logical that "Processing XML with Java" focuses on a single dimension of XML: "Parsing and Trasformation"

Harold splits the book into 5 logical parts according to APIs, each 2 to 5 chapters:
- XML (Introduction and Overview),
- SAX (Simple API for XML: event based relatively low level API)
- DOM (most popular, cross language API)
- JDOM (Java only DOM-like API)
- XPATH/XSLT (Stylesheet transformation)

Each chapter includes an overview of the covered API(s), detailed description of classes & interfaces as well as examples showing how and when to use them.

"Processing XML with Java" includes fair amount of code which is readable and understandable. In fact it would be crazy, trying to learn XML processing without coding, since it requires knowledge of very specific APIs, libraries, interfaces etc. whatever you name.

Overall, I recommend the book to especially those who have beginner to intermediate level exposure to XML. In such a case, you can quickly pick the pros, cons, dos, don'ts and save much time in building your XML skills. After reading this book, next step would be learning more about XML schema languages, XSLT, Web Services and the story about XML-database.

If you've already worked with XML, used SAX, DOM and XSLT in a few real life projects, then I suggest you to check the online version of the book (at cafeconleche.org) before buying. Best would be to read a couple of chapters and decide yourself, whether you like it or not.

And kudos to Elliotte Rusty Harold for publishing an online (HTML) version. It's a brave decision that I know not so many authors have made so far (who doesn't know Thinking in Java/Bruce Eckel ?).

Disclaimer: I've received a copy of "Processing XML with Java" from the publisher for reviewing purpose.

Comment | 
Was this review helpful to you?
13 of 13 people found the following review helpful
5.0 out of 5 stars XML as high art - THE classic guide on modern XML February 5, 2003
By A Customer
Format:Paperback|Amazon Verified Purchase
I bought this book with high expectations. I have read Elliott Rusty Harold's XML in a Nutshell book from O'Reilley twice. He is an exceptional technology writer. This new book brings the subject to a new level. As always, Addison-Wesley editors prove that they are the exceptional publisher of quality technical material. ...

This book is really a substantial update of the author's Java Network Programming book by O'Reilly. It takes the subject to an entirely new space. For example, want to understand SAX exception handling using JDOM processing instructions ? This is THE book. There is more information about how XML parsers really work in this book then many of the other XML texts combined. (Although the O'Reilly XML Cookbook is really good as well).

Chapter 4 on converting flat files (he uses the US Federal Budget data) to XML is priceless. Worth the cost of the book alone!

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Good book but beware of "Volume1" and "Volume2"
While the contents of the book, as well as how it's been written are well worth the money, I wanted to enter this review to warn others that there are different volumes. Read more
Published on February 24, 2009 by J. Cruz
5.0 out of 5 stars great book on xml
great book on xml, specially on different kind of parsers, their purpose, advantages and weakness.
Published on July 5, 2008 by Qixiao Ying
5.0 out of 5 stars Excellent!!!
If only every technical book was written this well! Anyone who is working with Java and XML should have a copy of this book. Read more
Published on June 26, 2004 by Thomas Paul
5.0 out of 5 stars An excellent choice
I really like reading this book. It is easy to read and understand. The author does a good job of describing the XML technologies related to JAVA. Read more
Published on August 15, 2003 by Michael Pucciarelli
5.0 out of 5 stars A huge amount of topics and API
This is definitely a valuable resource for anybody dealing with XML and Java, written by one of the best tech writers in town. Read more
Published on August 14, 2003 by Foti Massimo
5.0 out of 5 stars An excellant choice
I bought this book when it first came out. I really enjoyed reading it. The book is well written. It has a lot useful code. Read more
Published on August 6, 2003 by Michael Pucciarelli
5.0 out of 5 stars Excellent Value
This book is an excellent resource for combining these two technologies, XML and Java. The author starts with the assumption that the reader is conversant in XML and at least... Read more
Published on April 17, 2003 by C. M. Lowry
5.0 out of 5 stars Readability without compromise
I preordered the book and have enjoyed reading it. I did not expect to just read end to end, but its style and humor have kept me going. Read more
Published on December 17, 2002 by "cnew202"
5.0 out of 5 stars Excellent piece
This is a great book. One couldn't ask for more when it comes to XML and Java processing. I was following the pre-releases and was even more satisfied when saw the 'fat' final... Read more
Published on December 1, 2002 by Ivan S. Georgiev
5.0 out of 5 stars Very readable, complete, and up-to-date
I found everything in this book that is required as a Java XML developer. Very well written and contains good number of examples. Read more
Published on November 29, 2002 by Darshan Singh
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 





Look for Similar Items by Category