The next step is to decide which toolkit services will be used
to perform the operation flow. The Base Sample Application uses the
following services:
- LU0 Connector. This service is used to send and receive
formatted data from the host. In this sample, a dummy LU0 service
is used.
- Electronic Journal. This service keeps information about
the operations performed. In this sample, a dummy journal service
is used.
- Client/Server Service. On the client side, this service
is in charge of establishing a session with the server side. On the
server side, it is responsible for waiting for incoming requests during
the session.
- Communications Pool Service. This service manages the pool
of communication connections, which in this case are LU0 connections.
- Generic Pool Service. This service manages the pool of
journal connections.
To test the application during the development phase, dummy services
can be built to simulate the behavior of the real environment. The
sample application uses the following two dummy services:
- DummyLu0Session is a dummy for the LU0 service.
- DummyDb2Journal is a dummy for the Electronic Journal service.
Dummy services are usually used for testing the whole application
without having the real environment working. By generating two different
sets of runtime files, one for working with dummy services and the
other for working with the real services, developers can switch easily
from one to the other depending on their needs.