Sun Adapter for DB2 Tutorials

About the Sun Business Process Manager Project

The prjDB2_BPEL sample project uses input files to pass data into business process. There are four business processes that demonstrate the Insert, Update, Delete, and Select operations, and one process to demonstrate a Prepared Statement. Results are written out to an output file.

This section contains the following topics

Associating Business Process Manager Operators

You can associate a Sun Business Process Manager Business Process Activity with the Sun Adapter for DB2 both during the system design phase and during runtime.

    To make this association:

  1. Select the desired receive or write operation under the adapter in the Enterprise Explorer.

  2. Drag the operation onto the eInsight Business Process canvas.

    The operation automatically changes to an Activity with an icon identifying the component that is the basis for the Activity.

The operator automatically changes to an Activity with an icon identifying the component that is the basis for the Activity.

At run time, the Sun Business Process Manager engine invokes each step in the order defined in the Business Process. Using the engine's Web Services interface, the Activity invokes the Sun Adapter for Batch.

Deploying JCD- Based Operations in the Business Process Manager

You can deploy a Java Collaboration Definition-based component as an Activity in a Sun Business Process Manager Business Process. Once you associate the desired component with an Activity, Sun Business Process Manager invokes it using a Web Services interface. Sun Enterprise Service Bus components that can interface with Sun Business Process Manager include the following:

Using the NetBeans IDE and Sun Business Process Manager, you can add an Activity to a Business Process, then associate that Activity with Sun Enterprise Service Bus component, for example, an adapter. Then, when Sun Business Process Manager runs the Business Process, it automatically invokes that component using its Web Services interface.