Java HTTP Client for Web Applications

Saved in:
Bibliographic Details
Title: Java HTTP Client for Web Applications
Authors: Priyanka Gowda Ashwath Narayana Gowda
Publisher Information: Journal of Scientific and Engineering Research
Publication Year: 2022
Collection: Zenodo
Subject Terms: Java, HTTP, Web Applications, HttpClient, HTTP/2
Description: This paper aims to discuss HTTP clients in Java-based web applications, with peculiar reference to HTTP URL Connection, Apache HttpClient, and OkHttp. They are all compared concerning their features, performance, and the right ways of using them. An evaluation of the features shows that where there are complex tasks involved, Apache HttpClient has better features than OkHttp but, when handling multiple calls at a time and HTTP/2, OkHttp performs better. Real-life examples and best-case scenarios show clients’ potential and boundaries. The results point the way for developers to choose the most suitable HTTP client, fine-tune the web app, and implement secure data transfer. This analysis shows that there is a need to select the right client depending on the offered ap-plication needs and performance parameters.
Document Type: article in journal/newspaper
Language: unknown
ISSN: 2394-2630
Relation: https://zenodo.org/records/13347860; oai:zenodo.org:13347860; https://doi.org/10.5281/zenodo.13347860
DOI: 10.5281/zenodo.13347860
Availability: https://doi.org/10.5281/zenodo.13347860
https://zenodo.org/records/13347860
Rights: Creative Commons Attribution 4.0 International ; cc-by-4.0 ; https://creativecommons.org/licenses/by/4.0/legalcode
Accession Number: edsbas.D2BE8F20
Database: BASE
Description
Abstract:This paper aims to discuss HTTP clients in Java-based web applications, with peculiar reference to HTTP URL Connection, Apache HttpClient, and OkHttp. They are all compared concerning their features, performance, and the right ways of using them. An evaluation of the features shows that where there are complex tasks involved, Apache HttpClient has better features than OkHttp but, when handling multiple calls at a time and HTTP/2, OkHttp performs better. Real-life examples and best-case scenarios show clients’ potential and boundaries. The results point the way for developers to choose the most suitable HTTP client, fine-tune the web app, and implement secure data transfer. This analysis shows that there is a need to select the right client depending on the offered ap-plication needs and performance parameters.
ISSN:23942630
DOI:10.5281/zenodo.13347860