Solved

PUSH VS PULL model of EJB

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Which is the latest version of Apache Tomcatl 3 50
Java JRE greater than 1.6 5 50
Java SE 8u111  Lot of stuff broke 11 54
nextBoolean(double p) for Random class 3 35
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

920 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

16 Experts available now in Live!

Get 1:1 Help Now