Advertisement

Abstract

This paper considers a client-based mashup, in which a page interacts with multiple service methods asynchronously. Browser systems execute callbacks 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.

Keywords

Web services asynchronous service calls REST callbacks 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Yu, J., et al.: Understanding mashup development. IEEE Internet Computing 12(5), 44–52 (2008)CrossRefGoogle Scholar
  2. 2.
    Koschmider, A., et al.: Elucidating the Mashup Hype: Definition, Challenges, Methodical Guide and Tools for Mashups. In: 2nd Workshop on Mashups, Enterprise Mashups and Lightweight Composition on the Web in conjunction with the 18th International World Wide Web Conference, pp. 1–9 (2009)Google Scholar
  3. 3.
    Taivalsaari: Mashware the future of web applications is software. Sun Labs Technical Report TR-2009-181 (2009)Google Scholar
  4. 4.
    Auer, S., et al.: Dbpedia: A nucleus for a web of open data. In: Aberer, K., Choi, K.-S., Noy, N., Allemang, D., Lee, K.-I., Nixon, L.J.B., Golbeck, J., Mika, P., Maynard, D., Mizoguchi, R., Schreiber, G., Cudré-Mauroux, P. (eds.) ASWC 2007 and ISWC 2007. LNCS, vol. 4825, pp. 722–735. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  5. 5.
    Ennals, R., Garofalakis, M.: MashMaker: mashups for the masses. In: Proc. SIGMOD 2007, pp. 1116–1118. ACM Press, Beijing (2007)CrossRefGoogle Scholar
  6. 6.
    Wong, J., Hong, J.: Making mashups with Marmite: Towards end-user programming for the web. In: Proceedings of the SIGCHI conference on Human factors in computing systems, San Jose, USA, pp. 1435–1444 (2007)Google Scholar
  7. 7.
    Fielding, R.T.: Architectural Styles and the Design of Network-Based Software Architectures. Doctoral dissertation, Dept. of Computer Science, Univ. of Calif., Irvine (2000)Google Scholar
  8. 8.
    Holdener III, A.: Ajax, the definitive guide. O’Reilly, Sebastopol (2008)Google Scholar
  9. 9.
    Richardson, L., Ruby, S.: RESTful Web Services. O’Reilly Media, Inc., Sebastopol (2007)Google Scholar
  10. 10.
    Lorenzo, G., Hacid, H., Paik, H., Benatallah, B.: Data integration in mashups. ACM Sigmod Record 38(1), 59–66 (2009)CrossRefGoogle Scholar
  11. 11.
    Yu, S., Woodard, J.: Innovation in the programmable web: characterizing the mashup ecosystem. In: ICSOC 2008. LNCS, vol. 5472, pp. 136–147. Springer, Heidelberg (2009)Google Scholar
  12. 12.
    Linaje, M., Preciado, J.C., Sánchez-Figueroa, F.: A Method for Model-Based Design of Rich Internet Application Interactive User Interfaces. In: Baresi, L., Fraternali, P., Houben, G.-J. (eds.) ICWE 2007. LNCS, vol. 4607, pp. 226–241. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  13. 13.
    Perez, S., Diaz, O., Melia, S., Gomez, J.: Facing interaction-rich RIAs: the orchestration model. In: Proc. of 8th International Conference on Web Engineering (ICWE), pp. 24–37 (2008)Google Scholar
  14. 14.
  15. 15.
    XForms processor from Forms Player, http://www.formsplayer.com
  16. 16.
    Apache group, Axis web services, http://ws.apache.org/axis/
  17. 17.
    Brambilla, M., et al.: Managing asynchronous web services interactions. In: Proc. IEEE International conference on Web services, pp. 80–87 (2004)Google Scholar
  18. 18.
    Puustjarvi, J.: Concurrency control in web service orchestration. In: Proc. IEEE International conference on Computer and Information Technology (CIT 2008), pp. 466–472 (2008)Google Scholar
  19. 19.
    XForms 1.1 W3C Candidate Recommandation, http://www.w3.org/TR/xforms11/
  20. 20.
    World-Wide Web Consortium standards including XML, XML Schema, and XPathGoogle Scholar
  21. 21.
    Yoo, G.: Implementation of XForms browser as an open API platform, MS thesis, Kyonggi University (2007)Google Scholar
  22. 22.
  23. 23.
    Thomas, D., Hansson, D.H.: Agile Web Development with Rails, 2nd edn. Pragmatic Bookshelf (2006)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Eunjung Lee
    • 1
  • Kyung-Jin Seo
    • 1
  1. 1.Computer Science DepartmentKyonggi UniversityKyunggy DoSouth Korea

Personalised recommendations