What is service granularity in SOA?
What is the difference between fine and coarse granularity?
What is service granularity in SOA?
What is the difference between fine and coarse granularity?
"Service granularity" is used to measure the depth of abstraction which has been applied in services.
The granularity can be divided into two parts, being:
Example: Splitting CRUD operations from clients via WCF service into two services
CustomerService with operations / methods CreateClient (), UpdateClient () and DeleteClient ()
ServiceValidCadastroCustomer with operations / methods Validate Client (), Validate ClientValue () and ValidateExclusionCustomer
Example: Define only one service for the operations of a client CRUD via WCF service
CustomerService with operations / methods CreateClient (), UpdateClient (), DeleteClient (), ValidateCustomer (), ValidateCustomerUpgrade (), and ValidateExclusionClient