• DocumentCode
    3638366
  • Title

    Swing to SWT and back: Patterns for API migration by wrapping

  • Author

    Thiago Tonelli; Krzysztof; Ralf

  • Author_Institution
    University of Waterloo, Canada
  • fYear
    2010
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Evolving requirements may necessitate API migration—re-engineering an application to replace its dependence on one API with the dependence on another API for the same domain. One approach to API migration is to replace the original API by a wrapper-based re-implementation that makes reuse of the other API. Wrapper-based migration is attractive because application code is left untouched and wrappers can be reused across applications. The design of such wrappers is challenging though if the two involved APIs were developed independently, in which case the APIs tend to differ significantly. We identify the challenges faced by developers when designing wrappers for object-oriented APIs, and we recover the solutions used in practice. To this end, we analyze two large, open-source GUI wrappers and compile a set of issues pervasive in their designs. We subsequently extract design patterns from the solutions that developers used in the GUI wrappers.
  • Keywords
    "Wrapping","Graphical user interfaces","Containers","Java","Open source software","Adaptive arrays","XML"
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance (ICSM), 2010 IEEE International Conference on
  • ISSN
    1063-6773
  • Print_ISBN
    978-1-4244-8630-4
  • Type

    conf

  • DOI
    10.1109/ICSM.2010.5610429
  • Filename
    5610429