Mark,
How about using JMS to inform
clients about changes in entity?
Mark Crowley wrote:
>
> I would like to be able to have objects register
> themselves as a listener to an EJB. Listeners are then
> notified of events on the EJB (e.g. the status
> attribute has been changed). This is a straight
> forward pattern in normal programming (J2 uses it for
> mouse events etc.), but in a J2EE environment this
> gets more tricky.
>
> The overhead of 'polling' and EJB every n seconds and
> then programatically searching for changes, is far
> greater than simply having the EJB tell an object that
> needs to know that something has changed.
>
> Has any one achieved this? Is there an 'extended'
> pattern for EJB?
>
> The clients/listeners will reside on different
> machines, so I assume RMI will come into play
> somewhere.
>
> Thanks in advance.
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
--
__________________________________________________
Alexander Kogan PTC www.ptc.com
[EMAIL PROTECTED] 140 Kendrick St. Needham MA 02494
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user