Web Services Sample

The Web Services Sample Application demonstrates the most important steps in developing an application, in this case a home banking application, using the Web Services facilities provided by the BTT. This sample can be used as a guide by solution providers to better understand and use these facilities.

The Java source code for the application is contained in the BTT Sample Component.

The target environment for the Web Services sample is a three-tier architecture (client, server, and host layers). The following diagram shows the architecture:

At the client level, the application is restricted to performing simple tasks, such as simple validation of data entered by the user. The client, in this case, is the Web browser being used to access the application.

The server level consists of two servers, one for access and presentation (presentation server) and the other for business integration logic (business logic server). This sample application shows two ways of accessing Web Services: from an operation and from an HTML processor.

At the business integration logic level, the logic of the home banking application is located on the business logic server. Two financial operations (fund transfer and get balance) are implemented as operations on the server.

This application does not show the details of communication between the business logic server and the host, as this is not the purpose of the sample. Instead, a dummy service is used to communicate with a dummy host located on the business logic server.

As shown in the previous diagram, the Web Services Sample application is composed of the following parts:

The goal of the Web Services Sample document is to show that how to wrap and publish BTT logic as Web Services, and how to access those Web Services through the Web Service Access Component.