Creating a collaboration template

Use Process Designer Express to create, edit, and compile a collaboration template. The following sections describe how to define a new template and provide the basic information it requires.

You must provide certain information prior to building the template; other types of information can be supplied at any time during development. The following information is required for template creation:
Template name See Creating the template definition
Ports See "Defining ports and triggering events (the Ports and Triggering Events tab)"
Scenario definitions See "Defining scenarios"

The following information is optional and you can supply it at any time during the development process:
Support for long-lived business processes See Adding support for long-lived business processes
Package name See "Specifying a collaboration package"
Minimum transaction level See "Specifying the minimum transaction level"
Configuration properties See "Defining collaboration configuration properties (the Properties tab)"
Template variables See Declaring and editing template variables (the Declarations tab)
Import statements See "Importing Java packages"

Creating the template definition

To create a new collaboration template, do the following from within System Manager:

  1. Right-click the Collaboration Templates folder for your project, and then click the Create New Collaboration Template option. Process Designer Express opens and displays the New Template dialog box, as shown in Figure 20.

    Figure 20. New Template dialog box


  2. In the Project field, use the drop-down list to select the name of the Integration Component Library user project the template belongs to.
  3. Type the name of the template in the Template Name field. A template name can include alphabetic characters, numbers, and underscores. Because Process Designer Express creates a source file (.java) and a Java class file (.class) based on the template name, it is recommended that you follow these Java class naming conventions:

    For more information, see Naming IBM WebSphere InterChange Server Components.

  4. If desired, include a brief description of the template in the Description field.
    Note:
    Do not include a hard return (a carriage return) in the template description.
  5. Click OK. Process Designer Express opens and displays the new template and its top-level tree in its Template Tree pane.

Copyright IBM Corp. 2003, 2004