quick one. What is the difference between a service and a service layer?
I could not find a good answer on internet
quick one. What is the difference between a service and a service layer? I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Enterprise Application Architecture, a service layer is (quite literally) a layer of services that define the boundary from external applications (e.g. a website) to your model logic.
Multiple services can be part of the service layer. The service layer is a general concept, services are a physical implementation. The difference is kind of like saying “the banking system” vs “a bank”.
Straight from the horse’s mouth: Martin Fowler’s definition of Service Layer