Apr 9, 2008

Java XML APIs for XML Kick Start

Introduction Java XML Api Tutorial for XML Kick Start Is Organized?

Each of this book's parts are described using simple and easy-to-follow sample applications.

The first part covers the basics you'll need to learn before you can start using JAX. These include understanding the constituent components of the Web service architecture: SOAP, UDDI, and WSDL. Also covered in this part is an overview of the specific APIs.

The second part describes the Java APIs for XML Processing (JAXP), covering the SAX, DOM, and XSLT specifications. The XML processing specifications enable an application to parse an XML document in different ways.

The third part describes the Java APIs for XML Messaging (JAXM). These APIs make it possible for applications to programmatically create and send SOAP messages.

The fourth part covers the Java APIs for XML Registries (JAXR) and Remote Procedure Calls (JAX-RPC). These APIs provide the necessary mechanism for applications to connect to UDDI-based registries and submit, manage, and query data. JAX-RPC enables applications to perform remote procedure calls over the Internet.

The fifth part describes a case study that shows how the components of JAX work together to create a successful Web service. This part also has brief descriptions of the Java Architecture for XML Binding (JAXB) and upcoming APIs that will provide even more flexibility in developing XML-based applications using Java.

Finally, there are two appendixes: The first appendix describes how to download and install JAX, and the second provides a quick overview of XML.


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

Download This Books

0 comments: