• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

PUSH VS PULL model of EJB

Hi,


I would like to know differences, uses, advantages, disadvantages, similarities, practical uses of
PUSH VS PULL model of EJB Message Driven Bean.

I read clustering provides idea scaling for processing messages on a queue due to pull model.

Not sure what it means.


The EJB containers (not MDB's)are message recipients from JMS servers point of view.

I have not understood what is jms server and how it is different from ejb container or serve. Please advise

Any links, sample code, resources, ideas highly appreciated. Thanks in advace
0
gudii9
Asked:
gudii9
1 Solution
 
gudii9Author Commented:
please advise
0
 
girionisCommented:
Typically a topic is a push model and a queue is a pull model.

In a topic the producers push messages to topic and thus to the subscribers. The subscribers do not request the messages.

In a queue (peer-to-peer) the subscribers pull (poll) for messages.

The above are theoretical though since the JMS specification does not mandate how the topic or queue are implemented.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now