Abstract
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.
The original version of this chapter was revised: The copyright line was incorrect. This has been corrected. The Erratum to this chapter is available at DOI: 10.1007/978-3-540-35127-6_28
Chapter PDF
References
CreamTec, LLC. WebCream, http://www.creamtec.com/webcream/
Dahm, M.: Byte code engineering. Java Informations Tage, 267–277 (1999)
European Computer Manufacturers Association. ECMAScript Language Specification, http://www.ecma-international.org/publications/standards/Ecma-262.htm
Gallagher, N.: Simple - A Java HTTP engine, http://sourceforge.net/projects/simpleweb/
Garrett, J.: Ajax: A New Approach to Web Applications, http://www.adaptivepath.com/publications/essays/archives/000385.php
Koch. P.-P.: Writing Portable JavaScript, http://www.quirksmode.org/
Lee, T.H.: SwingWeb, http://swingweb.sourceforge.net/swingweb/
Petrola, F.: WebOnSwing, http://webonswing.sourceforge.net/xoops/
WebSideStory. U.S. Browser Usage Share, http://www.websidestory.com/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 IFIP International Federation for Information Processing
About this paper
Cite this paper
Puder, A. (2006). A Code Migration Framework for AJAX Applications. In: Eliassen, F., Montresor, A. (eds) Distributed Applications and Interoperable Systems. DAIS 2006. Lecture Notes in Computer Science, vol 4025. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11773887_11
Download citation
DOI: https://doi.org/10.1007/11773887_11
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-35126-9
Online ISBN: 978-3-540-35127-6
eBook Packages: Computer ScienceComputer Science (R0)