Journal of Web Engineering & Technology
Rest Web Services
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.Keywords
References (15)
- C. Zhang and X. Yin, "Design and implementation of single -service multifunction webservice",2011 International Conference on Computer Science and Service System (CSSS), Nanjing,2011, pp. 3912-3915.
- R.T. Fielding, "Architectural Styles and the Design of Network -based Software Architectures DISSERTATION", 2000.
- P. Adamczyk, P.H. Smith, R.E. Johnson, and Munawar Hafiz, "REST and Web Services: In Theory and in Practice", DOI 10.1007/978 -1-4419-8303-9\_2, Spring er Science + Business Media, 2011.
- Mark Massé, "Designing Consistent RESTful Web Services Interface", Published by O’Reilly Media, ISBN: 978-1-449-31050-9.
- C.H. Kao, C.C. Lin and J. Chen, "Performance Testing Framework for REST -based Web Applications", 13t h International Conference on Quality Software,2013 IEEE, DOI 10.1109/QSIC.2013.32, 2013.
- F. Haupt, F. Leymann, A. Scherer and K. Vukojevic-Haupt, "A Framework for the Structural Analysis of REST APIs", IEEE International Conference on Software Architectur e, DOI 10.1109/ICSA.2017.40, 2017.
- Munonye K and Martinek P, "Performance Analysis of the Microsoft .Net - and Java -Based Implementation of REST Web Services", IEEE 16th International Symposium on Intelligent Systems and Informatics, Subotica, Serbia, September 13-15, 2018.
- R. Sinha, M. Khatkar and S. Chand Gupta, "Design & Development of a REST based Web Service Platform for Applications Integration on Cloud", IJISET - International Journal of Innovative Science, Engineering & Technology, Vol. 1 Issue 7, September 2014.
- P. Giessler, M. Gebhart, D. Sarancin, R. Steinegger and S. Abeck “Best Practices for the Design of RESTFul Web Services," Tenth International Conference on Software Engineering Advances, Barcelona, 2015. 42 Journal of Web Engineering & Technology Volume 8, Issue 3 ISSN: 2455-1880 © STM Journals 2021. All Rights Reserved 59
- D. Qiu, B. Li and H. Leung, "Understanding the API usage in Java", Information and Software Technology, Elsevier, 2016, pp 81-100.
- F. Halili and E. Ramadani, "Web Services: A Comparison of Soap and Rest Services", Canadian Center of Science and Education, Modern Applied Science; Vol.12, No. 3; 2018. 12.
- S. Mumbaikar and Puja Padiya,"Web Services Based on SOAP and REST Principles", International Journal of Scientific and Research Publications, Volume 3, Issue 5, May 2013.
- A. Navarro, A.d. Silva, "A metamodel -based definition of a conversion m echanism between SOAP and RESTful web services", Computer Standards & Interfaces, pp.49-70,2016.
- S. Malik and S. Malik, "A Comparison of RESTful vs. SOAP Web Services in Actuator Networks", 2017 Ninth International Conference on Ubiquitous and Future Networks (ICUFN), Milan, 2017, pp. 753-755.
- M. Govindaraju, A. Slominski, K. Chiu, P. Liu, R.v. Engelen and M.J. Lewis, "Toward Characterizing the Performance of SOAP Toolkits", Fifth IEEE/ACM International Workshop on Grid Computing, Pittsburgh, PA, 2004, pp. 365-372.