• Online, Self-Paced
Course Description

The Java Message Service is a Java API for sending and receiving messages. The API has variants for both Java SE and Java EE, with additional features such as JTA (XA) transactions available for Java EE. This course will cover the use of the JMS API in Java EE applications. It will cover the JMS messaging styles, how to handle messages synchronously and asynchronously, and the use of queues and topics as well as using EJBs as messaging clients. Message-driven beans (MDBs) are intended as message consumers and this course will also cover how to create and use MDBs in Java EE applications.

Learning Objectives

Java EE Applications with Messaging

  • start the course
  • define the Java Message Service (JMS) API technology
  • describe the evolution of JMS
  • describe the features of JMS applications
  • describe the point-to-point (PTP) and publish/subscribe JMS messaging styles
  • describe the features of the JMS 2.0 simplified API
  • describe the features of JMS messages and how to handle messages synchronously and asynchronously
  • describe JMS queues and topics
  • describe the capabilities and limitations of EJB components as messaging clients
  • create a JMS message queue using Glassfish
  • create a web-based JMS queue producer and consumer
  • create an asynchronous Java SE client for a queue

Practice: Using JMS

  • practice developing Java EE applications using messaging

Developing Message-driven Beans

  • describe the properties and life cycle of a message-driven bean
  • describe how to create a JMS message-driven bean
  • describe how to configure a message-driven bean
  • create a JMS topic using GlassFish
  • create a JMS message-driven bean
  • use a publish/subscribe model with multiple message-driven beans

Practice: Working with MDBs

  • practice implementing MDBs in a Java EE application

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development