JUCS - Journal of Universal Computer Science 18(2): 286-311, doi: 10.3217/jucs-018-02-0286
RESTifying a Legacy Semantic Search System: Experience and Lessons Learned
expand article infoGuillermo Vega-Gorgojo, Eduardo Gómez-Sánchez, Miguel L. Bote-Lorenzo§, Juan I. Asensio-Pérez§
‡ Universidad de Valladolid, Valladolid, Spain§ University of Valladolid, Valladolid, Spain
Open Access
Abstract
The REST architectural style pursues scalability and decoupling of application components on target architectures, as opposed to the focus on distribution transparency of RPC-based middleware infrastructures. Ongoing debate between REST and RPC proponents evidences the need of comparisons of both approaches, as well as case studies showing the implications in the development of RESTful applications. With this aim, this paper presents a revamped RESTful version of a legacy RPC-based search system of educational tools named Ontoolsearch. The former version suffers from reduced interoperability with third-party clients, limited visibility of interactions and has some scalability issues due to the use of an RPC-based middleware. These limitations are addressed in the RESTful application as a result of applying REST constraints and using the Atom data format. Further, a benchmarking experiment showed that scalability of the RESTful prototype is superior, measuring a ∼3 times increase of peak throughput. In addition, some lessons learned on RESTful design and implementation have been derived from this work that may be of interest for future developments.
Keywords
RESTful web services, remote procedure call, semantic search, educational tools