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.
['Eunjung Lee', 'Kyung-Jin Seo']
Multiple asynchronous requests on a client-based mashup page