Chapter 32. Java Message Service

Java Message Service

In Chapters 29 and 30, you learned about the first two types of Enterprise JavaBeans (EJB)—session beans and entity beans. The last type, which you have yet to see, is the message-driven bean, which is a new addition to the EJB 2.0 specification. To understand message-driven beans, you first need a solid background in the Java Message Service ( JMS), which is the topic of this chapter. The message-driven bean itself is discussed in Chapter 33, “Message-Driven Beans.” If you’ve already been working with JMS, feel free to skip this chapter.

This chapter starts by introducing you to messaging and the JMS API. This chapter ...

Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.