| |  | Copyright |
| |  | About the Authors |
| |  | Acknowledgments |
| | |  | We Want to Hear from You! |
| |
| |  | Introduction |
| | |  | How This Book Is Organized |
| | |  | Source Code and Updates |
| |
| |  | Part I. JAX Basics |
| | |  | Chapter 1. Using XML for Electronic Data Interchange |
| | |  | XML and EDI |
| | |  | Java and XML |
| | |  | Summary |
| |
| | |  | Chapter 2. Components of Web Services |
| | |  | Web Services |
| | |  | SOAP |
| | |  | UDDI |
| | |  | WSDL |
| | |  | JAX and Web Services: The Great Car Parts Company Scenario |
| | |  | Summary |
| |
| |
| |  | Part II. JAXP: Java API for XML Processing |
| | |  | Chapter 3. Implementing Simple APIs for XML |
| | |  | The Packages in JAXP for Using SAX |
| | |  | The Key JAXP Classes and Interfaces for SAX Support |
| | |  | The JAXP and Reference Implementation JAR Files |
| | |  | Creating a SAX-Parsing Application |
| | |  | Summary |
| |
| | |  | Chapter 4. Advanced Use of SAX |
| | |  | Identifying Document and Event Locations |
| | |  | Handling Lexical Events |
| | |  | Customizing External Entity Resolution |
| | |  | Handling Namespaces |
| | |  | Generating SAX Events from a Text File |
| | |  | Summary |
| |
| | |  | Chapter 5. The Document Object Model |
| | |  | Overview |
| | |  | The DOM and the JAXP Packages |
| | |  | Creating a DOM Application |
| | |  | Accessing XML Data Using DOM |
| | |  | Managing Data Using DOM |
| | |  | Summary |
| |
| | |  | Chapter 6. XSLT and XPath |
| | |  | Overview |
| | |  | The XSLT Packages |
| | |  | Using XSLT with DOM |
| | |  | Using XSLT with SAX |
| | |  | SAX or DOM? |
| | |  | XPath |
| | |  | Transforming XML |
| | |  | Creating the MyXSLTTransformer Application |
| | |  | Summary |
| |
| |
| |  | Part III. JAXM: Java API for XML Messaging |
| | |  | Chapter 7. Messaging Fundamentals |
| | |  | JAXM Message Exchange Categories |
| | |  | Interoperability with Other Messaging Applications |
| | |  | JAXM and SOAP Messaging Styles |
| | |  | JAXM Elements |
| | |  | The JAXM Packages |
| | |  | Summary |
| |
| | |  | Chapter 8. Creating Client Implementations |
| | |  | Standalone Client Implementation |
| | |  | Client with Messaging Provider |
| | |  | Summary |
| |
| |
| |  | Part IV. JAXR and JAX-RPC |
| | |  | Chapter 9. Registry Fundamentals |
| | |  | Existing Registries |
| | |  | Registry Uses |
| | |  | Registry Use Model |
| | |  | The Registry Information Model |
| | |  | The JAXR Specification |
| | |  | The JAXR Architecture |
| | |  | The JAXR Packages |
| | |  | Summary |
| |
| | |  | Chapter 10. JAXR Implementations |
| | |  | The JWSDP Registry Server |
| | |  | Publishing Data to a Registry |
| | |  | Querying Data from a Registry |
| | |  | Deleting Data from Registry |
| | |  | Summary |
| |
| | |  | Chapter 11. Working with JAX-RPC |
| | |  | JAX-RPC Working Mechanism |
| | |  | Constituents of a JAX-RPC Server and Client |
| | |  | JAX-RPC Packages |
| | |  | The javax.xml.rpc Package |
| | |  | The xrpcc Tool |
| | |  | The Types Supported by JAX-RPC |
| | |  | The CarPartRequest Web Service |
| | |  | The CarPartRequestClient Application |
| | |  | Summary |
| |
| |
| |  | Part V. JAX in the Real World and the Future |
| | |  | Chapter 12. Case Study: Deploying a Web Service Using JAX |
| | |  | Case Study Description |
| | |  | Order of Development |
| | |  | Setting Up the JWSDP Registry Server |
| | |  | Creating Applications That Register Supplier Information to the Registry |
| | |  | Developing the Web Services |
| | |  | Summary |
| |
| | |  | Chapter 13. Looking Ahead: JAXB and Beyond |
| | |  | Java Architecture for XML Binding |
| | |  | JAXB Components |
| | |  | JDOM 1.0 |
| | |  | XML Trust Service APIs |
| | |  | XML Digital Signature APIs |
| | |  | XML Digital Encryption APIs |
| | |  | XML Transactioning API for Java (JAXTX) |
| | |  | ebXML CPP/A APIs for Java |
| | |  | Streaming API for XML (StAX) |
| | |  | Java APIs for WSDL |
| | |  | Summary |
| |
| |
| |  | Part VI. Appendixes |
| | |  | Appendix A. Installing the JAX Pack |
| | |  | Java XML Pack |
| | |  | Java Web Services Developer Pack (JWSDP) |
| | |  | JAX XML Pack or JWSDP? |
| | |  | Getting and Installing JWSDP |
| |
| | |  | Appendix B. XML: A Quick Tour |
| | |  | What Is XML? |
| | |  | A Sample XML Document |
| | |  | The XML Declaration |
| | |  | Comments |
| | |  | The Root Element |
| | |  | Processing Instructions |
| | |  | Elements |
| | |  | Attributes |
| | |  | Character References |
| | |  | Entity References |
| | |  | CDATA Section |
| | |  | Document Type Definition (DTD) |
| | |  | The Document Type Declaration |
| | |  | Declaring Elements |
| | |  | Declaring Attributes |
| |
| |
| |  | |