0 Replies Latest reply on Mar 26, 2012 1:04 PM by brutus35

    Question about service layer design

      I have a question about the design/architecture of service model layers, specifically the task service layer.

      Could a task service be a small "action", ie an operation that doesn't require composition? So if I have a requirement to allow customers to update their personal info, like address, would I have a task service named ChangeCustomerMailingAddress, that in turn calls the update operation on the Customer entity? Or would it be better to call the entity service directly? Another example would be retrieving data, like RetrieveCustomerBillingHistory, would that be a separate task service, or just a get/read operation on the Customer entity service?

      Any insight is appreciated.