Right-click your new Project in the Project window, and select New -> Collaboration Definition (Java) from the popup menu.
The Collaboration Definition Wizard (Java) appears.
Enter the name of the Collaboration (for this Collaboration enter jcdDelete) and click Next.
In Step 2 of the wizard, double-click CAPS Components Library -> Adapters -> File -> FileClient -> receive to add the File Adapter's receive web service operation. Click Next.
In Step 3 of the wizard, double-click prjOracle_JCD -> otdALL -> otdOracle. The otdOracle OTD is added to the Selected OTDs field.
Click the Up One Level button to return to Projects level, then select CAPS Components Library -> Adapters -> File -> FileClient to add the File Adapter's FileClient OTD to the Collaboration.
Click Finish. The new Collaboration is added to your project's jcdALL node, in the Projects window.
Create the other four Collaborations using the Collaboration Definition Wizard, similar to the way you created the jcdDelete Collaboration, but using the following parameters:
Collaboration Names |
Web Service Operation to Implement |
Selected OTDs |
---|---|---|
jcdInsert |
receive (CAPS Components Library -> Adapters -> File -> FileClient -> receive) |
otdOracle (prjOracle_JCD -> otdALL -> otdOracle) |
otdInputDTD_DBemployees (prjOracle_JCD -> otdALL -> otdInputDTD_DBemployees) |
||
FileClient (CAPS Components Library -> Adapters -> File -> FileClient) |
||
jcdPsSelect |
receive (CAPS Components Library -> Adapters -> File -> FileClient -> receive) |
otdOracle (prjOracle_JCD -> otdALL -> otdOracle) |
otdOutputDTD_DBemployees (prjOracle_JCD -> otdALL -> otdOutputDTD_DBemployees) |
||
FileClient (CAPS Components Library -> Adapters -> File -> FileClient) |
||
jcdTableSelect |
receive (CAPS Components Library -> Adapters -> File -> FileClient -> receive) |
otdOracle (prjOracle_JCD -> otdALL -> otdOracle) |
otdOutputDTD_DBemployees (prjOracle_JCD -> otdALL -> otdOutputDTD_DBemployees) |
||
FileClient (CAPS Components Library -> Adapters -> File -> FileClient) |
||
jcdUpdate |
receive (CAPS Components Library -> Adapters -> File -> FileClient -> receive) |
otdOracle (prjOracle_JCD -> otdALL -> otdOracle) |
FileClient (CAPS Components Library -> Adapters -> File -> FileClient) |
For your next step, see Using the Java Collaboration Editor to create Business Rules.