Business logic and services
-
16-09-2019 - |
Question
In a three-tier/multitier architecture (UI/Logic/DAO/Domain model), can services be considered as belonging to the business logic layer or are they situated as something separate ?
Solution
You will probably find that a fairly generic word like "service" means different things to different people.
I think of a service as something that orchestrates the logic exposed by business objects (or other services) to implement a useful task (such as a business process). So, for me, a service is a consumer of the business logic layer (and probably of support aspects such as logging).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow