-
Notifications
You must be signed in to change notification settings - Fork 18
Google Bot
bnewport edited this page Sep 13, 2010
·
1 revision
This is a sample showing how to write a highly available singleton using IBM WebSphere eXtreme Scale. It creates a grid with a single partition. The primary for that single partition is our singleton. The application registers a callback with WXS (ObjectGridEventListener) which is called on the JVM where that partition primary is placed. If that JVM fails then the grid will promote the replica to be a primary and invoke the callback on the new JVM and so on.
The singleton in the sample registers a googletalk listener and auto responds to instant messages sent to that google talk user.