BUY THIS BOOK
Add to Cart

Print Book $34.95


Safari Books Online

What is this?

Add to UK Cart

Print Book £24.95

What is this?

Looking to Reprint this content?

Java & XML Data Binding

By Brett McLaughlin
May 2002
Pages: 214
ISBN 10: 0-596-00278-5 | ISBN 13: 9780596002787
starstarstarstarstar (Average of 3 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

This new title provides an in-depth technical look at XML Data Binding. The book offers complete documentation of all features in both the Sun Microsystems JAXB API and popular open source alternative implementations (Enhydra Zeus, Exolabs Castor and Quick). It also gets into significant detail about when data binding is appropriate to use, and provides numerous practical examples of using data binding in applications.
Full Description

More Java developers today want to work with XML, the technology that enables data to be transported intact over the Internet, but they don't have time to become XML experts. If this describes you, then you'll appreciate data binding, the new way of converting XML documents into Java objects, so those documents can be worked on and manipulated like any other Java object, then converted back to XML

This new title provides an in-depth technical look at XML Data Binding. The book offers complete documentation of all features in both the Sun Microsystems JAXB API and popular open source alternative implementations (Enhydra Zeus, Exolabs Castor and Quick). It also gets into significant detail about when data binding is appropriate to use, and provides numerous practical examples of using data binding in applications.

As Author Brett McLaughlin says "Too many books are written about technologies by people who barely understand them. I've already written two data binding implementations (Zeus, and a previous one for IBM DeveloperWorks.) I've actually used data binding for longer than the official specification has been in existence, and I've really been able to dig into what it takes to code an effective data biding implementation, as well as use one correctly. This book is part user guide, part under-the-hood manual, and part use-case. It's a powerful combination, and one I think people need."

Post-purchase benefits:

Register your book | Submit Errata | Examples


Browse within this book

Cover | Table of Contents | Index | Sample Chapter | Colophon

Book details

First Edition: May 2002
ISBN: 0-596-00278-5
Pages: 214
Average Customer Reviews: starstarstarstarstar (Based on 3 Reviews)


Featured customer reviews

Write a Review


another question,  June 01 2004
Rating: StarStarStarStarStar
Submitted by garnettfans   [Respond | View]

The new JAXB version do support 'DTD' as it support Schema ,I have another question :when I want to insert a new record into the XML file (movies.xml), must I first UNMARSHAL the file, and add the corresponding object (Movie) to the generated Movies's movie list, then MARSHAL it?
I think it looks not so beatiful when the Movies has a large number of movies!


Java & XML Data Binding Review,  July 21 2003
Rating: StarStarStarStarStar
Submitted by Surendra   [Respond | View]

The book was a really good reading.

BUT, when I started to work on JAXB, it was totally diffrent!

They have dropped the support for DTD and taken Schema support.

Which is just the opposite - what the book says.

SO PLEASE DON'T BUY THIS BOOK NOW !

WAIT TILL THE FIRST SIX CHAPTERS ARE UPDATED TO REFLECT CHANGES IN JAXB.

a disappointed reader

Surendra


Java & XML Data Binding Review,  May 27 2003
Rating: StarStarStarStarStar
Submitted by Martijn de Bruijn   [Respond | View]

The book describes the JAXB api based on an early access version. The definitive version is completely different form the early access version, making this book alomst useless.



Read all reviews


Media reviews

"If you're looking for a good book on Java and XML binding, check out 'Java & XML Data Binding' by Brent McLaughlin (O'Reilly). It has useful insights on JAXB, Castor, and other alternatives for generating Java objects from XML."
--Ajit Sager, Java Developers Journal, Feb 2003

"Brett McLaughlin has been writing Java books for a while and he has a good, clear way of writing that makes very clear the potential pitfalls in a subject that is critical to the future of Java/XML. Data binding was another buzz word to me until I picked up this book and took a good read and was converted to a simpler, cleaner approach to XML...this book is a good choice for the developer who has a need for XML but really doesn't want to write reams of Java/DOM code that all looks almost identical. XML binding is a very cool new technology and 'Java & XML Data Binding' gives a solid introduction without going into needless detail. Good for those in need of a quick implementation guide with some solid reviews of existing frameworks."
--GameJug, Feb 2003

"Welcome to Data Binding. Not sure where to go? Just pick up 'Java & XML Data Binding' by Brett McLaughlin. He'll show you where to go. Not that it's too difficult to find your way, as using Data Binding is easy. But Brett not only makes it easier, he also demonstrates the best practices, the package limitations, and how-to's on the other packages that either pre-date JAXB or extend it, past its limitations...found the book to be a very easy read. There is lots of code for you to practice with. Brett's explanations are easily understood, and he throws in some good humor to keep this book light. I guess the final question of whether to buy the book comes down to whether you need Data Binding in your applications. If the answer is 'You bet your boots I do,' I highly recommend you buy this book."
--Mark Spritzler, JavaRanch June 2002

Hide extended reviews


See larger cover