Inom
Hitta mer dokumentationSupportresurser som ingår | Ladda ner denna bok i PDF (1231 KB)
PrefaceThis Message Queue Developer’s Guide for JMX Clients describes the application programming interface provided in Sun Java System Message Queue 4.1 for programmatically configuring and monitoring Message Queue resources in conformance with the Java Management Extensions (JMX). As in earlier versions of Message Queue, these functions are also available to system administrators by way of the Message Queue Administration Console and command line utilities, as described in the Message Queue Administration Guide. As of release 4.1, the API described here makes the same administrative functionality available programmatically from within a running client application. Message Queue 4.1 also includes several new broker properties and command-line options to support the new JMX API. These features are described in the Message Queue Release Notes for release 4.1, and will eventually be incorporated into the Message Queue Administration Guide. Who Should Use This BookThis guide is intended for Java application developers wishing to use the Message Queue JMX API to perform Message Queue administrative tasks programmatically from within a client application. Before You Read This BookThis guide assumes that you are already familiar with general Message Queue concepts, administrative operations, and Java client programming, as described in the following manuals:
You should also be familiar with the general principles of the Java Management Extensions, as described in the following publications:
Together, these two publications are referred to hereafter as the JMX Specification. How This Book Is OrganizedThis guide consists of the following chapters:
Related DocumentationIn addition to this guide, Sun provides the additional documentation resources described in the following subsections. Message Queue Documentation SetThe Message Queue documentation set comprises the documents shown in Table P–1, in the order in which you would normally use them. Table P–1 Message Queue Documentation Set
Java Management Extensions (JMX) DocumentationThe Message Queue JMX API conforms to the Java Management Extensions (JMX) standard, described in the Java Management Extensions Instrumentation and Agent Specification and the Java Management Extensions (JMX) Remote API Specification. These documents can be downloaded from the URLs http://jcp.org/aboutJava/communityprocess/final/jsr003 and http://jcp.org/aboutJava/communityprocess/final/jsr160 respectively. For a general conceptual introduction to JMX principles and architecture, see the Java Management Extensions (JMX) Technology Overview at http://java.sun.com/j2se/1.5.0/docs/guide/jmx/overview/JMXoverviewTOC.html and the Java Management Extensions (JMX) Technology Tutorial at http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html JavaDocMessage Queue API documentation in JavaDoc format is included in your Message Queue installation at the locations shown in Table P–2, depending on your platform. This documentation can be viewed in any HTML browser. It includes standard JMS API documentation as well as Message Queue–specific APIs for Message Queue administered objects, which are of value to developers of messaging applications. Table P–2 JavaDoc Locations
Example Client ApplicationsExample client applications providing sample Java application code using JMX are included in your Message Queue installation at the locations shown in Table P–3, depending on your platform. Table P–3 JMX Code Example Locations
Typographic ConventionsTable P–4 shows the typographic conventions used inMessage Queue documentation. Table P–4 Typographic Conventions
Symbol ConventionsTable P–5 shows symbol conventions used inMessage Queue documentation. Table P–5 Symbol Conventions
Directory Variable ConventionsMessage Queue makes use of three directory variables; how they are set varies from platform to platform. Table P–6 describes these variables and how they are used on the Solaris, Linux, and Windows platforms. Note – The information in Table P–6 applies only to the standalone installation of Message Queue. When Message Queue is installed and run as part of an Application Server installation, the values of the directory variables are set differently: IMQ_HOME is set to appServer_install_dir/imq (where appServer_install_dir is the Application Server installation directory), and IMQ_VARHOME is set to appServer_domainName_dir/imq (where appServer_domainName_dir is the domain directory for the domain starting the Message Queue broker). Table P–6 Directory Variable Conventions
Note – In this manual, these directory variables are shown without platform-specific environment variable notation or syntax (such as $IMQ_HOME on UNIX). Pathnames generally use UNIX directory separator notation (/). Shell Prompts in Command ExamplesTable P–7 shows the default UNIX® system prompt and superuser prompt for the C shell, Bourne shell, Korn shell, and Windows operating system. Table P–7 Shell Prompts
Documentation, Support, and TrainingThe Sun Web site provides information about the following additional resources: Searching Sun Product DocumentationBesides searching Sun product documentation from the docs.sun.com Web site, you can use a search engine by typing the following syntax in the search field: search-term site:docs.sun.com For example, to search for “broker,” type the following: broker site:docs.sun.com To include other Sun Web sites in your search such as java.sun.com, www.sun.com, and developers.sun.com), use sun.com in place of docs.sun.com in the search field. Third-Party Web Site ReferencesThird-party URLs referenced in this document provide additional, related information. Note – Sun is not responsible for the availability of third-party Web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials that are available on or through such sites or resources. Sun will not be responsible or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services that are available on or through such sites or resources. Sun Welcomes Your CommentsSun is always interested in improving its documentation and welcomes your comments and suggestions. To share your comments, go to the Sun documentation Web site at and click Send Comments. In the resulting online form, provide the document title and part number along with your comment. (The part number is a 7-digit or 9-digit number that can be found on the book’s title page or in the document's URL. For example, the part number of this book is 819-7758.) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||