Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

JMS Interview Questions and Answers

Ques 6. What are the different messaging paradigms JMS supports?

Ans. Publish and Subscribe i.e. pub/suc and Point to Point i.e. p2p.

Is it helpful? Add Comment View Comments
Ques 7. What is the difference between topic and queue?
Ans. A topic is typically used for one to many messaging i.e. it supports publish subscribe model of messaging. While queue is used for one-to-one messaging i.e. it supports Point to Point Messaging.
Is it helpful? Add Comment View Comments
Ques 8. What is the use of Message object?
Ans. Message is a light weight message having only header and properties and no payload. Thus if theIf the receivers are to be notified abt an event, and no data needs to be exchanged then using Message can be very efficient.
Is it helpful? Add Comment View Comments
Ques 9. What is the basic difference between Publish Subscribe model and P2P model?
Ans. Publish Subscribe model is typically used in one-to-many situation. It is unreliable but very fast. P2P model is used in one-to-one situation. It is highly reliable.
Is it helpful? Add Comment View Comments
Ques 10. What is the use of TextMessage?
Ans. TextMessage contains instance of java.lang.String as it's payload. Thus it is very useful for exchanging textual data. It can also be used for exchanging complex character data such as an XML document.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2017 WithoutBook