Chapter 12. Enterprise Messaging with JMS
by Paul J. Perrone
IN THIS CHAPTER
NOTE
This chapter is adapted from Sams Publishing's J2EE Developer's Handbook (ISBN 0-672-32348-6).
Passing messages between applications in a distributed system is a very common service for an enterprise information system. In an abstract sense, this is precisely what happens when you make a distributed object call using communication models such as CORBA, RMI, and Web Services using JAX-RPC. Messaging services can be distinguished from these remote procedure–oriented communication models by the added layer of abstraction that is provided above a communications paradigm to uncouple the connection between distributed message sender and receiver. Rather, an intermediate service exists between a message producer and a message consumer that handles the delivery of messages. Furthermore, producers do not block on messages they deliver. Instead, messages are sent asynchronously by the producer. This chapter describes the core concepts behind messaging services, the standard means for tapping into such services within Java and J2EE via the Java Message Service (JMS), and how such applications can be built using BEA WebLogic Server 8.1 as a messaging service provider as well as messaging client platform.
|