Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Develop partitioning facility applications with WSAD v5.1 > Use WSAD 5.1 with a new partitioned application > Add sample partitions
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
Import the WPFKeyBasedPartitionSample sample application
About this taskIn the <ND_install_root>\installableApps is the WPFKeyBasedPartitionSample.ear file. This .ear has not been deployed and contains the source for the partitioning facility (WPF) example. The D_ WPFKeyBasedPartitionSample.ear is a deployed example and for administrators who want to load and begin experimenting with the partitioning facility framework.
The following steps outline how to import the sample:
- Start WSAD V5.1.
- Create a new Project.
- Select Enterprise Application Project.
- Select J2EE 1.3 Enterprise Application Project.
- Select Next.
- Name the project.
- Select Finish.
- Supply the necessary J2EE Hierarchy information.
- Select the test project.
- Right click, select import.
- Select Import....
- In the Import dialog, select EAR file
- Select Next.
- Browse to the <DMgr_install_root>\installableApps directory.
- Select a partitioning facility example ear, such as WPFKeyBasedPartitionSample.ear.
- Select Finish.
ResultsYou can regenerate the deployed code with the Generate Deployment Code option and export it into a new Enterprise Archive (EAR) file. After the EAR file is exported, wpfstubutil should be run and the enterprise bean stub reprocessed. This command is documented later in this section. Finally, the application can be installed (or reinstalled) in the cluster.
The example in the initial portion of this text illustrates the steps to install a partitioning facility partitioned J2EE application.
Parent topic:
Add sample partitions
Related tasks