Set - 1

Question 6 :

What are the advantages of JMS?

Answer :

One of the principal advantages of JMS messaging is that it's asynchronous. Thus not all the pieces need to be up all the time for the application to function as a whole.

Question 7 :

What is the publish-and-subscribe model in JMS?

Answer :

A publish-subscribe model is based on the message topic concept: Publishers send messages in a topic, and all subscribers of the given topic receive these messages.

Question 8 :

What is JMS administered object?

Answer :

A preconfigured JMS object (a resource manager connection factory or a destination) created by an administrator for the use of JMS clients and placed in a JNDI namespace

Question 9 :

What is publish/subscribe messaging?

Answer :

With publish/subscribe message passing the sending application/client establishes a named topic in the JMS broker/server and publishes messages to this queue. The receiving clients register (specifically, subscribe) via the broker to messages by topic; every subscriber to a topic receives each message published to that topic. There is a one-to-many relationship between the publishing client and the subscribing clients.

Question 10 :

What is the main parts of JMS applications?

Answer :

The main parts of JMS applications are:
--ConnectionFactory and Destination