sending a message from jboss to all java-clients  
Author Message
Johannes Hermen





PostPosted: 2005-3-8 18:57:00 Top

java-programmer, sending a message from jboss to all java-clients Hi

I'm building a j2ee Application on top of j2ee and JBoss 4.0.
The Clients connected to JBoss are non-web Swing Clients.

If One Clients changes the data on a bean/in the db, all the other clients
connected to the jboss have to be informed about the change, so they can
update der UI.
On a standalone Java-App i would use listeners to solve this, but as im new
to j2ee i have no idea how to realize this with j2ee and jboss.

It would be great to get some ideas on how to solve this problem.

greets from Germany

Johannes Hermen
 
Marek Lange





PostPosted: 2005-3-9 4:04:00 Top

java-programmer >> sending a message from jboss to all java-clients Johannes Hermen wrote:
> I'm building a j2ee Application on top of j2ee and JBoss 4.0.
> The Clients connected to JBoss are non-web Swing Clients.
> If One Clients changes the data on a bean/in the db, all the other clients
> connected to the jboss have to be informed about the change, so they can
> update der UI.
> On a standalone Java-App i would use listeners to solve this, but as im new
> to j2ee i have no idea how to realize this with j2ee and jboss.
>
> It would be great to get some ideas on how to solve this problem.

JMS listeners would be a possible approach for the notifications.

-marek