Capítulo de livro Acesso aberto Revisado por pares

A Code Migration Framework for AJAX Applications

2006; Springer Science+Business Media; Linguagem: Inglês

10.1007/11773887_11

ISSN

1611-3349

Autores

Arno Puder,

Tópico(s)

Web Applications and Data Management

Resumo

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.

Referência(s)