O'Reilly logo

BPEL and Java Cookbook by Jurij Laznik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Invoking third-party libraries from BPEL 2.0 process

This recipe explains how to use third-party libraries from a BPEL 2.0 process. We achieve this by using the Java Embedding activity in the BPEL editor. In general, putting a lot of business processing code into the BPEL process does not represent a good practice. Rather, the third-party libraries should be implemented through web services or EJBs. Those web services and EJBs can then be referenced from the BPEL process.

Getting ready

We will amend the JDeveloper project from the Adding third-party libraries to JDeveloper projects recipe. We create an empty BPEL 2.0 process and leave the request and response messages unchanged.

How to do it…

To add the code for the third-party library from the Java ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required