Java Training
Apache and Tomcat Training

Java Training
Apache and Tomcat Training
View all of our course offerings
Place an order for courseware
Frequently Asked Questions
Contact Us

Java Message Service

A Part of the Java: Under the Hood Series

Audience: Programmers who have a good working knowledge of the Java programming language and need to learn about messaging concepts and the JMS API. 

Course Length: 1 day

Java Message Service covers the concepts of messaging, including point-to-point and publish/subscribe domains. Students learn about the architecture of the JMS API and how to develop Java applications that use messaging.

Course Outline (download pdf version)

Module 1: An Overview of JMS

    Messaging allows applications to communicate over a distributed environment that is loosely coupled. Message services exist on many different platforms, and the Java Message Service API allows for Java programs to communicate with these existing message services. Topics discussed in this module include:

  • Messaging concepts
  • Popular message service implementations
  • Point-to-point messaging
  • Publish/subscribe messaging
  • The Java Message Service API
  • J2EE and JMS
  • Installing the necessary software and documentation.

 

Module 2: Programming with the JMS API

    In this module, the architecture of JMS will be discussed, including the steps that are involved in writing JMS applications. Topics discussed include:

  • Connection factories
  • Destinations
  • Connections
  • Sessions
  • Producing a message
  • Consuming a message

 

Module 3: A JMS Application

      Now that the components of a JMS application have been introduced, this chapter steps through a JMS program to demonstrate using the JMS API, including:

  • Using JNDI to locate the connection factory and destination
  • Connecting to a destination
  • Creating a session
  • Creating a new message
  • Sending a message
  • Creating a message listener
  • Deploying and running the application

 

Module 4: Messages

      This module discusses the details of the various types of messages that can be sent using the JMS API. Topics discussed include:

  • Message headers
  • Message properties
  • Message bodies
  • The javax.jms.Message interface
  • Text messages
  • Stream messages
  • Object messages
  • Bytes messages
  • Map messages

 

Module 5: Common Message Programming Features

      This module consists of examples of common tasks used when developing messaging applications. These common tasks include:

  • Using a message selector
  • Using a durable subscription
  • Using transactions
  • Using the acknowledgement modes
  • Using the request/reply mechanism

 

Module 6: JMS Exceptions

      This chapter discusses the exceptions of the JMS API, including:

  • The javax.jms.JMSException class
  • The JMS standard exceptions

Home | Java Training | Apache Training | Courses | Courseware | FAQ | Contact Us

©2004 JLicense, Inc. All rights reserved.