ActiveBPEL® Designer User’s Guide
To start at the beginning of the tutorial, see Introduction to ActiveBPEL Tutorial.
If you have followed all tutorial parts so far, you have designed and debugged a BPEL process.
It is time to deploy the process to the ActiveBPEL embedded server. Deployment is the act of publishing your BPEL process to the ActiveBPEL server where it can run. In the deployment procedure, you use the WS-Addressing specification to define endpoint references.
In the Project Explorer view of ActiveBPEL, you should have the following files:
By completing Part 9 of the tutorial, you will be able to:
Step 1: Complete the prerequisite checklist for deployment
A BPEL file is ready for deployment to the ActiveBPEL Server when there are no errors in the Tasks view and when a simulated execution of the process terminates normally.
Step 2: Create a process deployment descriptor file
A Process Deployment Descriptor (.pdd) file describes the relationship between the partner links defined in the BPEL file and the implementation required to interact with actual partner endpoints. You create a .pdd file to indicate where your endpoint references are. The .pdd file is an integral part of the deployment package for the process.
Recall that the loan approval process has the following definitions for partner links:
|
Partner Link Name |
Partner Role |
My Role |
|---|---|---|
|
LoanApproval |
approver |
none |
|
RiskAssessment |
assessor |
none |
|
LoanProcess |
none |
loanProcessor |
You will assign an endpoint type for each partner role and will provide access protocol information for the process role (My Role). An endpoint type is a binding property that indicates the actual service the process interacts with. Different types give you control over specifying services you work with now and in the future. In this tutorial, you will indicate a static reference to partner services.

LoanApproval partner link.

WS-Addressing is automatically added based on the binding information in the WSDL file. Note that a URN is supplied as the address. On the server we will be mapping this URN to a URL.
RiskAssessment and then
select Address as the Invoke Handler and Static as
the Endpoint Type.
LoanProcess, and in the My
Role panel, select Document Literal for the
Binding style.
Step 3: Starting the ActiveBPEL Embedded Engine
We will deploy tutorial.pdd and its resources to the server. To do so, we will start up the server.
The ActiveBPEL Server consists of the ActiveBPEL engine running under Apache Tomcat 5.5. Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies.

Step 4: Create a business process deployment archive
To deploy your process to the ActiveBPEL Server, you must add all relevant files to an archive file (.bpr file), which is similar to a Web archive file.

designer\workspace\Tutorial\deploy\tutorial.bpr
Selecting this option automatically deploys your .bpr file to the ActiveBPEL server upon completion of the export.
deploy folder.
Your BPR file has been automatically deployed to the server, as indicated by the information dialog. You can also see the results in the Console:.

Step 5: Deploy the Loan Approval and Risk Assessment BPRs
The Loan Approval and Risk Assessment services have been created as BPEL processes for the convenience of this tutorial. Once you deploy them, you can study the process logic and test accordingly. We will do this in the next part of the tutorial.
Note that the BPRD files for the partner services have been modified just for the tutorial. The BPRD files that you create for your own processes contain many more deployment details.
Continue to Tutorial Part 10: Running the Process on the Server.
Copyright (c) 2004-2008 Active Endpoints, Inc.