Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

"Java and XML Data Binding" - release announcement - O'Reilly

"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For Immediate Release June 21, 2002
For more information, a review copy, cover art, or an interview with the author, contact:
Kathryn Barrett (707) 827-7094 or


Sebastopol, CA--"Yes, it's yet another Java and XML API," says Brett
McLaughlin, author of "Java and XML Data Binding" (O'Reilly, US
$34.95). Thousands of programmers have already thrown up their hands
trying to track existing APIs--SAX, DOM, JDOM, dom4j, and the rest.
What, then, will persuade them to take up yet another? And why, as McLaughlin claims, has XML data binding taken the XML world by storm?

Data binding starts with the assumption that your priority is business-driven, not XML-driven. Instead of elements and attributes, you want to work with people, names, addresses, and phone numbers. In short, it converts XML documents into Java objects, so those documents can be worked on and manipulated like any other Java object, then
converts them back to XML. "The reason why XML data binding is important, and so remarkably different from other approaches, is because it gets you from XML to business data with no stops in between," McLaughlin explains. "You don't have to deal with angle brackets, entity references, or namespaces. A data binding framework converts from XML to data, without your messing around under the hood.
For most developers who try to get into XML without spending months doing it, data binding is just the answer you are looking for."

McLaughlin's new book covers data binding from front to back, sharing the ins and outs of what may turn out to be the API that makes XML accessible to even the newest programmers. "Java and XML Data Binding" explains what data binding is, and then covers all the popular data binding toolkits: Sun's JAXB API, and three open source alternatives, Zeus, Castor, and Quick. Along the way, the book offers practical information on how to use data binding effectively, what pitfalls to
avoid, where to bend the rules, and how to make the various packages do what you want them to do.

"Too many books are written about technologies by people who barely understand them," says McLaughlin. "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 binding 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."

"Java and XML Data Binding" was written for Java Developers who work with XML, but may not necessarily be XML experts. If you want to use
XML effectively without spending months trying to grasp entity references and ignorable whitespace, this book will provide the right
balance of concept, examples, and practice to help you quickly become productive.

Additional resources:

"Java and XML Data Binding" is also available on Safari Books Online, see:

An article by the author, "Why Data Binding Matters," may be read at:

Chapter 3, "Generating Classes," is available free online at:

For more information about the book, including Table of Contents,
index, author bio, and samples, see:

For a cover graphic in jpeg format, go to:

Java and XML Data Binding
By Brett McLaughlin
ISBN 0-596-00278-5, 200 pages, $34.95 (US), $54.95 (CAN)
You ridiculous clown, did you think you could get away with it? This is my favorite tiny ad!
SKIP - a book about connecting industrious people with elderly land owners
    Bookmark Topic Watch Topic
  • New Topic