

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference between Point-To-Point and Publish/Subscribe JMS Messaging Models
JMS is an acronym Java message service. Java message service is an api which are provided by Java. It is used for implementing messaging system in your application.
JMS is an API or specification which does not contain implementation therefore to use JMS have to some third party service provider like ActiveMq , Weblogic messaging and etc.
JMS support two types of messaging domain −
- Point to Point Messaging
- Publish /Subscribe messaging
Sr. No. | Key | Point to Point Messaging | Publish /Subscribe |
---|---|---|---|
1 | Basic | It is one to one destination of message. Message sent into the queue and that message can be read by only one receiver. | It is one to many messaging approach. Message sent to the topic and message can be received by multiple consumers |
2 | Pull /Push Mechanism | It used pull mechanism, client need to poll for the message every time | It used push based model, message can be broadcast to all consumers |
3 | Acknowledgment | Acknowledgment is mandatory | Acknowledgment is optional |
4. | Timing dependency | In PTP model, there is no timing dependency between sender and receiver. | There is a timing dependency between publishers and subscribers. |
- Related Questions & Answers
- Difference between Point-to-Point and Multi-point Communication
- What is the difference between Point to Point Link and Star Topology Network?
- Difference between Apache Kafka and JMS.
- Differentiate between accounting breakeven point and financial breakeven point.
- Point-to-Point Protocol (PPP)
- SAP PI messaging service is JMS compliant or not
- Fixed Point and Floating Point Number Representations
- What is Point-to-Point Protocol (PPP)?
- Decimal fixed point and floating point arithmetic in Python
- What is the difference between integer and floating point literals in Java?
- What is the Point-to-Point Tunneling Protocol(PPTP)?
- What is Point to Point Protocol (PPP) in Computer Network?
- Rotation of a point about another point in C++
- Finding reflection of a point relative to another point in JavaScript
- How to create a point chart with point size increment based on the position of the point in R?
Advertisements