How do you architect the asynchronous communication between clients and J2EE Servers?
Scott H. Kao
Joined: Nov 07, 2004
Hello, How do you architect the asynchronous communication between clients and J2EE Servers? The J2EE servers should be clustered and load-balanced. The purpose is to let the clients constantly receive messages from the J2EE server asynchronously without any polling behaviors. The only means I can come up with are JMS temporary queues which are created by clients and let the server side send messages to those temporary queues to achieve asynchronous communication. But there's a problem with this: the queues are not load-balanced (at most only highly available) in JBoss. Do you have any suggestions or idea on this?
(SCEA Part II in progress...)<br /> <br />Scott H. Kao<br />[SCJD, SCBCD, SCWCD, SCJP]
Joined: Dec 11, 2006
I don't see what sort of clients you have, but as a general remark, they don't necessarily need to have messaging inboxes on the same server.