What Is the JMS API?

Answer Posted / munnu

The Java Message Service is a Java API that allows applications to create, send, receive, and read messages. Designed by Sun and several partner companies, the JMS API defines a common set of interfaces and associated semantics that allow programs written in the Java programming language to communicate with other messaging implementations.

The JMS API minimizes the set of concepts a programmer must learn to use messaging products but provides enough features to support sophisticated messaging applications. It also strives to maximize the portability of JMS applications across JMS providers in the same messaging domain.

The JMS API enables communication that is not only loosely coupled but also

* Asynchronous. A JMS provider can deliver messages to a client as they arrive; a client does not have to request messages in order to receive them.

* Reliable. The JMS API can ensure that a message is delivered once and only once. Lower levels of reliability are available for applications that can afford to miss messages or to receive duplicate messages.

The JMS Specification was first published in August 1998. The latest version of the JMS Specification is Version 1.1, which was released in April 2002. You can download a copy of the Specification from the JMS Web site, http://java.sun.com/products/jms/.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asynchronous messaging in jms?

467


What is the difference between jms and mq?

482


What is jms publisher?

453


What is a messaging service?

492


How do I use a third-party jdbc driver with jms?

483






What is the use of connection factory in jms?

456


What is the functionality of the oracle glassfish server? What added advantage it has on top of apache tomcat server?

449


Which types of jdbc databases does weblogic jms support?

445


What is the advantage of persistent message delivery compared to nonpersistent delivery?

450


How to consume message from jms queue in soa 12c?

445


Does weblogic jms support clustering?

485


How to handle the exception caused by jms?

483


How to write junit test cases for jms?

687


What is the functionality of a message listener in the context of jms?

473


Is rabbitmq jms compliant?

467