What are the types of data passing mechanisams under JMS
specification?



What are the types of data passing mechanisams under JMS specification?..

Answer / jyoti prasad

There are two types of data passing mechanisams under JMS
1.Point-to-Point Messaging:
A point-to-point (PTP) product or application is built
around the concept of message queues, senders, and
receivers. Each message is addressed to a specific queue,
and receiving clients extract messages from the queue(s)
established to hold their messages.


2.Publish/Subscribe Messaging:
In a publish/subscribe (pub/sub) product or application,
clients address messages to a topic. Publishers and
subscribers are generally anonymous and may dynamically
publish or subscribe to the content hierarchy. The system
takes care of distributing the messages arriving from a
topic's multiple publishers to its multiple subscribers.

Reference:http://docs.cs.uct.ac.za/jms_tutorial/doc/basics.h
tml#1023671

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What will happens, when a thread cannot acquire a lock on an object?

2 Answers  


How many requests can a server fetch at a time?

1 Answers  


What is the relationship between the canvas class and the graphics class?

0 Answers  


What is a class loader? What are the different class loaders used by jvm?

0 Answers  


What is the difference between the ‘font’ and ‘fontmetrics’ class?

0 Answers  






Howmany interfaces are used in RMI?

2 Answers  


What is the highest-level event class of the event-delegation model?

0 Answers  


What is the purpose of the notify() method?

0 Answers  


What is a policy?

0 Answers  


What is Introspection?

2 Answers  


what is the life cycle of jsp?

1 Answers   HCL, ITC Infotech,


Describe responsibilities of Activator?

0 Answers  


Categories