The HTTP partitioning function provides a generic partitioned
stateless session bean (named HttpPartitionBean) to interact with
the partitioning facility. It is contained within the enterprise archive
(EAR) file of the sample HTTP partitioning facility application (
httpwpfsample.ear).
As such, all HTTP partitioning facility applications must include
this EJB as a module in the enterprise archive. As a result, the
application.xml of
the EAR file should include a section for this module, such as:
<module id="EjbModule_1090414118785">
<ejb>http.wpf.generic.ejb.jar</ejb>
</module>
Note: You can modify this enterprise bean to invoke HttpPartitionManager
services or handle partition events. As an alternative, a servlet
can invoke the HttpPartitionManager directly. In fact, an application
can invoke HTTP partitioning with both the partitioned stateless session
bean (PSSB) and servlets simultaneously.