TechRxiv
spring-react-ieee.pdf (597.75 kB)

Engineering testable and maintainable software with Spring Boot and React

Download (597.75 kB)
preprint
posted on 13.08.2021, 19:02 by Conor MuldoonConor Muldoon, Levent Görgü, John J. O’Sullivan, Wim G. Meijer, Bartholomew Masterson, Gregory M. P. O’Hare
The paper discusses practices and patterns for the development of maintainable and testable software using the React and Spring Boot frameworks. There have been many textbooks written on both React and Spring Boot, but little in the way of comprehensive research studies and critical analyses in the literature. 

The paper draws from a well-known software development guideline for encapsulation and modularity, namely the `Law of Demeter’, but differs from it in a number of ways. It extends the application of the principle of least knowledge to non-pure object-oriented programming languages, first-class JavaScript functions, and the properties of React components. Additionally, it introduces component closure factories, which address the prop drilling problem in React. Component closure factories differ from other solutions to this problem that make state global and make it more difficult to reuse components. Providing guidelines in relation to the development of testable React and Spring Boot applications is important in that these technologies are widely used in industry.

In addition to the principle of least knowledge and component closure factories, the paper discusses a number of supplementary practices and provides a case study.

Funding

European Regional Development Fund through the Ireland Wales Cooperation programme.

History

Email Address of Submitting Author

conor.muldoon@ucd.ie

ORCID of Submitting Author

https://orcid.org/0000-0003-1381-2561

Submitting Author's Institution

University College Dublin

Submitting Author's Country

Ireland

Usage metrics

Licence

Exports