Connection options
Programmable options allow WebSphere MQ Java to connect to WebSphere MQ in either of the following ways:
- As a WebSphere MQ client using Transmission Control Protocol/Internet Protocol (TCP/IP)
- In bindings mode, connecting directly to WebSphere MQ
Table 1 shows which of these connection modes can be used for each platform.
In addition, publish/subscribe applications can connect directly across TCP/IP to the IBM WebSphere MQ Event Broker program.
Table 1. Platforms and connection modes
Server platform Client Windows NT(R) yes yes Windows(R) 2000 yes yes Windows XP yes yes AIX yes yes Solaris (v2.6, v2.8, V7, or
SunOS v5.6, v5.7)
yes yes OS/400(R) yes yes HP-UX yes yes OS/390 and z/OS no yes Linux on Intel yes yes Linux on zSeries yes no Notes:
- HP-UX Java bindings support is available only for HP-UXv11 systems running the POSIX draft 10 pthreaded version of WebSphere MQ.
- On Linux on zSeries, only TCP/IP client connectivity is supported.
The following sections describe these options in more detail.
Client connection
To use WebSphere MQ Java as a WebSphere MQ client, you can install it either on the WebSphere MQ server machine, which may also contain a Web server, or on a separate machine. If you install WebSphere MQ Java on the same machine as a Web server, you can download and run WebSphere MQ client applications on machines that do not have WebSphere MQ Java installed locally.
Wherever you choose to install the client, you can run it in three different modes:
- From within any Java-enabled Web browser
- In this mode, the locations of the WebSphere MQ queue managers that can be accessed are constrained by the security restrictions of the browser that is used.
- Using an appletviewer
- To use this method, have the JDK or JRE installed on the client machine.
- As a standalone Java program or in a Webapp server
- To use this method, have the JDK or Java Runtime Environment installed on the client machine.
Bindings connection
When used in bindings mode, WebSphere MQ Java uses the Java Native Interface to call directly into the existing queue manager API, rather than communicating through a network. This provides better performance for WebSphere MQ applications than using network connections. Unlike the client mode, applications that are written using the bindings mode cannot be downloaded as applets.
To use the bindings connection, install WebSphere MQ Java on the WebSphere MQ server.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.
AIX is a trademark of the IBM Corporation in the United States, other countries, or both.