CELEBRATE EARTH WEEK
Save 70% on video training and simulators now through April 27*—use code EARTH. Shop now.
JAX: Java APIs for XML Kick Start covers the JAX APIs - fundamental for development of Java-based Web service applications as well as other e-Commerce applications requiring the exchange and manipulation of data. The book includes an overview of Web service fundamentals including SOAP, UDDI, and WSDL, all of which will be built upon in later examples. The book then covers the current set of JAX APIs for data processing, for messaging, for writing data to registries and for calling remote applications.
Each API is covered from an architectural and implementation perspective, using real-world examples and case studies throughout to illustrate their usefulness. The author will demonstrate both Web service and traditional JAX applications, giving a complete picture of the uses of JAX. The final chapter looks ahead to new developments and new APIs in progress at Sun.
How This Book Is Organized. Source Code and Updates.
I. JAX BASICS.1. Using XML for Electronic Data Interchange.
XML and EDI. Java and XML.2. Components of Web Services.
Web Services. SOAP. UDDI. WSDL. JAX and Web Services: The Great Car Parts Company Scenario.
II. JAXP: JAVA API FOR XML PROCESSING.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.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.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.6. XSLT and XPath.
Overview. The XSLT Packages. Using XSLT with SAX. SAX or DOM? XPath. Transforming XML. Creating the MyXSLTTransformer Application.
III. JAXM: JAVA API FOR XML MESSAGING.7. Messaging Fundamentals.
JAXM Message Exchange Categories. Interoperability with Other Messaging Applications. JAXM and SOAP Messaging Styles. JAXM Elements. The JAXM Packages.8. Creating Client Implementations.
Standalone Client Implementation. Client with Messaging Provider.
IV. JAXR AND JAX-RPC.9. Registry Fundamentals.
Existing Registries. Registry Uses. Registry Use Model. The Registry Information Model. The JAXR Specification. The JAXR Architecture. The JAXR Packages.10. JAXR Implementations.
The JWSDP Registry Server. Publishing Data to a Registry. Querying Data from a Registry. Deleting Data from Registry.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.
V. JAX IN THE REAL WORLD AND THE FUTURE.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.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.
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.Index.