Java Message Service (JMS) Question:

Download Job Interview Questions and Answers PDF

What is the basic difference between Publish Subscribe model and P2P model?

JMS Interview Question
JMS Interview Question

Answer:

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.

Download JMS Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of Message object?What is the use of TextMessage?