Skip to main content

Design and Implementation of Intermediate Representation and Framework for Web Applications

  • Chapter
  • First Online:
Recent Advances in Computer Science and Information Engineering

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 125))

  • 127 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Adobe: Flex, http://www.adobe.com/products/flex/

  2. Apache Software Foundation: Velocity, http://velocity.apache.org/

  3. Ecma International: ECMAScript Language Specification 3rd edn. (1999), http://www.ecma-international.org/publications/standards/ecma-262.htm

  4. Fraternali, P., Comai, S., Bozzon, A.: Engineering Rich Internet Applications with a Model-Driven Approach. ACM Transactions on the Web 4(2) (2010)

    Google Scholar 

  5. Gamma, E., Helm, R., Johnson, R., Vlissides, J.M.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley Professional (1994)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Microsoft: Silverlight, http://www.microsoft.com/silverlight/

  8. Mozilla Foundation: XUL, https://developer.mozilla.org/En/XUL

  9. Oracle: JavaFX, http://javafx.com/

  10. 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)

    Google Scholar 

  11. W3C: CSSOM, http://dev.w3.org/csswg/cssom/

  12. W3C: Document Object Model (DOM) Level 2 Core Specification, http://www.w3.org/TR/DOM-Level-2-Core/

  13. W3C: Extensible Markup Language (XML) 1.1, 2nd edn., http://www.w3.org/TR/xml11/

  14. W3C: Modularization of XHTML, http://www.w3.org/TR/xhtml-modularization/

  15. W3C: XForms, http://www.w3.org/TR/xforms/

  16. W3C: XSLT, http://www.w3.org/TR/xslt

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tomokazu Hayakawa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics