Program guide > (deprecated) Partitioning facility


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


Partitioned J2EE application

A partitioned Java™ 2 Platform, Enterprise Edition (J2EE) application is an average J2EE application with a single partitioned stateless session bean (PSSB). No limitations are related to the J2EE application that includes the PSSB. For Extended Deployment, a single application enterprise application archive (EAR) file can include several Enterprise JavaBeans™ (EJB) modules, as normal. However, only one EJB module can contain the single PSSB. In addition, the partition names chosen during the PSSB Partition Manager initialization sequence must be unique within the cluster. Also, the application should be installed on nodes in the cluster.

If you are using Web content (JavaServer Pages™ (JSP), HTML, servlets), you can also reference the PSSB normally through the Java Naming and Directory Interface™ (JNDI), and the EJB module will contain the PSSB. The servlet typically will run a remote method of the EJB PSSB remote interface, which results in a routed call to the server with the appropriate target endpoint partition.

A single PSSB can have multiple partition sets created during the partition creation process. For example, the organization has a solution that needs to map partitions to customer IDs to a given cluster member to take advantage of a partition database solution. In addition to mapping by customer IDs, and acquiring customer information, customer requests are also needed to be mapped to partitions for further processing. To satisfy this need, the application will map the request to another partition scheme. In this case two separate partitions schemes are required. The partitioning facility (WPF) framework provides both the programmatic support and management functionality to support more than one type of partition scheme in the same application.

The various types of programming strategies for PSSB include calling the bean directly, using a partition routable bean and a façade session bean to the PSSB. Both approaches allow the PSSB to provide the underlying routable support, while allowing the business interfaces to externalize in another bean within the same application and the same enterprise bean JAR, specifically.


Parent topic:

(deprecated) Partitioning facility


Related concepts

Partitioning introduction


+

Search Tips   |   Advanced Search