Sun ONE logo     Index      Next     
Sun ONE Message Queue, Version 3.0.1 Developer's Guide



Contents

List of Figures

List of Tables

List of Procedures

List of Code Examples

Preface

Audience for This Guide
Organization of This Guide
Conventions
Text Conventions
Directory Variable Conventions
Other Documentation Resources
The MQ Documentation Set
JavaDoc
Example Client Applications
The Java Message Service (JMS) Specification
The Java XML Messaging (JAXM) Specification
Books on JMS Programming


Chapter 1 Overview
What Is Sun ONE Message Queue?
Product Editions
Platform Edition
Enterprise Edition
MQ Messaging System Architecture
The JMS Programming Model
JMS Programming Interface
Message
Destination
ConnectionFactory
Connection
Session
Message Producer
Message Consumer
Message Listener
Administered Objects
JMS Client Setup Operations
JMS Client Design Issues
Programming Domains
JMS Provider Independence
Client Identifiers
Reliable Messaging
Acknowledgements/Transactions
Persistent Storage
Performance Trade-offs
Message Consumption: Synchronous and Asynchronous
Message Selection
Message Order and Priority
JMS/J2EE Programming: Message-driven Beans
Message-driven Beans
Application Server Support


Chapter 2 Quick Start Tutorial
Setting Up Your Environment
Setting the JAVA_HOME Variable
Setting the CLASSPATH Variable
Starting and Testing the MQ Message Server
Developing a Simple Client Application
Compiling and Running a Client Application
Example Application Code
JMS Examples
JAXM Examples


Chapter 3 Using Administered Objects
JNDI Lookup of Administered Objects
Looking Up ConnectionFactory Objects
Looking Up Destination Objects
Instantiating Administered Objects
Instantiating ConnectionFactory Objects
Instantiating Destination Objects
Starting Client Applications With Overrides


Chapter 4 Optimizing Clients
Message Production and Consumption
Message Production
Message Consumption
MQ Client Runtime Configurable Properties
Connection Specification
Auto-reconnect Behavior
Client Identification
Message Header Overrides
Reliability And Flow Control
Queue Browser Behavior
Application Server Support
JMS-defined Properties Support
Performance Issues
Managing Flow Control
Factors Affecting Performance
Impact of Flow Control Settings
Managing Threads


Chapter 5 Working With SOAP Messages
What is SOAP
SOAP and the JAVA for XML Messaging API
The Transport Layer
The SOAP Layer
The Provider Layer
The Profiles Layer
The SOAP Message
SOAP Packaging Models
SOAP Messaging in JAVA
The SOAP Message Object
Inherited Methods
Namespaces
Destination, Message Factory, and Connection Objects
Endpoint
Message Factory
Connection
Using JAXM Administered Objects
SOAP Messaging Models and Examples
SOAP Messaging Programming Models
Point-to-Point Connections
Provider Connections
Working with Attachments
Exception and Fault Handling
Writing a SOAP Client
Writing a SOAP Service
Disassembling Messages
Handling Attachments
Replying to Messages
Handling SOAP Faults
Integrating SOAP and MQ
Example 1: Deferring SOAP Processing
Example 2: Publishing SOAP Messages
Code Samples


Appendix A Administered Object Attributes
ConnectionFactory Administered Object
Destination Administered Objects
Endpoint Administered Objects

Index


Index      Next     
Copyright 2002 Sun Microsystems, Inc. All rights reserved.


Part Number 817-0355-10