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 task

In 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:

  1. Start WSAD V5.1.

    1. Create a new Project.

    2. Select Enterprise Application Project.

    3. Select J2EE 1.3 Enterprise Application Project.

    4. Select Next.

    5. Name the project.

    6. Select Finish.

  2. Supply the necessary J2EE Hierarchy information.

    1. Select the test project.

    2. Right click, select import.

    3. Select Import....

    4. In the Import dialog, select EAR file

    5. Select Next.

    6. Browse to the <DMgr_install_root>\installableApps directory.

    7. Select a partitioning facility example ear, such as WPFKeyBasedPartitionSample.ear.

    8. Select Finish.


Results

You 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

Add sample partitions


+

Search Tips   |   Advanced Search