Level: Introductory Willy Farrell (willyf@us.ibm.com), Senior Software Engineer, IBM
08 Jun 2004 This tutorial provides an overview of the Java Message Service (JMS) and offers the basics for developing programs that use it. JMS provides a way for Java™ programs to access an enterprise messaging system, also known as message oriented middleware (MOM). MOM provides a mechanism for integrating applications in a loosely coupled, flexible manner by providing asynchronous delivery of data between applications in an indirect way through an intermediary. Note: This tutorial has been updated to include changes in JMS version 1.1.
Prerequisites
Before taking this tutorial you should be familiar with Java programming and object-oriented programming concepts.
System requirements
To write the programs described in this tutorial, you need an editing environment. This can be as basic as an operating system editor. In a development context, many people use an integrated development environment (IDE) because it possesses debuggers and other features designed specifically for writing and testing code. To compile the programs, you'll need the Java compiler (javac.exe). You will also need the JMS classes in the package javax.jms and the Java Naming and Directory Interface (JNDI) classes in the package javax.naming. You can download these from Sun. To execute and test the programs, you will need access to a vendor implementation of JMS. Most Java 2 Enterprise Edition (J2EE) vendors provide an implementation of JMS. See your vendor documentation for setting up the JMS runtime and executing programs.
Duration
Under one hour
Formats html, pdf
|