How does a typical client perform the communication?
Answer Posted / 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 View All Answers
What is the difference between JMS and RPC (Remote Procedure Call)?
How to handle the exception caused by jms?
What is mdb in jms?
How can an application do a jms operation and have it succeed, independent of the result of the transaction?
Explain JMS and its Component?
How to Set message priority levels?
How kafka is different from jms?
How jndi is related to jms?
What is the difference between jms and kafka?
Detail about the features of publish model?
Can two different jms services talk to each other? For instance, if a and b are two different jms providers, can provider a send messages directly to provider b? If not, then can a subscriber to provider a act as a publisher to provider b?
What is the use of jms server in weblogic?
Mention different types of messages available in JMS API?
Explain the difference between topic and queue?
What is a jms connection?