Skip to main navigation Skip to search Skip to main content

Migration of web applications with seamless execution

  • Seoul National University

Research output: Contribution to conferenceConference paperpeer-review

Abstract

Web applications (apps) are programmed using HTML5, CSS, and JavaScript, and are distributed in the source code format. Web apps can be executed on any devices where a web browser is installed, allowing one-source, multi-platform environment. We can exploit this advantage of platform independence for a new user experience called app migration, which allows migrating an app in the middle of execution seamlessly between smart devices. This paper proposes such a migration framework for web apps where we can save the current state of a running app and resume its execution on a different device by restoring the saved state. We save the web app's state in the form of a snapshot, which is actually another web app whose execution can restore the saved state. In the snapshot, the state of the JavaScript variables and DOM trees are saved using the JSON format. We solved some of the saving/restoring problems related to event handlers and closures by accessing the browser and the JavaScript engine internals. Our framework does not require instrumenting an app or changing its source code, but works for the original app. We implemented the framework on the Chrome browser with the V8 JavaScript engine and successfully migrated non-Trivial sample apps with reasonable saving and restoring overhead. We also discuss other usage of the snapshot for optimizations and user experiences for the web platform.

Original languageEnglish
Title of host publicationVEE 2015 - Proceedings of the 11th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
PublisherAssociation for Computing Machinery, Inc
Pages173-185
Number of pages13
ISBN (Electronic)9781450334501
DOIs
StatePublished - 2015.03.14
Event11th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2015 - Istanbul, Turkey
Duration: 2015.03.142015.03.15

Publication series

NameVEE 2015 - Proceedings of the 11th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments

Conference

Conference11th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2015
Country/TerritoryTurkey
CityIstanbul
Period15.03.1415.03.15

Keywords

  • App migration
  • DOM
  • JavaScript
  • JSON
  • Snapshot
  • Web application

Fingerprint

Dive into the research topics of 'Migration of web applications with seamless execution'. Together they form a unique fingerprint.

Cite this