beautypg.com

1 creating a project, 2 creating the otds, Creating a project – Sun Microsystems eWay JDBC/ODBC Adapter User Manual

Page 75: Creating the otds

background image

Chapter 6

Section 6.5

Implementing the JDBC/ODBC eWay Sample Projects

Building and Deploying the prjJDBC_JCD Sample Project

JDBC/ODBC eWay Adapter User’s Guide

75

Sun Microsystems, Inc.

ƒ

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.1

Creating a Project

The first step is to create a new Project in the Enterprise Designer.

1

Start the Enterprise Designer.

2

From the Project Explorer tree, right-click the Repository and select New Project. A
new Project (Project1) appears on the Project Explorer tree.

3

Right-click Project1 and select Rename from the shortcut menu. Rename the Project
(for this sample, prjJDBC_JCD).

6.5.2

Creating 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

Right-click your new Project in the Enterprise Designer’s Project Explorer, and
select New > Object Type Definition.

The New Object Type Definition Wizard window appears.

2

Select the JDBC Database OTD Wizard from the list of OTD Wizards and click
Next

.

3

Enter the connection information for the JDBC database. Connection fields include:

Š

Driver Jar Files

Š

Driver Java Class Name

Š

URL Connection String

Š

User name

Š

Password