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
Solved

PUSH VS PULL model of EJB

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 65
custom annotations 9 42
how to install java on RHEL image on EC2 4 40
ejb stateless example 2 23
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

856 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