Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Proxy DataSource development > Develop applications using proxy datasource support in WSAD


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


Create PSSB AccountPartitionBean


About this taskThis example will use both the partitioning facility and proxy datasource features.

To use the partitioning facility feature, create a partitioned stateless session bean (PSSB).

  1. Click File > New > Enterprise Bean to create an enterprise bean.

  2. Type ProxyDSAccountSampleEJB as the project name, then click Next.

  3. Configure the project.

    1. Select the Session Bean field.

    2. Type AccountPartitionBean for the Bean name.

    3. Type com.ibm.websphere.proxyds for the Default package.

    4. Click Next.

    5. Deselect the Remote client view.

    6. Select the Local client view.

    7. Type com.ibm.websphere.wpf.PartitionHandlerLocalHome for the local home and com.ibm.websphere.wpf.PartitionHandlerLocal as the local interface.

    8. Click Finish.

  4. Copy the AccountPartitionBean.java from the extracted ProxyDSAccountSample java code into the workspace. You will see several compilation errors, which you can resolve later.


Parent topic:

Develop applications using proxy datasource support in WSAD


Related concepts

Develop applications using proxy datasource support in WSAD