A business process is a series of activities invoked in a specific
order to achieve a business goal. The Process Choreographer in WebSphere(R) Application
Server performs the process. The procedure given here is one way of creating
a business process in WebSphere Studio Application Developer. For more
information on how to create business processes, refer to the Application
Developer help.
To create a process, do the following in WebSphere Studio Application Developer:
- From the File menu, select .
- In the New Project window that opens, type
the name of your service project and click Finish.
- Create a package under the project to contain the activities you'll
use in the process.
- Create activities for your business process. The implementation
class of the activities should extend com.ibm.btt.server.flow.al.base.BaseSnippet,
which provides the API to access the CHA, formatters, and services. The process
must use the CHA to get data.
Note: If you are creating a business process
to handle user logon, extend the com.ibm.btt.server.flow.al.base.BaseLogonSnippet
class instead of the com.ibm.btt.server.flow.al.base.BaseSnippet class.
- Create the business process:
- From the File menu, select to
create a business process for your service project.
- In the New Business Process window that
opens, provide the package and file name information for the process. Click Finish. After the wizard creates the process, Application Developer displays
the process in the process editor.

- Add activities for the process.
- If you want to add the Java(TM) Snippet activities that you created
in step 1 to the process, simply create new activities of the Java Snippet
type with the identical names of the those you created in step 1. You do not
need to define the implementation information for the activities because the
Process Code Generation Tool will add the implementation information for the
activities later.
- If you want to add activities of the Invoke type to the process, you have
to define all information about the activities here by yourself
For more information on creating a process in the process editor,
see the Application Developer help. Note that the toolkit processes do not
support parallel activities.
- Customize the BPEL file with the
Business
Process BTT Wizard.
- Create the files for deploying the process:
- Right-click the process file (for example, BTTLogonProcess.bpel)
and select .
- Click Finish. This creates
the EAR project for the process. But at this time, there are errors in this
EAR project.
- Add the following JAR files to the Java Build Path and JAR dependencies:
- bttbase.jar
- bttsvrflow.jar
- bttfmt.jar
- bttsvcinfra.jar
- Add other necessary JAR files to the Java Build Path. Re-build
the project.
- Deploy the process to a test server in Application Developer. You can select EJB or SOAP/APACHE when doing the deployment.
- Select so that Application
Developer generates the code to invoke the business process. Use the service
proxy to test the business process.
Note: You can also use your
invokers or Struts Actions to test the business process.
Once tested, you can install it on WebSphere Business Integration Server
Foundation.