Chapter 2. Understanding message-oriented middleware and JMS


This chapter covers
  • Enterprise messaging and message-oriented middleware
  • Understanding the Java Message Service (JMS)
  • Using the JMS APIs for sending and receiving messages
  • An example of a message-driven bean


To help you better understand the ideas behind ActiveMQ, it’s important to have some background and history on enterprise messaging in general. After discussing enterprise messaging, you’ll be prepared for a brief introduction to JMS followed by some small examples of its use. The purpose of this chapter is to briefly review enterprise messaging and the JMS specification. If you’re already familiar with these topics, you can skip ahead to the next chapter.

At one time ...

Get ActiveMQ in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.