Abstract
By the spread of Rich Internet Applications (RIAs),Web applications are becoming more convenient to use. Although there are many RIA technologies such as Ajax, JavaFX, Flex and Silverlight, by far there seems no common technique for specifying RIAs. The absence of the technique is considered inconvenient, especially when using RIAs in business. Hence, currentWeb applications heavily depend on the technology they use. Therefore, when the technology becomes obsolete, developers have to redevelop their applications by using other RIA technologies. Transforming an existing RIA to another through an intermediate representation is one of the solutions for it, but few attempts seem to have been made by this method. In this paper, we realize this, especially focusing on UI, by using an intermediate representation and a framework. The intermediate representation we propose here is in an XML format and provides an easy way of specifying a RIA for developers. The UI information is categorized into three parts: an widget part, a style part and a behavior part, which are held in a DOM tree, a CSSOM-like tree and an abstract syntax tree for ECMAScript, respectively. Moreover, the framework provides a default implementation in Java so that developers can easily extend it, if necessary. We show that the proposed method can solve the problem through an example of transforming a Web application from DHTML to JavaFX.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Adobe: Flex, http://www.adobe.com/products/flex/
Apache Software Foundation: Velocity, http://velocity.apache.org/
Ecma International: ECMAScript Language Specification 3rd edn. (1999), http://www.ecma-international.org/publications/standards/ecma-262.htm
Fraternali, P., Comai, S., Bozzon, A.: Engineering Rich Internet Applications with a Model-Driven Approach. ACM Transactions on the Web 4(2) (2010)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.M.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Professional (1994)
Marchetto, A., Ricca, F.: Transforming a Java Application in an Equivalent Web-Services Based Application: Toward a Tool Supported Stepwise Approach. Web Site Evolution (2008)
Microsoft: Silverlight, http://www.microsoft.com/silverlight/
Mozilla Foundation: XUL, https://developer.mozilla.org/En/XUL
Oracle: JavaFX, http://javafx.com/
Ping, Y., Kontogiannis, K., Lau, T.C.: Transforming Legacy Web Applications to the MVC Architecture. In: Eleventh Annual International Workshop on Software Technology and Engineering Practice (2004)
W3C: CSSOM, http://dev.w3.org/csswg/cssom/
W3C: Document Object Model (DOM) Level 2 Core Specification, http://www.w3.org/TR/DOM-Level-2-Core/
W3C: Extensible Markup Language (XML) 1.1, 2nd edn., http://www.w3.org/TR/xml11/
W3C: Modularization of XHTML, http://www.w3.org/TR/xhtml-modularization/
W3C: XForms, http://www.w3.org/TR/xforms/
W3C: XSLT, http://www.w3.org/TR/xslt
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag GmbH Berlin Heidelberg
About this chapter
Cite this chapter
Hayakawa, T., Hasegawa, S., Hikita, T. (2012). Design and Implementation of Intermediate Representation and Framework for Web Applications. In: Qian, Z., Cao, L., Su, W., Wang, T., Yang, H. (eds) Recent Advances in Computer Science and Information Engineering. Lecture Notes in Electrical Engineering, vol 125. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-25789-6_52
Download citation
DOI: https://doi.org/10.1007/978-3-642-25789-6_52
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-25788-9
Online ISBN: 978-3-642-25789-6
eBook Packages: EngineeringEngineering (R0)