In this exercise, you create the Citybank integration design layer. The integration design layer describes the integration between the external CityBank system that verifies PiggyBank transactions and the PiggyBank. The integration design layer is part of the realization of the Cash Check use case.
The PiggyBank relies on the CityBank to verify transactions. The CityBank provides the service to the PiggyBank by providing an external interface to the CityBank banking system. The CityBank integration layer describes the integration between the PiggyBank online banking application and the CityBank transaction verification interface. The integration component, which builds on information from the analysis model, is based on the data acess object (DAO) pattern.
The CityBank integration layer consists of the CityBank component specification, which implements the CityBank interface, and the CityBankDataAccessObject which is the wrapper for the CityBank integration component.
The CityBank data access object is the wrapper for the CityBank integration component. The CityBank data access object contains the checkCityBankAccount operation that verifies whether or not the CityBank bank account contains enough money to cash the check.
The CityBank Web service component represents the CityBank transaction verification service that the PiggyBank uses each time that a check is cashed.
You have created the CityBank integration layer. Note that the signatures of the operations match in the CityBankDataAccessObject and the CityBank Web service component that implements the CityBank interface. Your diagram should look similar to the following figure:
To continue, proceed to Exercise 3.4: Creating the package structure of the business design layer.