Since Web 2.0 is using XML/JSON as data transformation format and HTTP as communication protocol, the Bank Transformation Toolkit (BTT) provides Web 2.0 request handler and Web 2.0 presentation handler based on BTT presentation layer architecture to support Web 2.0 request.
The following diagram shows the Web 2.0 request handling sequence:
The client uses AJAX engine (such as Dojo) to post the data to the server side in XML/JSON data format; then the channel framework parses the request data and transforms XML/JSON format data into the BTT context by the BTT XML/JSON formatter. Finally it calls the BTT operation. After the BTT operation execution, Web 2.0 channel framework transforms BTT operation context to XML/JSON format data and sends it back to the client.
In order to process the XML/JSON data format, it is necessary to enhance the XML formatter and provide the JSON formatter. BTT only provides Web 2.0 support to the server side, but you can use some popular open source AJAX frameworks such as DOJO to implement the client side.