Business Process Choreographer includes support for additional
activities that are extensions to the Web Services Business Process Execution
Language (BPEL) invoke activity.
These additional activities include the Java™ snippet activity and the information
service activity.
Java snippet activity
A Java snippet activity (script
extensions of the BPEL invoke activity) allows you to specify Java code as
part of the process implementation. This Java code has access to the enclosing
BPEL environment, for example, it can work with BPEL variables, partner links,
correlation sets, and custom properties. These objects are either data objects
or Java objects that represent simple types. You can use BPEL variables in
Java snippets in the same way as local Java variables in the enclosing Java
method.
Information service activity
An information service
activity provides direct interaction with IBM
® Information Server and relational databases.
The following kinds of information service activity are available:
- Information server
- With this activity kind, information services that were created in Information
Server can be invoked from a business process.
- SQL snippet
- The SQL snippet allows you to process SQL statements, including Data Definition
Language (DDL) statements, from a business process. For example, an SQL select
statement can issue queries and assign query results to process variables
by reference (set reference). These set references can be used by other activities
in the process without moving all of the related data into the process space.
- Retrieve set
- The retrieve set allows data that is defined by a set reference to be
loaded into a process variable. The data is returned as a business object.
- Atomic SQL sequence
- The atomic SQL sequence allows you to define multiple SQL snippets and
retrieve set statements in an information server activity. The statements
are processed in one transaction in the order in which you defined them.