6.3 External Validity
External validity indicates whether it is possible to
generalize the findings of the study.
We are aware that our results can not be easily
generalized. We validated our incremental approach
and its hybrid architecture against a closed-source ap-
plication, and we can not publicly share the hybrid
architecture implementation. Moreover, we describe
a functional implementation to mix GWT and Angu-
lar GUI, but some issues might appear when mixing
GUI defined with other GUI frameworks.
However, our hybrid architecture implementation
is based on Web Components and the JSInterop li-
brary of GWT that are open-source projects. Thus, fu-
ture research can easily reuse these projects for other
hybrid architecture in a web context.
6.4 Reliability
Reliability indicates whether others can replicate our
results.
Since our case study is a closed-source applica-
tion, one can not replicate our result in the exact same
context. Moreover, we do not provide any source
code of the hybrid architecture.
To increase the reliability of our results, we per-
form the validation using standard free-to-use tools
such as Microsoft Edge and pre-built JavaScript fea-
tures. We also detailed our evaluation methods to
ease future researchers reproducing the same evalu-
ation set-up.
7 CONCLUSION AND FUTURE
WORK
In this paper, we proposed a hybrid architecture that
enables the migration of large and complex GUI ap-
plications. In particular, it deals with the communica-
tion, the type matching, and the GUI mixing issues.
The hybrid architecture can be reused for other
web-based GUI migrations. Web Components can
be used for other migration projects since it is nowa-
days a standard feature. However, future research
should pay attention to the communication and the
type matching issues that still might require specific
work depending on the GUI frameworks.
We implemented our hybrid architecture to enable
the integration of Angular pages inside a GWT appli-
cation. It allows us to successfully perform the mi-
gration of an industrial project and gives good perfor-
mance results.
Future work includes the implementation of our
hybrid architecture to perform other GUI migrations.
For example, we plan to migrate a large AngularJS
application to Angular. We also plan to enable An-
gular features such as lazy loading and ahead-of-
time compilation and evaluate their impact on perfor-
mance.
REFERENCES
Chisnall, D. (2013). The challenge of cross-language inter-
operability. Communications of the ACM, 56(12):50–
56.
Comella-Dorda, S., Wallnau, K., Seacord, R. C., and
Robert, J. (2000). A survey of legacy system mod-
ernization approaches. Technical report, Carnegie-
Mellon univ pittsburgh pa Software engineering inst.
Flores-Ruiz, S., Perez-Castillo, R., Domann, C., and Puica,
S. (2018). Mainframe migration based on screen
scraping. In 2018 IEEE International Conference on
Software Maintenance and Evolution (ICSME), pages
675–684. IEEE.
Kontogiannis, K., Martin, J., Wong, K., Gregory, R.,
Müller, H., and Mylopoulos, J. (2010). Code migra-
tion through transformations: An experience report.
In CASCON First Decade High Impact Papers, pages
201–213. Unknown.
Polito, G., Ducasse, S., Tesone, P., and Brunzie, T. (2020).
Unified ffi - calling foreign functions from pharo.
Robillard, M. P. and Kutschera, K. (2019). Lessons learned
while migrating from swing to javafx. IEEE Software,
37(3):78–85.
Runeson, P. and Höst, M. (2009). Guidelines for Con-
ducting and Reporting Case Study Research in Soft-
ware Engineering. Empirical software engineering,
14(2):131–164.
Sánchez Ramón, O., Sánchez Cuadrado, J., and Gar-
cía Molina, J. (2014). Model-driven reverse engineer-
ing of legacy graphical user interfaces. Automated
Software Engineering, 21(2):147–186.
Sneed, H. M. et al. (2006). Wrapping legacy software for
reuse in a soa. In Multikonferenz Wirtschaftsinfor-
matik, volume 2, pages 345–360. Citeseer.
Teppe, W. (2009). The arno project: Challenges and expe-
riences in a large-scale industrial software migration
project. In 2009 13th European Conference on Soft-
ware Maintenance and Reengineering, pages 149–
158. IEEE.
Terekhov, A. A. and Verhoef, C. (2000). The realities of lan-
guage conversions. IEEE Software, 17(6):111–124.
Verhaeghe, B., Anquetil, N., Etien, A., Ducasse, S., Seriai,
A., and Derras, M. (2021). GUI visual aspect migra-
tion: a framework agnostic solution. Automated Soft-
ware Engineering, 28(2):6.
Zhang, B., Bao, L., Zhou, R., Hu, S., and Chen, P. (2008).
A black-box strategy to migrate gui-based legacy sys-
tems to web services. In 2008 IEEE International
Symposium on Service-Oriented System Engineering,
pages 25–31. IEEE.
ICSOFT 2022 - 17th International Conference on Software Technologies
110