users@glassfish.java.net

Push via messaging vs pull via polling..

From: Ryan J <ryan.j_at_vacode.com>
Date: Thu, 06 Sep 2007 17:04:33 -0600

Hi,

I'm starting to consider how I'm going to design a portion of my application. I
guess the best way to describe it would be:

A queue shared between multiple application clients / users.

I can think of two ways to do this...

1. Use the messaging system to publish changes relevant to the queue to
subscribed application clients.

2. Have each application client poll the server (refresh) at regular intervals.

I'd like to know if anyone has any thoughts / comments relating to either
strategy. I have a preference, but would like to see what other people think
before I start.

Ryan