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
Great River, New York

... are 97.8 males. The median income for a household in the town is $78,399, and the median income for a family is $89,566. Males have a median income of $60,179 versus ...

 
 
 
This page was created in 31.5 ms