In: Computer Science
(SOA) and (ROA) are architectural patterns for the development of distributed systems that transforms resources into software services. Which of the two architecture is more suitable to develop RESTful web services? Briefly justify your answer.
Service-oriented architecture (SOA) provides methods for systems development and integration where systems package functionality as interoperable services. REST is only a very specific use case of SOA. The essential focus of SOA is to separate functions or automation services. An example here is to separate an authentication service from authorisation, login , sign out etc. A SOA architecture that consists of a number of SOA services assembles such functionalities into one feature consistent whole. But in REST ,the function set is likely to remain consistent. Resource Oriented Architecture (or, ROA) is a specific set of guidelines of an implementation of the REST architecture. REST describes a series of architectural constraints that exemplify how the web's design emerged. Since ROA is a set of guidelines of an implementation of a REST architecture, it is likely that REST is consistent with ROA