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
Wheatley Heights, New York

... 73°22'1" West (40.761998, -73.366895)1. According to the United States Census Bureau, the town has a total area of 3.5 km² (1.4 mi²). 3.5 km² (1.4 ...

 
 
 
This page was created in 38.2 ms