Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Data partitioning patterns

Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.

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.

Parent topic:

Data partitioning patterns

Related concepts

Data partitioning patterns


Search Tips   |   Advanced Search