In this section, use the CustomFunction sample program to develop a program that uses a Java program.
Development with the CustomFunction sample program uses a custom function. The custom function defines data transformations by calling a Java program in which certain data processing is defined.
The following figure shows an overview of the processing of the CustomFunction sample programs.
Figure 5-3 Processing of the CustomFunction sample program
![[Figure]](figure/zc040200.gif)
The CustomFunction sample program executes processing as follows:
- The Custom business process receives the character string entered from the service requester.
- The business process calls the Hello service via the Hello service adapter. At this time, the custom function is used to convert all lowercase characters to uppercase characters.
- When the Hello service is called, the following character string is concatenated to the received one:
and
Business
Process (
: single-byte space) - In addition, the custom function is used to add the execution date and time to the end of the character string (in yyyy/MM/dd HH:mm:ss.SSS format).
- The concatenation result is returned to the service requester, and then it is displayed in the output window.
- Organization of this section
- 5.8.1 Overview of defining the CustomFunction sample program
- 5.8.2 Preparing the custom function
- 5.8.3 Modifying the Hello service adapter
- 5.8.4 Modifying the Hello business process