There's another alternative.  How about a client that is a JMS subscriber?
The publisher is an EJB stateless session bean.


-----Original Message-----
From: Warren Crossing [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 11:31 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] EJB calls Java client


use an action listener type pattern?
hang on.. whats the architecture your using.. hmmm remote boundaries..
calling via proxy.
well you can't have the ejb stubs call into your client code can you! 
um..each client could use an entity java bean.. an entity bean that
maintains its own states..
then each clients uses the data inside the ejb ( which is also the latest )

umm.. or polling.. 

each client has a thread which continunally calls a method on the ejb the
method will stall until the the data changes.. the remote method returns the
client thread continues to the next line which alerts another thread or some
shared memory. 

there you have it.. 

a remote polling action listener!


-----Original Message-----
From: Toby Allsopp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 April 2001 12:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] EJB calls Java client


On Wed, Apr 18, 2001 at 10:27:25AM +0800, Ralph Jensen wrote:
> Not exactly jBoss but may be it's an easy one:
> 
> If I have several Java clients cooperating on the same data and I want to
> inform all participants that some new information arrived or send the
> information to all - how do I do that using EJB?

JMS.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to