0 Replies Latest reply: Mar 26, 2012 8:04 AM by brutus35 RSS

    Question about service layer design

    brutus35
      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.
      Thanks