You have a complete BPEL process built-in to a JAR, and you want to deploy it to OpenESB v2’s BPEL Service Engine to execute it.
Create a CASA (Composite Application Service Assembly) project using NetBeans. This will combine the BPEL process bundle with the JBI deployment files required by OpenESB, and deploy it to the runtime engine.
While the definition of a BPEL process itself is standardized through the specification, the manner in which you deploy that process is left undefined. That means that it’s up to each vendor to figure out its own way of installing a process into its engine so that it can be executed. This is not great news for developers, but tools do make it easier.
Here you will deploy the process that you defined in Creating a BPEL Process That Invokes a Partner through NetBeans 6.X. So let’s start from there. You should have the partner web service that you created in that recipe deployed already.
It doesn’t take long to deploy the process, part of which is shown in Figure 9-13. Here is an overview of the basic steps:
Build the BPEL module into its JAR.
Create a Composite Application Service Assemby (CASA), which you’ll wrap the BPEL process JAR in so that it can be deployed in the JBI container.
Add the BPEL JAR to the CASA project.
Build and deploy the CASA.
Figure 9-13. Adding the BPEL ...