A Web 2.0 client is generally used for a home banking application built
to use the Bank Transformation Toolkit. The client machine requires only a
Web Browser to run the application. A Web 2.0 Channel is used on the server
to process the client's request. When the user visits the start page of the
application and logs in, the browser displays a menu with a list of available
operations. A detailed sequence of the events in runtime is as follows:
- The user performs a Customer Search.
- The user selects the Customer Search operation by clicking a link on the
client desktop. This user action sends an XML request to the server servlet.
The request XML includes the name of the operation that will be executed.
- On the server side, the Web 2.0 request handler will parse the XML request
and call the operation to execute the business logic.
- The Customer Search business operation is executed on the application
server.
- On the server side, the request handler will generate the channel context,
parse the request XML and call the operation.
- As part of the execution of the server operation, a customer search transaction
request is sent to the host. When the host returns a reply, the message is
unformatted into the server operation context.
- The execution of the server operation finishes.
- The client view displays a list of customers matching the search criteria.
- The result will be formatted to an XML and will be sent to the client.
- The client parses the XML that contains the Customer Search results and
updates the client view.
- The user selects a customer and clicks Submit,
which performs a Customer Details operation.
- The user action on the GUI sends a new XML request. The request data contains
the operation and the selected customer.
- The Web 2.0 request handler executes the Customer Details server operation.
- The client displays the details in a panel.
- The XML reply contains customer information that is formatted from the
operation context, which was updated with data from the host reply.
- The client parses the XML that contains the Customer Details results and
updates the client view.