Solved

PUSH VS PULL model of EJB

Posted on 2013-05-27
2
540 Views
Last Modified: 2013-06-19
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
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Author Comment

by:gudii9
ID: 39213475
please advise
0
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 39221437
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

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ejb example issues 3 84
ejb on wildfly 5 59
Java Restore security prompts not working 10 233
junit example issue 2 49
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Suggested Courses

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question