What is the easiest way to implement a messaging interface to notify clients when events occur on the server? Could someone point me toward a reference? Is JMS the standard way to do this even when a J2EE AS is involved?
Any help appreciated!
Youre client application should register to be a MessageListener on a queue ro topic.
When the server needs to notify the clients it can send a message to the queue or to a topic the client is registered for.
Use a topic if multiple clients must be notified, use a queue for 1 notification.