JMS Topic is a JMS managed object used to manage message
comminucation between publisher ( sender of message) and
subscriber ( receiver of message).
Queue is JMS managed object used for holding messages
waiting for subscribers to consume. When all subscribers
consumed the message , message will be removed from queue.
To put an anology with email system consider all emails
with subject 'Offers from Tesco Stores'. This subject is
called topic. If there are multiple messages of same
subject headings, it will be called as queue, waiting to be
read.
1.After reciving message from JMS, byusing Queue connection
factory can send it to exact mdb, i,e point to point.
2.After reciving message from JMS, byusing Topic connection
factory can send it to one r multiple mdb's, i,e Publish to
Subcribe.