I have a project that have clients(swing) and will have an EJB application running on server.
My question is about communication. I want to use MDB's (message driven beans) when client send message to server. But i've stucked on the issue that app server sends message (or any data) to notify client.
For example, client1 has a form (a textbox and a button) and client2 has a list (lists data that client1 sends to server). When client1 sends the data (message etc) to server, do some job on it than send(notify) the data to client2.
How can i do this? Any help would be appreciated. Thanks.