AJAX (Asynchronous JavaScript and XML) defines a new paradigm for writing highly interactive web applications. Prominent web sites such as Google Maps have made AJAX popular. Writing AJAX applications requires intimate knowledge of JavaScript since it is difficult to write cross-browser portable JavaScript applications. In this paper we first discuss the benefits of AJAX compared to other technologies such as Java applets. Then we propose a code migration framework that allows the programmer to write AJAX applications in Java. The Java application is automatically translated to JavaScript and migrated to the browser for execution. Our approach requires no knowledge of JavaScript. As web applications are written in Java, the developer benefits from powerful debugging tools that are not available for JavaScript. We have implemented a prototype that demonstrates the feasibility of our ideas. The prototype is available under an Open Source license.


Virtual Machine Java Virtual Machine Java Application Internet Explorer Java Runtime Environment 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 1.
    CreamTec, LLC. WebCream,
  2. 2.
    Dahm, M.: Byte code engineering. Java Informations Tage, 267–277 (1999)Google Scholar
  3. 3.
    European Computer Manufacturers Association. ECMAScript Language Specification,
  4. 4.
    Gallagher, N.: Simple - A Java HTTP engine,
  5. 5.
    Garrett, J.: Ajax: A New Approach to Web Applications,
  6. 6.
    Koch. P.-P.: Writing Portable JavaScript,
  7. 7.
  8. 8.
  9. 9.
    WebSideStory. U.S. Browser Usage Share,

Copyright information

© IFIP International Federation for Information Processing 2006

Authors and Affiliations

  • Arno Puder
    • 1
  1. 1.Computer Science DepartmentSan Francisco State UniversitySan Francisco

Personalised recommendations