Chapter 6 | Section 6.5 |
Implementing the JDBC/ODBC eWay Sample Projects | Building and Deploying the prjJDBC_JCD Sample Project |
Creating the Collaboration Definitions (Java) on page 78
Create the Collaboration Business Rules on page 81
Binding the eWay Components on page 87
Creating an Environment on page 88
Configuring the eWays on page 89
Creating the Deployment Profile on page 92
Creating and Starting the Domain on page 93
Building and Deploying the Project on page 94
Running the Sample on page 94
6.5.1Creating a Project
The first step is to create a new Project in the Enterprise Designer.
1Start the Enterprise Designer.
2From the Project Explorer tree,
3
6.5.2Creating the OTDs
The sample Project requires three OTDs to interact with the JDBC eWay. These OTDs include:
JDBC Database OTD
Inbound DTD OTD
Outbound DTD OTD
Steps required to create a JDBC Database OTD:
1
The New Object Type Definition Wizard window appears.
2Select the JDBC Database OTD Wizard from the list of OTD Wizards and click Next.
3Enter the connection information for the JDBC database. Connection fields include:
Driver Jar Files
Driver Java Class Name
URL Connection String
User name
Password
JDBC/ODBC eWay Adapter User’s Guide | 75 | Sun Microsystems, Inc. |