Service granularity considerations based on data properties of interface parameters
- Publication Type:
- Journal Article
- Computer Systems Science and Engineering, 2006, 21 (4), pp. 315 - 320
- Issue Date:
Service granularity is a key determinant of the reusability and maintainability of services. It is evident that mapping existing components directly to Web Services leads to suboptimal design with large number of message exchanges and correspondingly increased risk of partial failures. Most practitioners recommend the use of coarse-grained, message-oriented Web Service that minimize the number of messages and avoid the need to maintain state information between invocations. In this paper we argue that excessive use of coarse-grained, document-centric message structures results in poor reusability and high levels of data coupling between services. We describe a design approach that provides a framework for making decisions about service granularity based on data properties of interface parameters. We treat the problem of service interface design from a data engineering perspective and use data normalization to reason about service granularity. We consider the impact of increasing service granularity on cohesion and coupling of services and discuss the associated design tradeoffs. © 2006 CRL Publishing Ltd.
Please use this identifier to cite or link to this item: