Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Partitioned EJB overview

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

Partitioning facility requirements

This section describes key requirements to ensure a partitioned stateless session bean (PSSB) has valid partitioning facility (WPF) framework implementation.

PSSB Local Interfaces

When implementing a PSSB, it must be a stateless bean and the following interfaces must be used:

Interface enterprise bean-jar descriptor Interface
Local Home local-home
Local local

For example, the ejb-jar.xml for WPFKeyBasedPartition is...

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD 
Enterprise JavaBeans™ 2.0//EN" 
<ejb-jar id="ejb-jar_ID">


<session id="WPFKeyBasedPartition">
<description>The number of partitions this 
        session bean will create</description>

Partition router object (<Enterprise beanName>_PartitionKey class)

The application programmer is responsible for creating a partition router that acts as a callback for WPF. WPF uses this callback to determine the target partition for requests. The class, which is a Java™ object (POJO), must follow these rules:

Parent topic:

Partitioned EJB overview

Related concepts

Partitioned EJB overview