Synopses & Reviews
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."
Synopsis
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."
Synopsis
This title provides an in-depth technical look at XML Data Binding, offering complete documentation of all features in both the Sun Microsystems API and popular open source alternative implementations.
About the Author
Brett McLaughlin is a bestselling and award-winning non-fiction author. His books on computer programming, home theater, and analysis and design have sold in excess of 100,000 copies. He has been writing, editing, and producing technical books for nearly a decade, and is as comfortable in front of a word processor as he is behind a guitar, chasing his two sons and his daughter around the house, or laughing at reruns of Arrested Development with his wife.
Brett spends most of his time these days on cognitive theory, codifying and expanding on the learning principles that shaped the Head First series into a bestselling phenomenon. He's curious about how humans best learn, why Star Wars was so formulaic and still so successful, and is adamant that a good video game is the most effective learning paradigm we have.
Table of Contents
Preface; Organization; Conventions Used in This Book; Comments and Questions; Acknowledgments; Chapter 1: Introduction; 1.1 Low-Level APIs; 1.2 High-Level APIs; 1.3 What Is Data Binding?; 1.4 What You'll Need; Chapter 2: Theory and Concepts; 2.1 Foundational APIs; 2.2 Dependent APIs; 2.3 Constraint-Modeled Data; 2.4 API Transparence; Chapter 3: Generating Classes; 3.1 Process Flow; 3.2 Creating the Constraints; 3.3 Binding Schema Basics; 3.4 Generating Java Source Files; Chapter 4: Unmarshalling; 4.1 Process Flow; 4.2 Creating the XML; 4.3 Converting to Java; 4.4 Using the Results; Chapter 5: Marshalling; 5.1 Process Flow; 5.2 Validating Java Objects; 5.3 Converting to XML; 5.4 Process Loops; Chapter 6: Binding Schemas; 6.1 The Basics; 6.2 Structure and Global Options; 6.3 Elements and Attributes; 6.4 And More...; Chapter 7: Zeus; 7.1 Process Flow; 7.2 Installation and Setup; 7.3 Class Generation; 7.4 Unmarshalling and Marshalling; 7.5 Additional Features; Chapter 8: Castor; 8.1 Process Flow; 8.2 Installation and Setup; 8.3 Class Generation; 8.4 Unmarshalling and Marshalling; 8.5 Additional Features; Chapter 9: Quick; 9.1 Process Flow; 9.2 Installation and Setup; 9.3 Unmarshalling and Marshalling; 9.4 Additional Features; Chapter 10: Looking Forward; 10.1 JAXB; 10.2 Alternate Implementations; 10.3 J2EE; Tools Reference; JAXB; Zeus; Castor; Quick; Quick Source Files; Colophon;