Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
10.55041/IJSREM11316
Volume:
5 |
12 |
Dec 2021
Pages:
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
As modern web applications continue to evolve, secure and scalable APIs have become essential building blocks for dynamic, data-driven platforms. Java Spring Boot, renowned for its developer-friendly approach and extensive ecosystem serves as a common foundation for implementing microservice APIs. Two prominent architectural styles, RESTful and GraphQL, each offer distinct approaches to request handling, data fetching, and schema management in a microservices or distributed environment. This paper presents an extensive study of REST vs. GraphQL for developing secure and scalable APIs in Spring Boot, focusing on performance, data modeling, ease of adoption, and real-world pitfalls. We examine security best practices covering authentication, authorization, and data encryption while highlighting scaling techniques such as load balancing, container orchestration, and caching. Through diagrams, code snippets, and references to real-world scenarios, we provide a practical guide for architects and developers aiming to choose the right approach. In doing so, we also discuss known anti-patterns that undermine security or hamper throughput, and propose best practices to ensure robust, future-proof APIs.
KEYWORDS
Publication Date
12/28/2021
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
3
Total views since publication
PDF Downloads
5
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...