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
Quackery

... giving any treatment. Mistakes made by doctors are also reported extensively by the media. The regulatory committees of medical doctors, are doctors themselves. Quackery ...

 
 
 
This page was created in 118.6 ms