Chapter 6

Section 6.5

Implementing the JDBC/ODBC eWay Sample Projects

Building and Deploying the prjJDBC_JCD Sample Project

6Click the Up One Level button twice to return to the Repository. Double-click Sun SeeBeyond > eWays > File > FileClient. The Selected OTDs field now lists the FileClient OTD.

7Click Finish. The Collaboration Editor with the new jcdPsSelect Collaboration appears in the right pane of the Enterprise Designer.

jcdTableSelect Collaboration

Steps required to create the jcdTableSelect Collaboration:

1From the Project Explorer, right-click the sample Project and select New > Collaboration Definition (Java) from the shortcut menu. The Collaboration Definition Wizard (Java) appears.

2Enter a Collaboration Definition name (for this sample jcdTableSelect) and click Next.

3For Step 2 or the wizard, from the Web Services Interfaces selection window, double-click Sun SeeBeyond > eWays > File > FileClient > receive. The File Name field now displays receive. Click Next.

4For Step 3 of the wizard, from the Select OTDs selection window, double-click prjJDBC_JCD > otdALL > otdJDBC. The otdJDBC OTD is added to the Selected OTDs field.

5In the same window, double-click otdOutputDTD_DBemployee. The otdOutputDTD_DBemployee OTD is added to the Selected OTDs field.

Note: The otdOutputDTD_DBemployee OTD is created from the otdOutputDTD.dtd that is included in the Sample Project.

6Click the Up One Level button twice to return to the Repository. Double-click Sun SeeBeyond > eWays > File > FileClient. The Selected OTDs field now lists the FileClient OTD.

7Click Finish. The Collaboration Editor with the new jcdTableSelect Collaboration appears in the right pane of the Enterprise Designer.

jcdPsUpdate Collaboration

Steps required to create the jcdPsUpdate Collaboration:

1From the Project Explorer, right-click the sample Project and select New > Collaboration Definition (Java) from the shortcut menu. The Collaboration Definition Wizard (Java) appears.

2Enter a Collaboration Definition name (for this sample jcdPsUpdate) and click Next.

3For Step 2 of the wizard, from the Web Services Interfaces selection window, double-click Sun SeeBeyond > eWays > File > FileClient > receive. The File Name field now displays receive. Click Next.

JDBC/ODBC eWay Adapter User’s Guide

80

Sun Microsystems, Inc.

Page 80
Image 80
Sun Microsystems JDBC/ODBC Adapter manual JcdTableSelect Collaboration, JcdPsUpdate Collaboration