Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Proxy DataSource development

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

Proxy DataSource programming model

In the current WebSphere Application Server programming model, you can specify one container-managed persistence (CMP) connection factory, which corresponds to one datasource for one CMP enterprise bean. Under the new proxy datasource support, one CMP connection factory is specified for one CMP enterprise bean. However, during runtime, this proxy datasource will route the connection requests to different underlying datasources.

The underlying datasource the proxy datasource will route to is decided by the application. At the beginning of every transaction, you can use WebSphere eXtreme Scale-specific API to specify which underlying datasource this current transaction will use.

Following is the general programming model for the proxy datasource support:

Parent topic:

Partitioning facility programming

Related concepts

Partitioning facility programming