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
242

...     Contents 242 Centuries: 2nd century - 3rd century - 4th century Decades: 190s 200s 210s 220s 230s - 240s - 250s 260s 270s 28 ...

 
 
 
This page was created in 22.9 ms