Program guide > (deprecated) Partitioning facility > Partitioning facility programming > HTTP partitions > The EJB API and extending the HttpPartitionBean
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
EJB-specific HttpPartitionManager methods
The HttpPartitionBean is aware of both the partitioning facility PartitionManager as well as the HttpPartitionManager. These agents work in conjunction to perform partition operations. The HttpPartitionManager contains additional methods that are employed by the HttpPartitionBean, including the setPartitionManager() method that registers the PartitionManager with the HttpPartitionManager. This should be done when initializing the PartitionManager and HttpPartitionManager.
Other methods that can be used by the Enterprise JavaBeans™ (EJB) API include:
/** * Set the Application Server WPF PartitionManager. */ public void setPartitionManager(String appName, PartitionManager manager); /** * Set the HTTP expressions in the WAS config. */ public void setExpressions(String appName, HttpPartitionExpression[] expressions);The setPartitions() and setExpressions() allow the EJB to inform the HttpPartitionManager of partition and expression specifications. If the EJB were to determine the list of partitions and expressions, it would invoke these methods.
Parent topic:
The EJB API and extending the HttpPartitionBean
Related concepts
The EJB API and extending the HttpPartitionBean