Thursday, July 15, 2010

Java and XML Date Binding












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.

Table of Content
Table of Content.............................................................................................................3
Preface............................................................................................................................5
Organization................................................................................................................6
Conventions Used in This Book.................................................................................8
Comments and Questions...........................................................................................8
Acknowledgments.......................................................................................................9
Chapter 1. Introduction.................................................................................................10
1.1 Low-Level APIs..................................................................................................10
1.2 High-Level APIs.................................................................................................13
1.3 What Is Data Binding?........................................................................................16
1.4 What You'll Need................................................................................................18
Chapter 2. Theory and Concepts...................................................................................21
2.1 Foundational APIs..............................................................................................21
2.2 Dependent APIs..................................................................................................26
2.3 Constraint-Modeled Data....................................................................................28
2.4 API Transparence................................................................................................33
Chapter 3. Generating Classes......................................................................................37
3.1 Process Flow.......................................................................................................37
3.2 Creating the Constraints......................................................................................40
3.3 Binding Schema Basics.......................................................................................46
3.4 Generating Java Source Files..............................................................................50
Chapter 4. Unmarshalling.............................................................................................55
4.1 Process Flow.......................................................................................................55
4.2 Creating the XML...............................................................................................59
4.3 Converting to Java..............................................................................................64
4.4 Using the Results................................................................................................68
Chapter 5. Marshalling..................................................................................................79

Chapter 5. Marshalling..................................................................................................79
5.1 Process Flow.......................................................................................................79
5.2 Validating Java Objects......................................................................................81
5.3 Converting to XML.............................................................................................88
5.4 Process Loops.....................................................................................................98
Chapter 6. Binding Schemas.......................................................................................101
6.1 The Basics.........................................................................................................101
6.2 Structure and Global Options............................................................................103
6.3 Elements and Attributes....................................................................................105
6.4 And More..........................................................................................................114
Chapter 7. Zeus...........................................................................................................124
7.1 Process Flow.....................................................................................................124
7.2 Installation and Setup........................................................................................126
7.3 Class Generation...............................................................................................127
7.4 Unmarshalling and Marshalling........................................................................131
7.5 Additional Features...........................................................................................139
Chapter 8. Castor........................................................................................................143
8.1 Process Flow.....................................................................................................143
8.2 Installation and Setup........................................................................................144
8.3 Class Generation...............................................................................................145
8.4 Unmarshalling and Marshalling........................................................................149
8.5 Additional Features...........................................................................................161
Chapter 9. Quick.........................................................................................................166
9.1 Process Flow.....................................................................................................166
9.2 Installation and Setup........................................................................................170
9.3 Unmarshalling and Marshalling........................................................................170
9.4 Additional Features...........................................................................................183
Chapter 10. Looking Forward.....................................................................................185
10.1 JAXB...............................................................................................................185
10.2 Alternate Implementations..............................................................................186
10.3 J2EE................................................................................................................188
Appendix A. Tools Reference.....................................................................................191
A.1 JAXB................................................................................................................191
A.2 Zeus..................................................................................................................191
A.3 Castor...............................................................................................................192
A.4 Quick................................................................................................................193
Appendix B. Quick Source Files................................................................................196
Colophon.....................................................................................................................199
4

Download
Another Web Programming books
Another Java books

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!