WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Singleton pattern

This pattern can be used for a clustered application requiring a singleton to perform some task within the cluster. The partitioned stateless session bean (PSSB) creates a PartitionDefinition whose name is based on the singleton. For example, RECORD_PURGER. The task of the singleton is to purge removed records from the database in batch mode.

Upon startup, the highly available (HA) manager would assign the singleton partition to exactly one cluster member. In addition, the HA manager policy could be configured to specify a preferred server for the singleton, or even "pin" the singleton to a specific server.




Related concepts
Data partitioning patterns
Concept topic    

Terms of Use | Feedback

Last updated: Oct 16, 2009 11:11:31 AM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/WPF51/cwpfsingletonpattern.html