Comparison of lightweight frameworks for Java by analyzing proprietary web applications


Abstract

There are many frameworks available in the IT environment that differ in performance, security, complexity, and speed. The user who wants to start working with the selected framework should know whether it will meet the architectural requirements and business assumptions. The aim of this work is to compare the performance and complexity of web applications built using different lightweight frameworks for the Java language. Spring Boot, Micronaut, Quarkus and Javalin frameworks will be compared. At the beginning of the work, the main problems related to the creation of modern applications were discussed. In the following sections, basic analysis of the complexity of the syntax and conventions of the selected skeletons was performed. Then, experiments were conducted to compare performance - response and build times and memory consumption during application development and use. A wide cross-section of efficiency has been obtained in selected lightweight framework usages. The prepared comparison can be used to select the appropriate framework for the project.


Keywords

Spring Boot; Micronaut; Quarkus; Javalin

D. Curie, J. Jaison, J. Yadav, J. Fiona, Analysis on Web Frameworks. Journal of Physics: Conference Series, 1362 (2019) 012114 doi:10.1088/1742-6596/1362/1/012114

R. Rakshith Rao, S.R. Swamy, Review on Spring Boot and Spring Webflux for Reactive Web Development, International Research Journal of Engineering and Technology, 7(04) (2020) 3843-3837.

Opis odwrócenia sterowanie w szkielecie Spring Boot, https://www.baeldung.com/inversion-control-and-dependency-injection-in-spring , [28.02.2021].

Oficjalna dokumentacja szkieletu Spring Boot, https://docs.spring.io/spring-framework/docs/3.0.0.M3/reference/html/ch01s02.html , [28.02.2021].

Oficjalna dokumentacja szkieletu Micronaut, https://micronaut.io/docs, [28.02.2021].

Wprowadzenie do szkieletu Micronaut, https://www.baeldung.com/micronaut , [28.02.2021].

Oficjalna dokumentacja szkieletu Javalin, https://javalin.io/documentation , [28.02.2021].

M. Šipek, D. Muharemagić, B. Mihaljević, A. Radovan, Enhancing Performance of Cloud-based Software Applications with GraalVM and Quarkus, 43rd International Convention on Information, Communication and Electronic Technology, (MIPRO) (2020) 1746-1751, doi: 10.23919/MIPRO48935.2020.9245290.

Przegląd funkcjonalności szkieletu Quarkus, https://www.redhat.com/en/topics/cloud-native-apps/what-is-quarkus , [28.02.2021].

Oficjalna dokumentacja szkieletu Quarkus, https://quarkus.io/ , [28.02.2021].

Download

Published : 2021-06-30


Błaszczyk, M., Pucek, M., & Kopniak, P. (2021). Comparison of lightweight frameworks for Java by analyzing proprietary web applications. Journal of Computer Sciences Institute, 19, 159-164. https://doi.org/10.35784/jcsi.2645

Michał Błaszczyk  michal.blaszczyk@pollub.edu.pl
Marek Pucek 
Piotr Kopniak