How does a typical client perform the communication?



How does a typical client perform the communication?..

Answer / munnu

1. Use JNDI to locate administrative objects.

2. Locate a single ConnectionFactory object.

3. Locate one or more Destination objects.

4. Use the ConnectionFactory to create a JMS Connection.

5. Use the Connection to create one or more Session(s).

6. Use a Session and the Destinations to create the MessageProducers and MessageConsumers needed.

7. Perform your communication.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JMS Interview Questions

What type messaging is provided by JMS ?

1 Answers  


Is rabbitmq a jms?

0 Answers  


Is jms a protocol?

0 Answers  


How to write junit test cases for jms?

0 Answers  


What is the use of jmstemplate in spring?

0 Answers  






What is the difference between a queue and a topic?

0 Answers  


What is object message ?

1 Answers  


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

0 Answers  


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

0 Answers  


Why jms is used in java?

0 Answers  


What is poison messages? And how to handle poison messages?

1 Answers  


What are the core JMS-related objects required for each JMS-enabled application?

1 Answers  


Categories