or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
54 used & new from $2.87

Have one to sell? Sell yours here
 
   
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
Java & XML
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Java & XML (Paperback)

~ Brett McLaughlin (Author), (Author)
Key Phrases: character data, content syndication, tree viewer, Dublin Core, Apache Xerces, Ajax Hacks (more...)
3.2 out of 5 stars  See all reviews (12 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
33 new from $24.95 21 used from $2.87
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Learning Java and get Java & XML at an additional 5% off Amazon.com's everyday low price.

Learning Java + Java & XML
Buy Together Today: $59.59

Show availability and shipping details

  • Learning Java

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • This item: Java & XML

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Learning Java

Learning Java

by Patrick Niemeyer
3.7 out of 5 stars (66)  $29.67
Java Web Services: Up and Running

Java Web Services: Up and Running

by Martin Kalin
4.5 out of 5 stars (13)  $23.09
Processing XML with Java(TM): A Guide to SAX, DOM, JDOM, JAXP, and TrAX

Processing XML with Java(TM): A Guide to SAX, DOM, JDOM, JAXP, and TrAX

by Elliotte Rusty Harold
4.9 out of 5 stars (13)  $43.86
Pro XML Development with Java Technology

Pro XML Development with Java Technology

by Ajay Vohra
3.9 out of 5 stars (9)  $35.99
Java Network Programming, Third Edition

Java Network Programming, Third Edition

by Elliote Rusty Harold
3.8 out of 5 stars (35)  $26.37
Explore similar items

Editorial Reviews

Product Description

"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'reinvolved 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.



About the Author

McLaughlin has been working in computers since the Logo days. He currently specializes in building application infrastructure using Java and Java-related technologies.

Product Details

  • Paperback: 465 pages
  • Publisher: O'Reilly Media; 3rd edition (December 1, 2006)
  • Language: English
  • ISBN-10: 059610149X
  • ISBN-13: 978-0596101497
  • Product Dimensions: 9.1 x 6.9 x 1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon.com Sales Rank: #310,699 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #50 in  Books > Computers & Internet > Programming > Languages & Tools > XML

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Inside This Book (learn more)

Citations (learn more)
1 book cites this book:

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(5)
(5)
(4)
(2)
(2)
(1)
(1)
(1)

Your tags: Add your first tag
 

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

 

Customer Reviews

12 Reviews
5 star:
 (1)
4 star:
 (7)
3 star:    (0)
2 star:
 (1)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
3.2 out of 5 stars (12 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
6 of 8 people found the following review helpful:
4.0 out of 5 stars A good 3rd edition, but some experience is still required, January 11, 2007
By calvinnme "Texan refugee" (Fredericksburg, Va) - See all my reviews
(TOP 10 REVIEWER)      
Two APIs discussed in the second edition - JDOM and JAXB - saw important changes between the prerelease versions and their eventual final releases. These changes are covered in this latest edition. This book is organized into three sections. The first section, composed of Chapters 1 and 2, is a basic introduction to XML and related standards. However, the introduction is fast-paced, and if you have not seen XML before it probably won't be enough. The second part of the book - Chapters 3 through 11 - explains a wide variety of APIs for creating, manipulating, outputting, and pretty much doing anything else to XML documents. If you already know XML and Java, these chapters are excellent. If not, again, you are going to have difficulty as the material is fast paced. The last section - Chapters 12 and 13 - describes two important applications for XML. Chapter 14 stands alone as a chapter of predictions about the future of XML. The following is a description of the book in the context of the table of contents:

Chapter 1, Introduction, begins with the basics of XML. If you've never used XML before, this chapter will give you all the information you need to understand the rest of the book. It briefly touches on the changes between XML 1.0 and 1.1 before introducing XSLT and XPath.

Chapter 2, Constraints, covers three ways of defining the structure of XML documents: DTDs, W3C XML Schemas, and RELAX NG schemas. It covers how to use these standards to define a structure and how to ensure that a document matches that definition. It also covers how to convert between the various constraint document types.

Chapter 3, SAX, the Simple API for XML (SAX) is introduced in this chapter. The parsing lifecycle is explained, and the events that can be caught by SAX and used by developers are demonstrated via code examples.

Chapter 4, Advanced SAX, covers less-used but still powerful items in SAX. You'll learn how to use SAX features and properties to alter the behavior of the SAX parser, use XML filters to chain callback behavior, use XML writers to output XML with SAX, and look at some of the less commonly used SAX handlers like LexicalHandler and DeclHandler.

Chapter 5, DOM, unlike SAX has its origins in the World Wide Web Consortium. Whereas SAX is public domain software, DOM is a standard just like the actual XML specification. The DOM is designed to represent the content and model of XML documents across all programming languages and tools. In this chapter you learn DOM basics, find out what is in the current specification (DOM Level 3), and how to read and write DOM trees.

Chapter 6, DOM Modules, is about the various Level 2 and Level 3 DOM modules like Traversal, Range, Events, Style, HTML, Load and Save, and Validation.

Chapter 7, JAXP, examines the Java API for XML Processing (JAXP), including the XPath and Validation APIs introduced with JAXP 1.3. JAXP was initially a very small API that handled only parsing. The latest version of JAXP provides everything in SAX and DOM, plus some extras, and JAXP makes vendor neutrality much easier than using DOM or SAX directly.

Chapter 8, Pull Parsing With StAX, concerns The Streaming API for XML (StAX), which is the newest standard Java XML API. You'll learn how to use StAX and how it compares to both SAX and DOM. There is also a brief look at a precursor to StAX named XMLPull, which is still in use.

Chapter 9, JDOM, examines a Java-specific object model API. JDOM provides a means of accessing an XML document within Java through a tree structure, and in that respect is somewhat similar to the DOM.

Chapter 10, dom4j, examines another Java-specific object model API, dom4j. This chapter compares it to both JDOM and DOM. Also examined are features unique to dom4j, like its object-orientated transformation API.

Chapter 11, Data Binding with JAXB, talks about how with data binding, your application code does not concern itself with the details of XML documents, only a Java object model. Sun has developed a standard for XML data binding: the Java Architecture for XML Binding (JAXB). In this chapter, you'll learn about JAXB 1.0 and 2.0, as well as the general basics of data binding and when its use is appropriate.

Chapter 12, Content Syndication with RSS, covers using XML documents to syndicate content. Specifically, the RSS standards are examined along with a brief discussion of Atom. The creation and reading of RSS feeds using other APIs are discussed as well as an RSS-specific API named ROME. A highlight is the creation of your own podcast feed for submission to Apple's iTunes Podcast directory using this tool.

Chapter 13, XML As Presentation, looks at a variety of techniques for using XML in visual portion of web applications. The chapter shows how XML is a key component of the dynamic web application techniques that are becoming more common.

Chapter 14, Looking Forward, provides some brief overviews of several XML technologies. Included topics are XML appliances, XQuery, and Fast Infoset.

Appendix, SAX Features and Properties, details the features and properties available to SAX 2.0 parser implementations.

A good companion to this book is "Processing XML with Java(TM): A Guide to SAX, DOM, JDOM, JAXP, and TrAX" by Elliot Rusty Harold. The book is a little older, so standards have changed, but it does a good job of explaining things at a slower pace than this book. This book is better for the newer standards and applications. If you are working with XML and Java, you should probably have both books.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
4.0 out of 5 stars Best book on working directly with XML in Java, April 21, 2009
By El Capitan "tech geek who cooks" (Prattville, AL United States) - See all my reviews
This is probably the best book currently out about working directly with XML and Java. It seems to be the most up to date with respect to coverage of the most commonly used Java XML APIs. The book gives a good overview of SAX, StAX, DOM, JDOM, dom4j, and JAXB. In reading the book, I got a good sense of the ideas behind the different API's. I also got a good sense of and when and how to use them. After looking through many other Java-XML books, this one is my first choice. The book still functions well for me as a reference when I have an XML processing task that I need to do in Java.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
4.0 out of 5 stars Good for early XML w/ Java info, February 3, 2009
By E. Evans (Seattle, WA) - See all my reviews
(REAL NAME)   
I'm not using the technology in this book right now, and just wanted an overview of Java and XML together. I never expected this book to be super-in-depth, if it was covering this broad space in a book that isn't huge.

The good points: I found the book fairly easy to read for at least the first third of the book. The rest seemed a bit dry, but I think that is largely because I was getting out of my depth. Once I'd worked with the early material some, I think the later material would have been more readable.

I got the information I was looking for, which was an overview of XML and how it connects to other tools in real life. The book also had lots of ideas for further reading. Handy.

The bad points: The author seems to have a blatant open-source bias. While that isn't shocking in a Java book, it does come across as a bit unprofessional, is somewhat little minded, and is distracting from the key subject matter.

Also, while this was a good overview, I was left feeling that more could have been said about XML, Java, web services, and working with client-server architectures. Another reviewer mentioned that these chapters were dropped from a previous edition. I will probably be looking for that previous edition to see if I like it better.

Of several XML books I've looked through, this is the only one so far I would consider buying. However, I will also be considering getting a more in-depth book for my bookshelf after checking this one out of the library for an introduction to the subject.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

4.0 out of 5 stars OK, and better than the rest
While I have never much liked this book, I have found this better than the others I have and the book I turn to most. Read more
Published 2 months ago by Marten K

2.0 out of 5 stars Poor packing resulted in damage
Although the seller's description of the book as being in good shape was surely truthful, their use of an envelope, rather than a more rigid shipping container resulted in the... Read more
Published 9 months ago by Jay Burrill

4.0 out of 5 stars Un approccio pratico a JAVA+XML
Ho trovato questo libro molto interessante.

Copre le varie API disponibili per JAVA per gestire file XML: SAX, DOM, JAXP, StAX, JDOM, dom4j. Read more
Published 21 months ago by Ryuujin

1.0 out of 5 stars Reads like a Dictionary
I'm almost finished with this book, but have yet to determine what its purpose is. There is a lot of code about a lot of APIs, but it is not clear how one should approach Java &... Read more
Published 23 months ago by MikeMSCEPE

4.0 out of 5 stars Good, Informative, current
This edition was published in Dec. 2006, so when I bought it Jul. 2007 it was the freshest book on the topic that I found. Read more
Published on August 22, 2007 by Eric Dimick Eastman

5.0 out of 5 stars VERY VERY HIGHLY RECOMMENDED!!
Are you developing with Java and need to use XML? If you are, then this book is for you. Authors Brett McLaughlin and Justin Edelson, have done an outstanding job of writing a... Read more
Published on July 11, 2007 by John R. Vacca

1.0 out of 5 stars No longer useful
This book was probably useful back in 2000. Unfortunately, a lot has changed since then, and some of the information in this book is now flat our wrong. Read more
Published on July 4, 2007 by Odysseus Levy

1.0 out of 5 stars What Happen? Were are the missing chapters? Were are the missing pages?
I had purchased the 2nd edition a few years back and I felt it was a great XML book for the times. This year I'm starting to use SOAP and other XML web services so I purchased... Read more
Published on June 16, 2007 by C. Anderson

4.0 out of 5 stars Solid material for the Java developer working with XML...
[Review of 3rd Edition]

Being able to work effectively with XML is getting to be nearly a requirement for a Java developer. Read more
Published on February 3, 2007 by Thomas Duff

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.