Rest Web Services

Authors

  • Alok Mishra

Keywords:

API, Web Services, Access Protocol, Simple Object Access Protocol, Representational State Transfer

Abstract

Web Services are a collection of open protocols and standards that allow clients and servers to communicate with one another. It enables interoperability between disparate applications. Representational State Transfer (REST) and Simple Object Access Protocol (SOAP) are the two most widely used web services today (SOAP). REST is a style of architecture, whereas SOAP is an underlying protocol. Both services are used to manage communication on the internet (www). Both services have advantages and disadvantages, and it is up to the web developer to decide which service is best to use based on their needs. The purpose of this investigation is to develop a REST API and a SOAP API using JAX-RS and JAX-WS, respectively, and to provide a comparison of features (in terms of response time, memory usage, execution speed, and so on) can be tested using an API testing tool such as Postman. This provides an insight into which service is better to use based on the requirements. Experiment results show that SOAP's response time is approximately 4ms to 7ms longer than REST's. SOAP consumes approximately 1MB to 2MB more memory than REST as the number of APIs increases. Architectural style, JAX-RS, JAX-WS, Jersey, Postman, Protocol, REST, SOAP, Tomcat, Web service are some of the terms used in this index.

Published

02/22/2022

How to Cite

Mishra, A. . (2022). Rest Web Services. JOURNAL OF WEB ENGINEERING &Amp; TECHNOLOGY, 8(3), 41–59. Retrieved from https://stmcomputers.stmjournals.com/index.php/JoWET/article/view/172