- Posted by: Max Surov
- Posted on: October 21 2003 05:55 EDT
I have a lot of GUI(swing) clients which work with domain objects.
Client interacts with domain object through RMI(Stateless Session Bean).
After domain object state has been changed all clients should be notified about it, they are notified with the help of the JMS.
Would you be so kind pointing me some design strategy of how I could implement this.
The main question is how I can implement domain object in order to share that state properly between Session Bean instances.
Plus, everything should work in a cluster.
Thanks a lot in advance
You could implement this easily using Coherence. Coherence is built from the ground up for clustering. With the cluster-wide locking and cluster-wide event notification you will be able to maintain data concurrency as well as listen for updates to your Domain objects.
Plus, as the new client GUIs start up they will automatically signup to participate in the cluster and subsequently have access to the data in the clustered cache.
Coherence: Cluster your Work. Work your Cluster.