Solved

PUSH VS PULL model of EJB

Posted on 2013-05-27
2
524 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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 “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now