Comparative analysis of reactive and imperative approach in Java web application development

Main Article Content

DOI

Sebastian Iwanowski

sebastian.iwanowski@pollub.edu.pl

Grzegorz Kozieł

g.koziel@pollub.pl

Abstract

The subject of this study was to compare web applications created using the imperative and reactive approaches in Java. For this purpose, two applications with the same functionalities were developed using both approaches. The study looked at the performance, stability and time-consumption of implementation of each application. Based on the obtained results, it was found that the reactive application processes queries faster, uses less CPU, and is more stable in the case of handling many simultaneous requests, where the processing time is greater than 10 seconds. No significant differences were observed in using the computer's RAM by the applications. In addition, the study showed that reactive application takes more time to create.

Keywords:

imperative approach., reactive approach, web applications, Java

References

Article Details

Iwanowski, S., & Kozieł, G. (2022). Comparative analysis of reactive and imperative approach in Java web application development. Journal of Computer Sciences Institute, 24, 242–249. https://doi.org/10.35784/jcsi.2999