Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial

You're reading from   Oracle SOA BPEL Process Manager 11gR1 - A Hands-on Tutorial Your step-by-step, hands-on guide to Oracle SOA BPEL PM 11gR1

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher Packt
ISBN-13 9781849688987
Length 330 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (20) Chapters Close

Oracle SOA BPEL Process Manager 11gR1 – A Hands-on Tutorial
Credits
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Creating Basic BPEL Processes 2. Configuring BPEL Processes FREE CHAPTER 3. Invoking a BPEL Process 4. Orchestrating BPEL Services 5. Test and Troubleshoot SOA Composites 6. Architect and Design Services Using BPEL 7. Performance Tuning – Systems Running BPEL Processes 8. Integrating the BPEL Process Manager with Service Bus, Registry, and SOA Deployment 9. Securing a BPEL Process 10. Architecting High Availability for Business Services 11. The Future of Process Modeling 12. Troubleshooting Techniques Index

Invoking Java from BPEL


Another option to call Java from BPEL is using SOAP to wrap the Java code as a web service and invoke the web service from BPEL

In order to use a Java method from an already created Java project, you could perform the following steps:

  1. Create a .jar file of your Java project.

  2. To use a Java class from the .jar file inside the BPEL process, copy the JAR in the same project's SCA-INF/lib folder and include the JAR by going to Libraries and Classpath.

  3. Use the Java Embedding activity for writing Java programs to invoke the method from the .jar file.

  4. Use import statements inside the source code of BPEL to import the Java class. Use the import attribute of bpelx:exec for importing Java classes and libraries. Examples are listed as follows:

    <bpelx:exec import="java.util.*"/>
    <bpelx:exec import="myjavaprogram.*"/>
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image