Implementing the policies for an application

To implement the policies for an application, you can deploy the CICS® Bundle project that contains the policies with the CICS Application project, or the CICS Application Binding project. The application binding ensures that the policies are associated with the correct CICS regions in the platform to which the application is deployed.

Before you begin

All of the steps in this task are completed by using the CICS Explorer®. It is assumed that, from the CICS Explorer®, you already have a CICS Management Interface connection into the appropriate CICSplex: DEMOPLEX.

About this task

This task reuses the CICS platform and application projects that are created in Scenario: Deploying an application to a platform to deploy your policy files for an application.

Procedure

To deploy the CICS bundle that contains your policy files to the platform with the application that you created in Scenario: Deploying an application in a platform, complete these tasks:

  1. Follow the steps in Creating and editing policies to create your policies in a CICS bundle.
  2. Follow the steps in Packaging the application, and include the policy bundle with the application project. (The policy bundle can be included in either the application project or application binding project). In the application binding, choose the same region type deployment rules for the policy bundle as you do for the other CICS bundles in the application scenario.
  3. Follow the steps in Deploying the application to deploy and install the application that includes your policy files.
  4. Follow the steps in Verifying the solution to check that your policies are installed and the rule action is taken.

Results

Your policies are deployed and installed with application java.web.example.application. The rules that the policies contain apply to user tasks that have application entry points, which are running as parts of application java.web.example.application, and running in regions that belong to region type demo.platform.AOR.regiontype.