2.3.2 Calling a service component from the business process

The following figure and table describe the processing details of the HelloBusinessProcess sample program:

Figure 2-5 Processing details of the HelloBusinessProcess sample program

[Figure]

Table 2-2 Processing contents of the HelloBusinessProcess sample program

ComponentTypeDescription
Service requesterHTML
Servlet
  • Displays the input screen, and calls the Hello business process.
  • Obtains (as the return value) the string edited by the Hello business process, and displays the string on the output screen.
Hello business processBusiness process
  • Receives a request from the service requester, and calls the Hello service via the Hello service adapter.
  • Obtains (as the return value) the results of calling the Hello service via the service adapter.
  • Edits the string (return value), and returns it to the service requester.
Hello service adapterService adapter
  • Receives a request from the Hello business process, and calls the Hello service.
  • Returns the response of the Hello service to the Hello business process.
Hello serviceWeb Service
  • In response to a call from the Hello business process, edits the entered string and returns the string to the Hello business process.