Tutorials > Contracts


Extend the existing contract model

A contract can be made up of one or more terms and conditions objects, each of which refers to a policy. The subsequent sections describe the steps necessary for creating a new business policy and integrating this into the business flow.

  1. Create a new business policy
    Creating a business policy type typically involves registering a unique business policy in the database, as well as creating a new business policy command.

  2. Register the new terms and conditions object
    This section refers to relating a terms and conditions object to a new business policy.

  3. Create the enterprise bean
    To add a new terms and conditions object for use in WebSphere Commerce, create an Enterprise Java Bean to represent it. In this task, you create a new CMP enterprise bean to represent the term and condition subtype.

  4. Create an access bean and deploying
    In this task we will create an access bean for the new business policy, and create a deployment command for it.

  5. Update WebSphere Commerce Accelerator to use the new term and condition
    Once you have created new terms and conditions, you can update WebSphere Commerce Accelerator so that it can be used to create new contracts that include those new terms and conditions.

  6. Invoke the new business policy
    This section refers to invoking the new business policy.


+

Search Tips   |   Advanced Search