Incorporating Java and Java EE Code in BPEL Processes

There are several methods for incorporating Java and Java EE code in BPEL processes:

  • Wrap as a Simple Object Access Protocol (SOAP) service

  • Embed Java code snippets into a BPEL process with the bpelx:exec tag

  • Use an XML facade to simplify DOM manipulation

  • Use bpelx:exec built-in methods

  • Use Java code wrapped in a service interface