Why and when to perform this task
You can use a modeling tool, such as WebSphere® Integration Developer to
build and deploy business processes and tasks. These processes and tasks are
interacted with at runtime, for example, a process is started, tasks are claimed
and completed, and running processes are terminated. You can use Business
Process Choreographer Explorer to interact with processes and tasks, or the
Business Process Choreographer APIs to develop customized applications for
these interactions.
The API provides generic methods that can be used
with all processes and tasks that are installed on a WebSphere Process Server.
The Business Process Choreographer API is provided as two stateless session
enterprise beans:
- BusinessFlowManagerService interface provides the methods for business
process applications
- HumanTaskManagerService interface provides the methods for task-based
applications
For more information on the Business Process Choreographer APIs,
see the Javadoc in the com.ibm.bpe.api package and the com.ibm.task.api package.
Steps for this task
- Decide on the functionality that the application is to provide.
Examples for typical business process and human task functionality
are provided.
- Decide which of the Business Choreographer APIs you are going to
use.
Depending on the scenarios that you want to implement with
your application, you can use one, or both, of the session beans.
- Determine the authorization authorities needed by users of the
application.
The users of your application must be authorized
to call the methods that you include in your application, and view the objects
and the attributes of these objects that these methods return. When an instance
of the appropriate Business Process Choreographer API session bean is created,
WebSphere Application Server associates a session context with the instance.
The session context contains the caller's principal role. This information
is used to check the caller's authorization for each call.
The Javadoc
contains authorization information for each of the methods. Choose the methods
that best fit the users of your application.
- Decide how to render the application.
The Business
Process Choreographer APIs can be called locally or remotely.
- Develop the application.
- Access the API.
- Use the API to interact with processes or tasks.
- Query the data.
- Work with the data.