uCosminexus Service Platform, Overview

[Contents][Glossary][Index][Back][Next]

3.1.3 Java invocation

Organization of this subsection
(1) Function
(2) Activities to be used

(1) Function

With Java invocation, you can execute the Java class in which an interface provided with Service Platform is implemented.

If you cannot define a business process only by the functionality provided with Service Platform, you can use user-created Java programs to perform processing such as transformation and judgment of XML messages.

The following figure shows the process flow when a service adapter is executed by using Java invocation.

Figure 3-3 Process flow when a service adapter is executed by using Java invocation

[Figure]

(2) Activities to be used

Use the invoke java activity for Java invocation.

Execute a Java program with the message defined in the argument in the invoke java activity and with the variables in the business process.

The return value of the Java program is the message defined in the return value of the invoke java activity and the variables in the business process.

Note that the Java program to be executed must be created on the Java editor by using the invoke java activity in the development environment of Service Platform.