JMS requirements

In order to use the WebSphere MQ Everyplace JMS programming interface, the JMS interface classes are required. These are contained typically in JMS.jar. WebSphere MQ Everyplace does not ship with jms.jar, and this must be downloaded before JMS can be used. At the time of writing, this can be freely downloaded from http://java.sun.com/products/jms/docs.html. The JMS Version 1.0.2b jar file is required.

In addition, if JMS administered objects are to be stored and retrieved using the Java Naming and Directory Interface (JNDI), the javax.naming.* classes must be available. If Java 1 is being used, for example, a 1.1.8 JRE, jndi.jar must be obtained and added to the classpath. If Java 2 is being used, a 1.2 or later JRE, the JRE might contain these classes. You can use WebSphere MQ Everyplace without JNDI, but at the cost of a small degree of provider dependence. WebSphere MQ Everyplace-specific classes must be used for the ConnectionFactory and Destination objects. You can download JNDI jar files from http://java.sun.com/products/jndi



© IBM Corporation 2002, 2003. All Rights Reserved