Multiple asynchronous requests on a client-based mashup page

  • Authors:
  • Eunjung Lee;Kyung-Jin Seo

  • Affiliations:
  • Computer Science Department, Kyonggi University, Suwon, Kyunggy Do, South Korea;Computer Science Department, Kyonggi University, Suwon, Kyunggy Do, South Korea

  • Venue:
  • AST/UCMA/ISA/ACN'10 Proceedings of the 2010 international conference on Advances in computer science and information technology
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper considers a client-based mashup, in which a page interacts with multiple service methods asynchronously. Browser systems execute call-backs when the corresponding reply arrives, which can potentially be concurrent to user interface actions. In this case, callbacks and user interface actions share data memory and the screen. Furthermore, when the user sent multiple requests, the shared resource problem becomes more complex due to multiple callbacks. To solve the problem of multiple requests, we adopted the following approach. First, we modeled a mashup page with user actions and callbacks, and presented several types of callbacks. Secondly, we defined the concurrency conditions between callbacks and user actions in terms of shared resources. In addition, we proposed a serialization approach to guarantee the safe execution of callbacks. Finally, we applied the proposed concurrency condition to XForms language, and extended the XForms browser to implement the proposed approach. The prototype implementation showed that the proposed approach enable better user experience on mashup pages.