If deploying to a cluster, specifies a global cluster partition name applied to the the properties of all components in the module. The component runs only on servers that are in the partition. The default configuration applies this Ant property value to the <clusterPartition> subcommand in the <setProperties> command for each component in the module. To override the setting for an individual component, add <setProperties> command to your user configuration to configure the component’s that correspond to the enterprise bean’s public interfaces. Include the <clusterPartition> subcommand. For example:
<target name="configure-user"> <setProperties component="ejb.components.myjar.MyCompRemote"> <clustePartition name="salesPartition"/> </setProperties> <setProperties component="ejb.components.myjar.MyCompHome"> <clustePartition name="salesPartition"/> </setProperties> </target>
For more information on clusters and partitioning, see Chapter 6, “Clusters and Synchronization,” in the System Administration Guide.