Encyclopedia > Java Message Service

  Article Content

Java Message Service

The Java Message Service API is a Java API for sending messages between two or more clients. The API supports two models:
  • publish/subscribe model
  • point-to-point or queuing model

The publish/subscribe model supports publishing messages to a particular message topic. Zero or more subscribers may register interest in receiving messages on a particular message topic. In this model, neither the publisher nor the subscriber know about each other.

In the point-to-point or queuing model,a producer posts messages to a particular queue and a consumer reads messages from the queue. Here the producer knows the destination of the message and posts the message directly to the consumer's queue.

See the JMS tutorial at http://java.sun.com/products/jms/tutorial/1_3-fcs/doc/overview



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Evanston

... page; that is, one that just points to other pages that might otherwise have the same name. If you followed a link here, you might want to go back and fix ...