This article assumes that you know about Enterprise JavaBeans and their fundamentals. The system that we will build in this article will be an email queuing system. A Queue will hold the JMS messages from the client. A client will create a JMS message, and put it on the JMS Queue. Before we can talk about Message Driven Beans, we need to talk about JMS, the Java Messaging Service.
Messaging systems provide a way to exchange events and data asynchronously.
As a programmer, I can send some information to the messaging service and continue processing, without waiting for a response from the system. Messaging Domains JMS Messages Messaging Domains Message systems have several models of operation. The JMS API provides separate domains that correspond to the different models. A JMS provider may implement one or more of the domains. Both of the domains have the following concepts.