Who Should Use This Tutorial
How to Read This Tutorial
About the Examples
How to Print This Tutorial
Typographical Conventions
The Role of XML and the Java
Platform
What Is XML?
Overview of the Java APIs for XML
JAXP
JAXB
JAX-RPC
JAXM
JAXR
Sample Scenario
Introduction to XML
XML and Related Specs: Digesting the Alphabet Soup
Designing an XML Data Structure
Setting Up
Quick Overview
Creating the Getting Started Application
Building the Getting Started Application Using Ant
Deploying the Application
Running the Getting Started Application
Using admintool
Modifying the Application
Common Problems and Their Solutions
Further Information
Web Application Life Cycle
Web Application Archives
Configuring Web Applications
Installing Web Applications
Deploying Web Applications
Listing Installed and Deployed Web Applications
Running Web Applications
Updating Web Applications
Removing Web Applications
Undeploying Web Applications
Internationalizing and Localizing Web Applications
Accessing Databases from Web Applications
Further Information
The JAXP APIs
An Overview of the Packages
The Simple API for XML (SAX) APIs
The Document Object Model (DOM) APIs
The XML Stylesheet Language for Transformation (XSLT) APIs
Compiling and Running the Programs
Where Do You Go from Here?
When to Use SAX
Writing a Simple XML File
Echoing an XML File with the SAX Parser
Adding Additional Event Handlers
Handling Errors with the Nonvalidating Parser
Substituting and Inserting Text
Creating a Document Type Definition (DTD)
DTD's Effect on the Nonvalidating Parser
Defining Attributes and Entities in the DTD
Referencing Binary Entities
Choosing your Parser Implementation
Using the Validating Parser
Defining Parameter Entities and Conditional Sections
Parsing the Parameterized DTD
Handling Lexical Events
Using the DTDHandler and EntityResolver
Further Information
When to Use DOM
Reading XML Data into a DOM
Displaying a DOM Hierarchy
Examining the Structure of a DOM
Constructing a User-Friendly JTree from a DOM
Creating and Manipulating a DOM
Using Namespaces
Validating with XML Schema
Further Information
Introducing XSLT and XPath
Choosing the Transformation Engine
How XPath Works
Writing Out a DOM as an XML File
Generating XML from an Arbitrary Data Structure
Transforming XML Data with XSLT
Transforming from the Command Line
Concatenating Transformations with a Filter Chain
Further Information
JAXB Architecture
XML Schemas
Representing XML Content
Binding XML Schemas
Customizing JAXB Bindings
What is Not Supported
JAXB APIs and Tools
General Usage Instructions
Basic Sample Applications
Customizing JAXB Bindings
A Simple Example: HelloWorld
Types Supported By JAX-RPC
A Dynamic Proxy Client Example
A Dynamic Invocation Interface (DII) Client Example
The wscompile Tool
The wsdeploy Tool
Advanced Topics for wscompile and wsdeploy
Further Information
The Structure of the JAXM API
Overview of JAXM
Running the Samples
Tutorial
Code Examples
Further Information
Overview of JAXR
Implementing a JAXR Client
Running the Client Examples
Further Information
What is a Servlet?
The Example Servlets
Servlet Life Cycle
Sharing Information
Initializing a Servlet
Writing Service Methods
Filtering Requests and Responses
Invoking Other Web Resources
Accessing the Web Context
Maintaining Client State
Finalizing a Servlet
Further Information
What Is a JSP Page?
The Example JSP Pages
The Life Cycle of a JSP Page
Initializing and Finalizing a JSP Page
Creating Static Content
Creating Dynamic Content
Including Content in a JSP Page
Transferring Control to Another Web Component
Including an Applet
JavaBeans Components in JSP Pages
Extending the JSP Language
Further Information
What Is a Custom Tag?
The Example JSP Pages
Using Tags
Defining Tags
Examples
The Example JSP Pages
Using JSTL
Expression Language Support
Core Tags
XML Tags
Internationalization Tags
SQL Tags
Further Information
Overview
Users, Groups, and Roles
Web-Tier Security
Installing and Configuring SSL Support
Security for JAX-RPC
EIS-Tier Security
Coffee Break Overview
JAX-RPC Distributor Service
JAXM Distributor Service
Coffee Break Server
Building, Installing, and Running the Application
Running admintool
Configuring Tomcat
Configuring Services
Configuring Resources
Administering Roles, Groups, and Users
Further Information
Running the Web Application Manager
Running Manager Commands Using Ant Tasks
Starting the Registry Server
Using JAXR to Access the Registry Server
Using the Command Line Client Script to Access the Registry Server
Further Information
Starting the Browser
Querying a Registry
Managing Registry Data
Deleting an Organization
Stopping the Browser
HTTP Requests
HTTP Responses
Further Information