JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS Adapter for DB2 Tutorials     Java CAPS Documentation
search filter icon
search icon

Document Information

Oracle Java CAPS Adapter for DB2 Tutorials

About the Oracle Java CAPS Adapter for DB2 Sample Projects

Sample Input Trigger Files and Output Files

Sample Project Data

Operations Used in the DB2 Sample Projects

About the Oracle Java CAPS Business Process Manager Project

Associating Business Process Manager Operators

Deploying JCD-Based Operations in the Business Process Manager

About the Java Collaboration Definition Sample Project

Importing Non-JBI Based Sample Projects

To Import a Non-JBI Based Sample Project

Running the SQL Script

Creating the Java Collaboration Definition-Based Project for the Oracle Java CAPS Adapter for DB2

Creating a New Project

Create a Project

Creating the OTDs

Create the DB2 Database OTD

Create the Inbound and Outbound DTD OTDs

Creating the Collaboration Definitions (Java)

Create the Java Collaborations

Using the Java Collaboration Editor to create Business Rules

Creating the Business Rules for the jcdDelete Collaboration

Create the jcdDelete Collaboration Business Rules

jcdDelete Collaboration Java Code

Creating the Business Rules for the jcdInsert Collaboration

Create the jcdInsert Collaboration Business Rules

jcdInsert Collaboration Java Code

Creating the Business Rules for the jcdPsSelect Collaboration

Using the Collaboration Editor's Java Source Editor

Create the jcdPsSelect Collaboration Business Rules

Creating the Business Rules for the jcdTableSelect Collaboration

Create the jcdTableSelect Collaboration Business Rules

jcdTableSelect Collaboration Java Code

Creating the Business Rules for the jcdUpdate Collaboration

Create the jcdUpdate Collaboration Business Rules

jcdUpdate Collaboration Java Code

Next Steps

Creating the Connectivity Maps

Adding Connectivity Maps to a Project

Add the Connectivity Maps to the Project

Populating and Binding the Connectivity Maps using the Connectivity Map Generator

Populate the Connectivity Maps using the Connectivity Map Generator.

Creating an Environment

Create the Environment

Configuring the Adapter Properties

Configuring the Connectivity Map Properties

Configure the Connectivity Map Properties

File1 Inbound Adapter Properties

File2 Outbound Adapter Properties

DB21 Outbound Adapter Properties

Configuring the Environment Properties

Configure the Environment Properties

File Adapter Environment Properties

DB2 Adapter Environment Properties

What's the Next Step?

Creating the Deployment Profile

Create the Deployment Profile

Building and Deploying the Project

Building the Project

Build the Project

Deploying the Project from NetBeans

Deploy the Project

Running the Project

Run the project

Creating the BPEL-Based Project for the Oracle Java CAPS Adapter for DB2

Creating the Business Processes

Create the bpDelete Business Process

Create the bpInsert Business Process

Create the bpPsSelect Business Process

Create the bpTableSelect Business Process

Create the bpUpdate Business Process

Using Business Process Designer to Create Business Rules

Creating the bpDelete Business Rules

Create the bpDelete Business Rules

Creating the bpInsert Business Rules

Create the bpInsert Business Rules

Creating the bpPsSelect Business Rules

Create the bpPsSelect Business Rules

Creating the bpTableSelect Business Rules

Create the bpTableSelect Business Rules

Creating the bpUpdate Business Rules

Create the bpUpdate Business Rules

Building and Deploying the Project

The Build process compiles and validates the Project's Java files and creates the project EAR file.

This section contains the following topics:

Building the Project

You can build the project from the NetBeans IDE or from the Command Line. For this example we are building the project from the Java CAPS Deployment Editor in NetBeans. For more information on building a project, see Building an Application File in Deploying Oracle Java CAPS Projects.

Build the Project

  1. From the Projects window, double-click your project's Deployment file.

    The Deployment Editor opens to your project.

  2. From the Deployment Editor toolbar, click the Build button.
  3. If there are any validation errors, they are displayed in the Validation window at the bottom of the NetBeans IDE. If there are any errors, make corrections to the project, save the project, and click the Build button again.
  4. When the build succeeds, save your project.

Deploying the Project from NetBeans

You can deploy a Java CAPS project to the GlassFish Application Server using NetBeans IDE, Admin Console, Enterprise Manager, or the Command Line. For more information on deploying projects see Deploying Oracle Java CAPS Projects.

For this example we will deploy the project from the Java CAPS Deployment Editor in NetBeans.


Note - When you deploy your project from the NetBeans IDE, you cannot specify a server instance. Therefore, if the domain has multiple server instances, the application is deployed to all of the instances.


Deploy the Project

  1. Open your project in the Deployment Editor.
  2. Ensure that the application server is running.
  3. In the toolbar of the Deployment Profile Editor, click Deploy.

Next Steps

For your next step, see Running the Project.