Scenarios: TCP/IP
Two scenarios illustrate how TCP/IP might be used as part of a business solution.
Expense submission
Scenario:
A company has an expense-submission system based on a central expense-processing application, which receives completed expense forms from end users. The users complete the forms by using a local application, which stores the form until it is completed. When it has been completed, the form is transferred to the central system where it is processed. Any further notifications are sent to the user by email.
How TCP/IP is used:
One client application exists for each end user, and one central application processes all the expense forms. Each client application connects to a TCP/IP server port on the server application and sends the expense form in a fixed-field-size structure similar to a COBOL structure. The flow of processing is:
- The user enters information into the form in the client expense application.
- The user submits the completed form and the client application connects to the server.
- The client application sends the data to the server and receives an acknowledgment.
- The connection is closed by the client.
Price-change notification
Scenario:
A company has a central server, which stores the catalog price of everything that the company sells. This information is required by all Point of Sale (PoS) terminals in all the stores, and each PoS terminal must be notified when any price changes. The PoS terminals connect to the central server and wait for any process changes. The server sends any process changes to all connected client applications.
How TCP/IP is used:
- When the PoS application starts, it connects to the central server.
- Whenever the server has a new price, it publishes it to all the connected clients.
- The PoS stays connected until it shuts down.
See Scenarios: IBM App Connect Enterprise using TCP/IP for an example of how these scenarios can be modified to use IBM App Connect Enterprise.