Softwaretechnik-Kolloquium: Thiago T. Bartolomei (University of Waterloo, Canada) spricht über "Swing to SWT and Back: Patterns for API Migration by Wrapping"
Gastgeber: R. Lämmel
Thiago T. Bartolomei (University of Waterloo, Canada)
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 they tend to differ significantly. We identify the challenges faced by developers when designing wrappers for object-oriented APIs and the solutions used in practice. 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.
(Joint work with Krzysztof Czarnecki and Ralf Lämmel)
Bio of speaker:
Thiago T. Bartolomei is a PhD candidate at the Department of Electrical and Computer Engineering of the University of Waterloo, Canada. He is a member of the Generative Software Development Lab led by Prof. Krzysztof Czarnecki. He also holds a CAS PhD Fellowship with the IBM Toronto Software Laboratory. His research focuses on everything around Application Programming Interfaces (APIs): how to develop APIs, understand and use their features, verify the correctness of APIs and dependent applications and how to migrate applications across APIs.