2.112 Edit Java Embedding Dialog - General Tab

Use to add custom Java code to a BPEL process using the Java BPEL exec extension <bpelx:exec>.

This is useful when you already have Java code that can perform a function, and want to use this existing code instead of starting over.

Element Description

Name

Enter a name or accept the default name of Java_Embedding_number. This becomes the name for this activity in the designer.

Java Version

Enter a version number for the code. This field only displays in BPEL 1.1 projects.

Code Snippet

Enter the code to add to the BPEL process. For example, if the following code is added to an activity named JavaEmbed:

/*Write your java code below for example
 System.out.println("Hello there, World");*/

The following code displays in the BPEL process file:

<bpelx:exec name="JavaEmbed" version="1.3" language="java">
<![CDATA[/*Write your java code below for example.
        System.out.println("Hello there, World"); */]]>

Related Topics

BPEL Process Activities and Services in Developing SOA Applications with Oracle SOA Suite

Using Java Embedding in a BPEL Process in Oracle JDeveloper in Developing SOA Applications with Oracle SOA Suite