Topics in This Chapter
Overview of the Java Message Service (JMS)
Designing Message-Driven Beans
A Publisher Client and Message Bean
Message-Driven Beans with EJBs
The previous chapters showed you how to design session and entity beans with business methods. When clients call these business methods, each caller blocks (or waits) until the method completes. Although this synchronous behavior certainly works well with many applications, it can become a problem with clients who cannot afford to wait around for lengthy business methods to complete their jobs. In situations like this, we need another way for clients to perform enterprise tasks without waiting.
The Java Message Service (JMS) allows objects ...