The Java Message Service Rev. 1.2

Java Training Overview

This course introduces Java developers to asynchronous messaging using the Java Message Service, or JMS. Both the point-to-point and publish-and-subscribe messaging styles are covered, but there is an emphasis on the more popular point-to-point approach using message queues. The course moves quickly from JMS fundamentals -- connections, sessions, queues, topics, etc. -- to intermediate techniques such as message properties and selectors. By the end of the day, students will understand JMS reliability and be able to make intelligent architectural choices between delivery modes, acknowledgement modes, and transacted sessions.

This version of the course is designed to work with the Java EE 5 SDK, Update 7, which includes the GlassFish application server, version 2.1. Variants of the course are also available with specific support for recent versions of JBoss and WebLogic

Java Training Prerequisites

  • Solid Java programming experience is required -- consider "Java Programming" course or its equivalent a firm prerequisite.
  • An understanding of Java web applications will be helpful, but is not required.
Java Training Learning Objectives

After completing this course, the student should be able to:

  • Use JMS queues to manage message transmission between a single producer and a single consumer.
  • Use JMS topics to allow for broadcasting of messages in real time.
  • Use various JMS message types, including text, object, and map-based messages.
  • Set message headers and use properties to define additional information about messages.
  • Use message selectors to filter messages in consumption.
  • Trigger redelivery of messages using various acknowledgement modes and techniques.
  • Use JMS transactions to assure that message receipts and sends are grouped into atomic units of execution.
Java Training Course duration

1 Day(s)

Java Training Course outline

1 . Fundamentals
  • Asynchronous Messaging
  • The Java Message Service
  • Point-to-Point Messaging
  • Publish-and-Subscribe Messaging
  • JNDI
  • Connections and Sessions
  • Working with Queues
  • Working with Topics
  • GlassFish JMS Administration
  • Expiration
2 . Message Content
  • Message Types
  • Header Fields
  • Properties
  • Message Selectors
3 . Reliability
  • Message Persistence
  • JMS from Web Applications
  • The Component Environment
  • Acknowledgement and Redelivery
  • Acknowledgement Modes
  • Session Recovery
  • Transactions
  • What JMS Transactions Are and Aren't
  • Transaction Pitfalls
  • Batch Processing
  • Priority
  • JMS and EJB: Message-Driven Beans
  • JMS and Web Services: SOAP Messaging
Appendix A.  Learning Resources


System Requirements

Minimum Hardware Requirements

  • 1 GHz, 512 meg RAM, 500 meg disk space
Minimum Software Requirements

  • All free downloadable tools.
Hardware – recommended

  • 2 GHz, 1 gig RAM, 1 gig disk space
Operating system

  • Tested on Windows XP Professional. Course software should be viable on all systems which support the Java EE 5.0 SDK.


Wintrac Inc.
16523 SW McGwire Ct.
Beaverton OR 97007
© Wintrac, Inc. All rights reserved.                                                                               Site Map   |   Terms of Use   |   Privacy Policy